<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Beancounters' guide to technology &#187; Not quite so simple</title>
	<atom:link href="http://beancountersguide.co.uk/category/level/not-quite-so-simple/feed/" rel="self" type="application/rss+xml" />
	<link>http://beancountersguide.co.uk</link>
	<description>Helping accountants and fellow professionals turn the IT millstone into a surfboard</description>
	<lastBuildDate>Fri, 20 Jan 2012 15:31:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='beancountersguide.co.uk' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Beancounters' guide to technology &#187; Not quite so simple</title>
		<link>http://beancountersguide.co.uk</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://beancountersguide.co.uk/osd.xml" title="Beancounters&#039; guide to technology" />
	<atom:link rel='hub' href='http://beancountersguide.co.uk/?pushpress=hub'/>
		<item>
		<title>Word and numbering 2 &#8211; outline numbering</title>
		<link>http://beancountersguide.co.uk/2007/08/08/word-and-numbering-2-outline-numbering/</link>
		<comments>http://beancountersguide.co.uk/2007/08/08/word-and-numbering-2-outline-numbering/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 16:28:39 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Level]]></category>
		<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://kitss.wordpress.com/2007/08/08/word-and-numbering-2-outline-numbering/</guid>
		<description><![CDATA[In the first part of this short series we looked at simple numbered lists in Word. In this concluding part we will look at some of the important issues surrounding the use of Outline Numbering. First of all, some information &#8230; <a href="http://beancountersguide.co.uk/2007/08/08/word-and-numbering-2-outline-numbering/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=147&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">In the first part of this short series we looked at simple numbered lists in Word. In this concluding part we will look at some of the important issues surrounding the use of Outline Numbering.</p>
<p class="MsoNormal"><span>First of all, some information on the general uses of Word outlines. Word outlines involve allocating paragraphs to different levels. So a main heading might be level 1, the sub-heading level 2, sub-subheading level 3 and so on to level 9. Standard paragraphs of text would not have a level, but would be ‘body’ text. Once these levels are established, they can be used to quickly re-arrange a document or to automatically create a table of contents. In addition, and with particular relevance to our numbering issue, they can be used to automatically create and maintain numbering throughout an entire document.</span></p>
<p class="MsoNormal"><a href="http://kitss.files.wordpress.com/2007/08/word-outline-1.gif" title="Outline example"><img src="http://kitss.files.wordpress.com/2007/08/word-outline-1.gif?w=500" alt="Outline example" /></a></p>
<p class="MsoNormal"><span id="more-147"></span></p>
<h2> Outlines and numbering</h2>
<p class="MsoNormal">As shown by the animation, the levels are linked to specific numbering formats, so that a level one paragraph will be numbered 1., 2. etc, whilst level 2 will be 1.1,1.2 and level three 1.1.1, 1.1.2. We have achieved this by modifying the built in ‘Heading’ styles to incorporate outline numbering. Note that the top three levels of built in heading style each have a default keyboard shortcut:</p>
<table class="MsoTableGrid" style="border:medium none;border-collapse:collapse;" border="1" cellpadding="0" cellspacing="0">
<tr>
<td style="border:1pt solid windowtext;width:121.8pt;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Control+alt+1</p>
</td>
<td style="width:121.85pt;border-color:windowtext windowtext windowtext #000000;border-style:solid solid solid none;border-width:1pt 1pt 1pt medium;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Heading 1</p>
</td>
</tr>
<tr>
<td style="width:121.8pt;border-color:#000000 windowtext windowtext;border-style:none solid solid;border-width:medium 1pt 1pt;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Control+alt+2</p>
</td>
<td style="width:121.85pt;border-style:none solid solid none;border-width:medium 1pt 1pt medium;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Heading 2</p>
</td>
</tr>
<tr>
<td style="width:121.8pt;border-color:#000000 windowtext windowtext;border-style:none solid solid;border-width:medium 1pt 1pt;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Control+alt+3</p>
</td>
<td style="width:121.85pt;border-style:none solid solid none;border-width:medium 1pt 1pt medium;padding:0 5.4pt;" valign="top" width="162">
<p class="MsoNormal" style="margin:3pt 0;">Heading 3</p>
</td>
</tr>
</table>
<p class="MsoNormal" style="margin-top:6pt;">The method of working with styles has changed slightly from Word XP onwards. In the most recent versions of Word, styles can be viewed in the ‘task pane’ and can also be selected for modification by clicking the drop-down button that appears to the right of the selected style when you hover over it in the task pane. The drop-down includes the ‘Modify’ option which opens the style dialog – press the ‘Format’ button to change the format of the style. In Word 2000 and before, you choose Format, Style from the menu to open the style dialog and then click the ‘Modify’ button, and then the ‘Format’ button to change your style. Here are the settings for our ‘Heading 1’ style in Word 2007:</p>
<p class="MsoNormal" style="margin-top:6pt;"><a href="http://kitss.files.wordpress.com/2007/08/style1.jpg" title="Modify style"><img src="http://kitss.files.wordpress.com/2007/08/style1.jpg?w=500" alt="Modify style" /></a></p>
<p class="MsoNormal" style="margin-top:6pt;">&nbsp;</p>
<p class="MsoNormal">Note that it is set to be ‘Outline numbered’ at level 1. To review or change the numbering in versions of Word prior to 2007, choose Format, and then ‘Numbering’ and for outline numbering choose the ‘Outline numbering’ tab then click on the &#8216;Customize&#8217; button.</p>
<p class="MsoNormal"> <span style="color:#0033cc;">Word 2007 – Home-Paragraph, &#8216;Multilevel List&#8217; button dropdown, then choose the list closest to what you want then click on &#8216;Define new Multilevel list…&#8217;)</span></p>
<p class="MsoNormal"><a href="http://kitss.files.wordpress.com/2007/08/customise1.jpg" title="Multilevel list dropdown"><img src="http://kitss.files.wordpress.com/2007/08/customise1.jpg?w=500" alt="Multilevel list dropdown" /></a></p>
<p class="MsoNormal"><span style="color:#0033cc;"> </span>Click on the <span style="color:#0033cc;"></span>&#8216;More/Less&#8217; button to display the full details, the screens are organised slightly differently between the different versions, but you should find all the same elements are there.</p>
<p class="MsoNormal"> <a href="http://kitss.files.wordpress.com/2007/08/level3.jpg" title="Outline levels"><img src="http://kitss.files.wordpress.com/2007/08/level3.jpg?w=500" alt="Outline levels" /></a></p>
<p class="MsoNormal">You can allocate styles to each of the required levels. Click on the <span style="color:red;">outline level</span> in the &#8216;Preview&#8217; or &#8216;Level&#8217; box and then, <span style="color:red;">in the &#8216;Link Level to style&#8217; box</span>, choose the appropriate heading style. You can set all the level/style links from the customize screen of the &#8216;Heading 1&#8242; style.</p>
<h2><strong>Table of contents</strong></h2>
<p class="MsoNormal" style="margin-bottom:0.0001pt;">One of the advantages of using outline numbering is the ease with which you can add a table of contents to your document. Just choose Insert-Reference-Index and Tables <span style="color:#0033cc;">(Word 2007: References-Table of Contents-Insert Table of Contents…) </span>then, from the &#8216;Table of Contents&#8217; tab, choose how many levels to include in the table and how it should be formatted. <span></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;"><a href="http://kitss.files.wordpress.com/2007/08/toc.jpg" title="Insert table of contents"><img src="http://kitss.files.wordpress.com/2007/08/toc.jpg?w=500" alt="Insert table of contents" /></a></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;"><span>Once created, the table of contents can be updated by right-clicking anywhere within it and choosing ‘Update field’. Alternatively, you can set your print options so that all fields in a document are updated prior to it being printed. Choose Tools, Options then click on the Print tab <span style="color:#0033cc;">(Word 2007: Word Options-Display-Printing Options) </span>and check that ‘Update fields <span style="color:#0033cc;">before printing</span>’ is selected.</span></p>
<h2><strong>Cross references</strong></h2>
<p class="MsoNormal"><span>Outline numbering also makes it easy to insert cross-references which can be updated automatically. Click where in the document you want to insert the cross-reference then go to Insert-Reference-Cross Reference <span style="color:#0033cc;">(Word 2007: References-Cross-reference)</span>. Select the ‘Numbered item’ option from the &#8216;Reference type&#8217; list, and ‘Paragraph number’ from the &#8216;Insert Reference to:&#8217; list. You can then choose the item that you want to cross-refer to and click click the ‘Insert’ button. Word will insert a reference to the paragraph number that will be updated if the numbers change. Well sort of. Actually the number won’t be updated until you use the ‘update field’ command on the cross-reference field, or on a selection that includes the field. This isn’t necessarily as bad as it sounds. You can select the whole document (CTRL-A) and then use the update field shortcut key ‘F9’ to update all the fields in the document in one go or set the &#8216;Update fields before printing&#8217; option as described above.</span></p>
<p class="MsoNormal"><a href="http://kitss.files.wordpress.com/2007/08/cross-ref.jpg" title="Insert cross reference field"><img src="http://kitss.files.wordpress.com/2007/08/cross-ref.jpg?w=500" alt="Insert cross reference field" /></a></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/147/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/147/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/147/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/147/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/147/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=147&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/08/08/word-and-numbering-2-outline-numbering/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/word-outline-1.gif" medium="image">
			<media:title type="html">Outline example</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/style1.jpg" medium="image">
			<media:title type="html">Modify style</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/customise1.jpg" medium="image">
			<media:title type="html">Multilevel list dropdown</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/level3.jpg" medium="image">
			<media:title type="html">Outline levels</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/toc.jpg" medium="image">
			<media:title type="html">Insert table of contents</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/08/cross-ref.jpg" medium="image">
			<media:title type="html">Insert cross reference field</media:title>
		</media:content>
	</item>
		<item>
		<title>Excel, the LBW law, range names, form controls and logical formulae</title>
		<link>http://beancountersguide.co.uk/2007/06/18/excel-the-lbw-law-range-names-form-controls-and-logical-formulae/</link>
		<comments>http://beancountersguide.co.uk/2007/06/18/excel-the-lbw-law-range-names-form-controls-and-logical-formulae/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 09:33:46 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[I don't believe IT]]></category>
		<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>

		<guid isPermaLink="false">http://kitss.wordpress.com/2007/06/18/excel-the-lbw-law-range-names-form-controls-and-logical-formulae/</guid>
		<description><![CDATA[Nearly two years ago I was running an advanced Excel course and needed to create an example of the use of Excel&#8217;s logical functions. Given that most of the people we train work in accountancy, our examples are usually based &#8230; <a href="http://beancountersguide.co.uk/2007/06/18/excel-the-lbw-law-range-names-form-controls-and-logical-formulae/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=133&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Nearly two years ago I was running an advanced Excel course and needed to create an example of the use of Excel&#8217;s logical functions. Given that most of the people we train work in accountancy, our examples are usually based around financial data but, since it was the middle of the 2005 Ashes tour, the cricket LBW (leg before wicket) law sprang to mind. I&#8217;ve extended the example to look at the use of range names in making formulae easier to understand, and also to incorporate the use of a simple interactive form control.</p>
<p class="MsoNormal"> <a href="http://kitss.files.wordpress.com/2007/06/excel-lbw.gif" title="Excel and the cricket lbw law"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw.gif?w=500" alt="Excel and the cricket lbw law" /></a></p>
<p class="MsoNormal"><span id="more-133"></span><strong>The logic of the lbw law </strong></p>
<p class="MsoNormal">In the unlikely event that any reader is not fully conversant with the cricket LBW law, I&#8217;ll just set out the basics:</p>
<p class="MsoNormal">If the bowler bowls the ball so that it hits any part of the batsman&#8217;s body (usually the leg, but not necessarily) then the batsmen is out if the ball is going on to hit the stumps as long as: the ball has not touched any part of the bat before hitting the batsman – usually known as an &#8216;edge&#8217;; the ball has not pitched outside the line of the leg stump; and the ball has not hit the batsman outside the line of all the stumps when the batsman is playing a stroke. The BBC has an excellent description on their site:</p>
<p class="MsoNormal"><a href="http://news.bbc.co.uk/sport1/hi/cricket/rules_and_equipment/4176136.stm">Ways of getting out: leg before wicket</a></p>
<p class="MsoNormal">So the main &#8216;conditions&#8217; we need to check for are:</p>
<p class="MsoNormal">Was the ball going to hit stumps? (Hitting)</p>
<p class="MsoNormal">Did the batsman get an edge? (Edge)</p>
<p class="MsoNormal">Did the ball pitch outside leg? (Outside leg)</p>
<p class="MsoNormal">Did the ball hit the batsman in line with the stumps? (Hit in line)</p>
<p class="MsoNormal">Was the batsman playing a stroke? (Playing stroke)</p>
<p class="MsoNormal">Here is the Excel spreadsheet with the appropriate conditions:</p>
<p class="MsoNormal"> <a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-conditions.jpg" title="Excel lbw spreadsheet"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-conditions.jpg?w=500" alt="Excel lbw spreadsheet" /></a></p>
<p class="MsoNormal">&nbsp;</p>
<p>I have used True and False as the entries so we can use the various logical functions to evaluate the result directly. We will be using:</p>
<ul>
<li>IF() &#8211; evaluates a statement and returns one result if true or an alternative if false</li>
<li>AND() &#8211; allows you to check multiple conditions &#8211; only if all are true will the result be TRUE</li>
<li>OR() &#8211; allows you to check multiple conditions &#8211; if one or more is true the result will be TRUE</li>
<li>NOT() &#8211; reverses the logic of a statement &#8211; i.e. turns a TRUE FALSE or a FALSE TRUE</li>
</ul>
<p>If we try and express the logic of the LBW law in English we get something like:</p>
<p>If Not Hitting or Outside Leg, or Edge then &#8216;Not Out&#8217;</p>
<p>If Not Hit in line and Playing stroke then &#8216;Not Out&#8217;</p>
<p>Turning these two statements into logical functions we get four ways of not being out:</p>
<p>OR(NOT(Hitting),Outside Leg, Edge)</p>
<p>AND(NOT(Hit in Line), Playing Stroke)</p>
<p>Combining these gives us:</p>
<p>OR(NOT(Hitting),Outside Leg, Edge, AND(NOT(Hit in Line),Playing Stroke)</p>
<p>This is an OR() function with four arguments, the first three are relatively straightforward, with the fourth being an AND() function with two arguments &#8211; both of which must be TRUE for the batsman to be saved. We can now wrap this up in an IF() function which will return &#8216;NOT OUT&#8217; if any of our four ORs are TRUE and &#8216;OUT&#8217; if they are all FALSE:</p>
<p>IF(OR(NOT(Hitting),Outside Leg, Edge, AND(NOT(Hit in Line),Playing Stroke),&#8221;NOT OUT&#8221;,&#8221;OUT&#8221;)</p>
<p>Let&#8217;s see this in Excel using the cell references:</p>
<p><a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-function.jpg" title="Excel lbw function"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-function.jpg?w=500" alt="Excel lbw function" /></a></p>
<p><strong>Setting up and applying range names </strong></p>
<p>Not the easiest formula to understand! To make it more comprehensible, let&#8217;s set up range names for all the TRUE and FALSE cells. First click on cell C3 and then, in the Excel name box type in Hitting:</p>
<p><a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-new-name.jpg" title="Excel lbw name"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-new-name.jpg?w=500" alt="Excel lbw name" /></a></p>
<p>Remember to press the &#8216;Return&#8217; key after entering the name. Repeat the procedure for the next four cells:</p>
<ul>
<li>C4 &#8211; Edge</li>
<li>C5 &#8211; OutsideLeg</li>
<li>C6 &#8211; HitInLine</li>
<li>C7 &#8211; PlayingStroke</li>
</ul>
<p>Had we created the names before entering our formula, they would have been used automatically when we clicked on the appropriate cells. However, we can Apply the names retrospectively. If we click on our &#8216;Verdict&#8217; cell then select Insert, Name, Apply <font color="#0000ff">(Excel 2007 &#8211; Formulas ribbon, Define Name, Apply Names) </font>we can select all of the relevant names, then click OK to change our formula to use the range names rather than the cell references:</p>
<p><a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name.jpg" title="Excel lbw apply names"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name.jpg?w=500" alt="Excel lbw apply names" /></a></p>
<p>Our formula now looks like this:</p>
<p><a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name-2.jpg" title="Excel lbw applied names"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name-2.jpg?w=500" alt="Excel lbw applied names" /></a></p>
<p><strong>Check boxes</strong></p>
<p>Finally let&#8217;s add some check boxes to make it easier for the umpire to choose the right options in the heat of a tense test match.</p>
<p>Display the forms toolbar by choosing View, Toolbars, Forms <font color="#0000ff">(Excel 2007 &#8211; Developer ribbon, Insert)</font>. Click on the Check Box form control and &#8216;draw&#8217; it next to the &#8216;Hitting&#8217; label. Delete the associated text, then right click on the control and choose &#8216;Format Control&#8217;. On the &#8216;Control&#8217; tab, set the cell link to C3 (where the TRUE/FALSE text for &#8216;Hitting&#8217; is):</p>
<p><a href="http://kitss.files.wordpress.com/2007/06/excel-lbw-check-box.jpg" title="Excel lbw check box"><img src="http://kitss.files.wordpress.com/2007/06/excel-lbw-check-box.jpg?w=500" alt="Excel lbw check box" /></a></p>
<p>Now click on cell B3 and use the fill handle to copy it down to B7. All the check boxes should be copied down. Right-click on each one and set the cell link to the appropriate cell.</p>
<p>See if your understanding of the LBW law agrees with mine!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/133/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/133/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=133&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/06/18/excel-the-lbw-law-range-names-form-controls-and-logical-formulae/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw.gif" medium="image">
			<media:title type="html">Excel and the cricket lbw law</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-conditions.jpg" medium="image">
			<media:title type="html">Excel lbw spreadsheet</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-function.jpg" medium="image">
			<media:title type="html">Excel lbw function</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-new-name.jpg" medium="image">
			<media:title type="html">Excel lbw name</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name.jpg" medium="image">
			<media:title type="html">Excel lbw apply names</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-apply-name-2.jpg" medium="image">
			<media:title type="html">Excel lbw applied names</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/06/excel-lbw-check-box.jpg" medium="image">
			<media:title type="html">Excel lbw check box</media:title>
		</media:content>
	</item>
		<item>
		<title>Excel Indirect() function &#8211; save hours</title>
		<link>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/</link>
		<comments>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 20:39:18 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>

		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/</guid>
		<description><![CDATA[Excel’s Indirect function allows the creation of a formula by referring to the contents of a cell, rather than the cell reference itself. Of all the functions covered in our Excel courses, it is often Indirect() that attendees haven&#8217;t come &#8230; <a href="http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=115&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Excel’s Indirect function allows the creation of a formula by referring to the contents of a cell, rather than the cell reference itself. Of all the functions covered in our Excel courses, it is often Indirect() that attendees haven&#8217;t come across  but find an immediate use for, often saving a great deal of time and effort in the process.</p>
<p><a href="http://kitss.files.wordpress.com/2007/05/excel-indirect.gif" title="Indirect used to include references to the sheet named in cell A1"><img src="http://kitss.files.wordpress.com/2007/05/excel-indirect.gif?w=500" alt="Indirect used to include references to the sheet named in cell A1" /></a></p>
<p>If you have several sheets, each with information for a single department for example, you may want to set up a summary sheet. Rather than creating separate formulae to refer to each sheet, Indirect() can allow you to create a single set of formulae all of which use a reference to a sheet name held in a cell – hopefully an example will make this clearer.</p>
<p>To refer to cell A2 on a sheet named ‘Cuddly Toys’ we would use a formula like this:</p>
<p>=&#8217;Cuddly toys&#8217;!A2</p>
<p>However, sometimes it would be useful to be able to change a whole series of references to, for example, a different sheet.</p>
<p>We could type the sheet name into a cell on our main sheet, say A1. We could then write a formula to refer to cell A2 on the sheet typed into cell A1.</p>
<p>If we simply type:</p>
<p>=A1!A2</p>
<p>Excel, not unreasonably, looks for a sheet named A1 and fails to find it.</p>
<p>However, we can use the Indirect function instead. Here is the screen from the Paste Function dialog for Indirect:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-indirect-1.jpg" title="Indirect 1"><img src="http://kitss.files.wordpress.com/2007/04/excel-indirect-1.jpg?w=500" alt="Indirect 1" /></a></p>
<h2><font color="#ff0000">&#8220;</font>&#8216;<font color="#ff0000">&#8220;</font> &amp; $A$1 &amp; <font color="#0000ff">&#8220;</font>&#8216;!A2<font color="#00ff00"><font color="#0000ff">&#8220;</font> </font></h2>
<p>Our Ref_text entry is a little confusing, so we have highlighted the pairs of speech marks in different colours. We have two items of text, and sandwiched in between them, an absolute reference to the contents of cell A1 – as you can see this correctly returns the contents of that cell – Cuddly toys. The ampersands are used to join the 3 elements of our Ref_Text together. <font color="#ff0000">The first text section simply holds a single apostrophe – this is necessary because, if our sheet name contains a space, it must be surrounded by apostrophes to be correctly identified.</font> The second section contains an absolute reference to cell A1 – the cell where we type the name of our sheet. <font color="#0000ff">The third text section contains the closing apostrophe for the sheet name, together with the exclamation mark that separates sheet name from cell reference, and the cell reference itself – A2. </font></p>
<p>This works well to return the contents of cell A2 on our cuddly toys sheet, and if we were to type in ‘Boardgames’ for example, it would automatically return the contents of cell A2 on a sheet named ‘Boardgames’.</p>
<p>However we do have a problem left to solve. We need to refer to many cells on the price list sheets, but if we copy our Indirect cell, the reference to A2 doesn’t change, because it is just text. We can solve this by using a row/column style reference instead of A2:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-indirect-2.jpg" title="Indirect 2"><img src="http://kitss.files.wordpress.com/2007/04/excel-indirect-2.jpg?w=500" alt="Indirect 2" /></a></p>
<h2><font color="#ff0000">&#8220;</font>&#8216;<font color="#ff0000">&#8220;</font> &amp; $A$1 &amp; <font color="#0000ff">&#8220;</font>&#8216;!RC<font color="#00ff00"><font color="#0000ff">&#8220;</font> </font></h2>
<p>Note that we have to set the ‘A1’ argument of the function to ‘False’ to use this reference. RC will return the current row and column – so a formula in cell A2 will refer to A2 on cuddly toys, A3 to A3 and so on. If we need to refer to a different cell we would add numbers in square brackets after R and C. So R[1]C[1] would look at the cell one row down and one column right for example.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/115/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/115/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=115&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/04/28/excel-indirect-function-save-hours/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/05/excel-indirect.gif" medium="image">
			<media:title type="html">Indirect used to include references to the sheet named in cell A1</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-indirect-1.jpg" medium="image">
			<media:title type="html">Indirect 1</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-indirect-2.jpg" medium="image">
			<media:title type="html">Indirect 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Excel text functions &#8211; part 2</title>
		<link>http://beancountersguide.co.uk/2007/04/28/using-excel-text-functions-part-2/</link>
		<comments>http://beancountersguide.co.uk/2007/04/28/using-excel-text-functions-part-2/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 19:06:04 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>

		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/04/28/using-excel-text-functions-part-2/</guid>
		<description><![CDATA[Now let’s consider a slightly more difficult situation. In the following example we have a description and an amount in the same cell, but the two are always separated by a hyphen: Because neither the length of the text or &#8230; <a href="http://beancountersguide.co.uk/2007/04/28/using-excel-text-functions-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=101&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now let’s consider a slightly more difficult situation. In the following example we have a description and an amount in the same cell, but the two are always separated by a hyphen:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-function-2.gif" title="Excel text functions - search, len and value"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-function-2.gif?w=500" alt="Excel text functions - search, len and value" /></a></p>
<p>Because neither the length of the text or the figure are necessarily consistent, we can’t use Left, Right or Mid. However, we can instead use the hyphen to work out where the description ends and the number begins. To do this we must first identify how many characters from the left there are before the hyphen.</p>
<p>To do this we use the ‘Search’ function. Here is the function screen for Search:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-2-search.jpg" title="Search function"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-2-search.jpg?w=500" alt="Search function" /></a></p>
<p>Note again that we can just type the hyphen into the ‘Find_text’ box and Excel will automatically add the speech marks. Note also that there is the option to specify the character position at which you want to start the search. This is useful if you need to locate more than one similar character – once you have found the first, you can start the next search from one character position higher. Our example is a simple one that doesn’t use the ‘Start_num’ argument and, as you can see, it returns the position of the hyphen as character 6.</p>
<p>=SEARCH(&#8220;-&#8221;,A13)</p>
<p>We can now ‘nest’ the Search function within the ‘Left’ function to retrieve the description:</p>
<p>=LEFT(A13,<strong>SEARCH(&#8220;-&#8221;,A13)</strong>-1)</p>
<p>In order to exclude the hyphen itself we have subtracted 1 from the result of search. If we copy this formula down our list we can see that it achieves the desired result:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-2-full-search.jpg" title="Excel text functions - search"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-2-full-search.jpg?w=500" alt="Excel text functions - search" /></a></p>
<p>Now to deal with the amount. Whilst we can use Search to find the starting position, we don’t yet know how long the amount is. We can work this out using the ‘Len’ function. ‘Len’ is a very simple function with just one argument &#8211; the text string, or cell containing the text string, that we wish to find the length of:</p>
<p>=LEN(A13)</p>
<p>This tells us how long the text is in total, and we have already used Search once to find the position of the hyphen. By combining Len and Search we can calculate how many characters follow the hyphen:</p>
<p>=LEN(A13)-(SEARCH(&#8220;-&#8221;,A13))</p>
<p>In the case of “Sales-10000” Len will return 11, the hyphen is at position 6, so 11-6 = 5, the number of characters in the amount.</p>
<p>We can use this with the ‘Right’ function to pick out the amount:</p>
<p>=RIGHT(A13,LEN(A13)-(SEARCH(&#8220;-&#8221;,A13)))</p>
<p>Again we can copy this formula down the list:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-2-code.jpg" title="Excel text functions - search and len"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-2-code.jpg?w=500" alt="Excel text functions - search and len" /></a></p>
<p>As you can see above, whilst we have indeed separated out the amount characters, Excel is still treating our text as text and if we used Sum to total column C we would get zero:</p>
<p>We need to convert the text ‘amounts’ into proper numbers. To do this we use the function Value. We will use the value function to convert the three items in our list to numbers. Here is the formula for cell D13:</p>
<p>=VALUE(C13)</p>
<p>We can now copy this down our list and use Sum again to total our new column:</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-2-value.jpg" title="Excel text functions - value"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-2-value.jpg?w=500" alt="Excel text functions - value" /></a></p>
<p>As you can see, the text values are now treated as numbers and Sum works correctly.</p>
<p>These two functions can be used to remove unwanted characters from text. Sometimes, if you import text from other sources, you may end up with non-printing characters, such as carriage returns – Clean will remove these. Trim can be used to get rid of extraneous spaces:</p>
<p>In the following example we have part of an address that includes multiple spaces between ‘High’ and ‘Street’ and a carriage return character to separate the lines of the address.</p>
<p>In column B we have used Trim to get rid of the extra spaces:</p>
<p>=TRIM(A19)</p>
<p>and then in column C we have used Clean on the result to remove the carriage return:</p>
<p>=CLEAN(B19)</p>
<p><a href="http://kitss.files.wordpress.com/2007/04/excel-text-2-trim-clean.jpg" title="Excel text functions - trim and clean"><img src="http://kitss.files.wordpress.com/2007/04/excel-text-2-trim-clean.jpg?w=500" alt="Excel text functions - trim and clean" /></a></p>
<p>Note that the Trim function leaves a single space between High and Street, but that the Clean function removes the carriage return entirely.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/101/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/101/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=101&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/04/28/using-excel-text-functions-part-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-function-2.gif" medium="image">
			<media:title type="html">Excel text functions - search, len and value</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-2-search.jpg" medium="image">
			<media:title type="html">Search function</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-2-full-search.jpg" medium="image">
			<media:title type="html">Excel text functions - search</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-2-code.jpg" medium="image">
			<media:title type="html">Excel text functions - search and len</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-2-value.jpg" medium="image">
			<media:title type="html">Excel text functions - value</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/04/excel-text-2-trim-clean.jpg" medium="image">
			<media:title type="html">Excel text functions - trim and clean</media:title>
		</media:content>
	</item>
		<item>
		<title>Automatic continued in Word</title>
		<link>http://beancountersguide.co.uk/2007/03/29/automatic-continued-in-word/</link>
		<comments>http://beancountersguide.co.uk/2007/03/29/automatic-continued-in-word/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 15:05:24 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>
		<category><![CDATA[Word]]></category>

		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/03/29/automatic-continued-in-word/</guid>
		<description><![CDATA[Excellent question from one of my clients working on a Word template for their letters, how could the word &#8216;continued&#8230;&#8217; be included automatically on page one of each letter, but only if the letter was longer than a single page? &#8230; <a href="http://beancountersguide.co.uk/2007/03/29/automatic-continued-in-word/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=50&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Excellent question from one of my clients working on a Word template for their letters, how could the word &#8216;continued&#8230;&#8217; be included automatically on page one of each letter, but only if the letter was longer than a single page?</p>
<p>A more standard question is how to include space for the headers and footers of preprinted letterhead stationery on page 1 only. This can be done by ensuring that in the Layout section of File, Page Setup, the &#8216;Different first page&#8217; option is selected. This allows you to set up empty headers and footers on page one of the right size to allow for the letterhead but, because of the &#8216;Different first page&#8217; option, they will not appear on subsequent pages.</p>
<p>The &#8216;continued&#8230;&#8217; question is not so straightforward. The headers and footers for the letterhead are required on page one, whether there is one page or many pages, but as we have said, the &#8216;continued&#8230;&#8217; should only be included when a second page is needed. After a fair amount of thought, the following solution came to mind. Set up the &#8216;Different first page&#8217; option as before, and this time, in the appropriate position of the header or footer insert a Word &#8216;IF&#8217; field. The IF should check whether the number of pages in the document is greater than 1 and if so, include &#8216;continued&#8230;&#8217;, and if not omit the word.</p>
<p>The Word field should look something like this:</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field-code2.jpg" title="Word IF field code"><img src="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field-code2.jpg?w=500" alt="Word IF field code" /></a></p>
<p class="MsoNormal"> <span>Be very careful when entering the Word field – forgetting a space or getting the syntax wrong in any other way will probably stop it working properly.</span></p>
<p>If you are not very familiar with using Word fields, the best method of inserting an IF field is probably to use the Insert, Field option in two stages.</p>
<p>First use Insert, Field to insert the IF field. Don&#8217;t worry about calculating the number of pages at this stage, but instead just type in a placeholder &#8211; for example the word &#8216;pages&#8217;:</p>
<p>i.e.</p>
<p>IF pages &gt; 1 &#8220;continued&#8230;.&#8221; &#8220;&#8221;</p>
<p class="MsoNormal"><span>The IF field compares two &#8216;expressions&#8217; and then prints one item of text if the comparison is evaluated as &#8216;true&#8217; or a different item of text if it is &#8216;false&#8217;.</span></p>
<p class="MsoNormal"><span>In fact, in this case because we don&#8217;t need anything printed if the result is false we could omit the &#8216;FalseText&#8217; altogether:</span></p>
<p class="MsoNormal"><span>IF pages &gt; 1 &#8220;continued&#8230;.&#8221;</span></p>
<p><a href="http://kitss.files.wordpress.com/2007/03/word-if-field-2.jpg" title="Word IF field"><img src="http://kitss.files.wordpress.com/2007/03/word-if-field-2.jpg?w=500" alt="Word IF field" /></a></p>
<p>Then right click on the resulting field result, and choose Toggle Field Codes to show the underlying code. Double Click on the word &#8216;pages&#8217; to select it, then go to Insert, Field again and this time use the field DocProperty, Pages:<br />
<a href="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field.jpg" title="Word pages property field"><img src="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field.jpg?w=500" alt="Word pages property field" /></a></p>
<p>Now select the entire field, right click, and choose Toggle Field Codes again to toggle back to displaying the result of the field.</p>
<p>Finally, to make sure the field result is recalculated every time the document is printed, set the &#8216;Update field&#8217; option in the Tool, Options, Print screen:</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/word-continued-update-field.jpg" title="Update fields option"><img src="http://kitss.files.wordpress.com/2007/03/word-continued-update-field.jpg?w=500" alt="Update fields option" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=50&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/03/29/automatic-continued-in-word/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field-code2.jpg" medium="image">
			<media:title type="html">Word IF field code</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/word-if-field-2.jpg" medium="image">
			<media:title type="html">Word IF field</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/word-continued-pages-field.jpg" medium="image">
			<media:title type="html">Word pages property field</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/word-continued-update-field.jpg" medium="image">
			<media:title type="html">Update fields option</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s your round</title>
		<link>http://beancountersguide.co.uk/2007/03/27/its-your-round/</link>
		<comments>http://beancountersguide.co.uk/2007/03/27/its-your-round/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 13:40:54 +0000</pubDate>
		<dc:creator>simontkb</dc:creator>
				<category><![CDATA[Excel]]></category>
		<category><![CDATA[Not quite so simple]]></category>
		<category><![CDATA[Office software]]></category>
		<category><![CDATA[Simple]]></category>

		<guid isPermaLink="false">http://beancountersguide.co.uk/2007/03/27/its-your-round/</guid>
		<description><![CDATA[Rounding can often be a problem in a spreadsheet. We&#8217;ll start with some relatively simple background stuff then move on to some lesser-known aspects of rounding and displaying rounded values. What you see isn&#8217;t what you calculate &#8211; mostly! The &#8230; <a href="http://beancountersguide.co.uk/2007/03/27/its-your-round/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=43&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Rounding can often be a problem in a spreadsheet. We&#8217;ll start with some relatively simple background stuff then move on to some lesser-known aspects of rounding and displaying rounded values.</p>
<p><strong>What you see isn&#8217;t what you calculate  &#8211; mostly!</strong></p>
<p>The first thing to grasp is that the way Excel displays the contents of a cell generally has no effect on the actual contents of that cell as used in calculations. So a value of 100.05678 will remain as 100.05678 even if the format of the cell is set to display no decimals. There is one important exception to this. There is an option in the &#8216;Calculations&#8217; tab of the Tools, Options screen that forces Excel to change the contents of the cell to match the &#8216;precision&#8217; of the format. So if the cell is formatted to display no decimal places, the contents will be permanently rounded to no decimal places &#8211; our 100.05678 would become 100.00000:</p>
<p>Before turning on &#8216;Precision as displayed&#8217;</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/excel-round-before.gif" title="Before precision as displayed"><img src="http://kitss.files.wordpress.com/2007/03/excel-round-before.gif?w=500" alt="Before precision as displayed" /></a></p>
<p>and after:</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/excel-round-after.gif" title="After precision as displayed"><img src="http://kitss.files.wordpress.com/2007/03/excel-round-after.gif?w=500" alt="After precision as displayed" /></a></p>
<p>This is an option to be used with great care. It applies to the entire workbook and as soon as it is turned on potentially decreases the accuracy of any figure displayed to fewer decimal places than it actually contains.</p>
<p><strong>Round function </strong></p>
<p>A less drastic method of avoiding rounding errors is to use Excel&#8217;s ROUND() function. This allows you to round a number to a specific number of decimal places for use in calculations, without changing the original number. Round takes two arguments &#8211; the number to be rounded and the number of decimal places to round to. In this case we have used =ROUND(A2,0) to round to round pounds:</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-1.jpg" title="Rounding example"><img src="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-1.jpg?w=500" alt="Rounding example" /></a></p>
<p>The &#8216;sum&#8217; formula in cell C5 sums the rounded numbers in C2 to C4, so returns 99 rather than 100.  If you need the total to be a particular figure, for example if the 100 was a profit share, then you could set the final rounded figure to be the total minus the sum of the other rounded figures. In this case we have entered a figure of 100 in cell E5, then rounded the calculation of the two shares in E2 andE3, with E4 being =E5-SUM(E2:E3)</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-2.jpg" title="Rounding profit shares"><img src="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-2.jpg?w=500" alt="Rounding profit shares" /></a></p>
<p><strong>More fun with rounding</strong></p>
<p>As well as 0 for no decimal places or a positive number for that number of decimal places, you can also enter a negative number as the decimal place argument of the Round function. For example you could enter -3 to round to thousands:</p>
<p><a href="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-thousands.jpg" title="Rounding to thousands"><img src="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-thousands.jpg?w=500" alt="Rounding to thousands" /></a></p>
<p>To change the format to display numbers rounded to thousands you would use the following custom format:</p>
<p>#,###,</p>
<p>for 1,235k</p>
<p>#,###,k</p>
<p>for millions</p>
<p>#,###,,</p>
<p>for 1m</p>
<p>#,###,,&#8221;m&#8221;</p>
<p>The speech marks are necessary for the m, but not the k, because m is used in formatting to signify a month format.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/kitss.wordpress.com/43/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/kitss.wordpress.com/43/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kitss.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kitss.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kitss.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beancountersguide.co.uk&amp;blog=857694&amp;post=43&amp;subd=kitss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beancountersguide.co.uk/2007/03/27/its-your-round/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff87efe8f5580fa5c270669d0f998d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simontkb</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/excel-round-before.gif" medium="image">
			<media:title type="html">Before precision as displayed</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/excel-round-after.gif" medium="image">
			<media:title type="html">After precision as displayed</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-1.jpg" medium="image">
			<media:title type="html">Rounding example</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-2.jpg" medium="image">
			<media:title type="html">Rounding profit shares</media:title>
		</media:content>

		<media:content url="http://kitss.files.wordpress.com/2007/03/excel-round-round-function-thousands.jpg" medium="image">
			<media:title type="html">Rounding to thousands</media:title>
		</media:content>
	</item>
	</channel>
</rss>
