<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
<title>if statement</title>
<link>http://www.computersight.com/tags/if statement</link>
<description>New posts about if statement</description>
<item>
<title>The Excel Spreadsheet 7: Max, Min and If</title>
<link>http://www.computersight.com/Software/Microsoft-Office-Suite/The-Excel-Spreadsheet-7-Max-Min-and-If.82098</link>
<description>
<![CDATA[<p>Please go through the previous five pages I have written about spreadsheets before you attempt this.  If you click on my name - RJ Evans at the top of this page, you will see them all.  Please add this page to your favourites if you wish to go through these exercises as you may have to refer back to them.</p>
 
<p>OK, let's begin</p>
 <ol>
<li>Open <strong>Microsoft</strong> <strong>Excel</strong></li>
<li>Enter this title in cell A1:  <strong>RENTING HOUSEHOLD GOODS </strong>and make it bold.</li>
<li>Enter the following information, starting in cell A3.  Format the figures to two decimal places.</li>
<li>Your spreadsheet should now look something like this.</li>
</ol> 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/02/10/111526_0.jpg" alt="" /></p>
 <ol>
<li>Check that you have entered the data correctly </li>
<li>Save the spreadsheet as <strong>Household goods</strong></li>
<li>Print it on one page in Portrait  (File  Page Setup  Page  Portrait)</li>
<li>Change the FREEZER <strong>RENTAL</strong> to 55.92 and the HI-FI <strong>INSURANCE</strong> to 0 (zero)</li>
<li>In cell E5 use a formula to calculate the <strong>COST BEFORE DISCOUNT </strong>of the WASHER</li>
</ol> 
<p>(<strong>COST BEFORE DISCOUNT </strong>= <strong>SUM</strong>(<strong>RENTAL</strong>:<strong>INSURANCE</strong>)</p>
 
<ul>
<li> Click in cell E5</li>
 
<li> Click AutoSum button (the one that looks like a capital E)</li>
 
<li> Press Enter </li>
 
</ul>
<p>Copy this formula to get totals in column E for all the other items (use the fill handle for this)</p>
 
<p>Switch to Formula View</p>
 
<p>To do this, press and hold the Ctrl key and click the key above the tab button.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/02/10/111526_1.jpg" alt="" /></p>
 
<p>Save the sheet as Household Goods 1 and print the page</p>
 
<p>Change the screen back to Spreadsheet View.  To do this, repeat the operation above.  It is like turning a light switch on and off!</p>
 
<p>In cells C11, D11 and E11 use formulae to calculate the total cost of <strong>RENTAL </strong>and <strong>INSURANCE</strong> and the <strong>TOTAL</strong> of the <strong>TOTAL COST</strong>.  To do this:</p>
 
<ul>
<li> Click in cell C11</li>
 
<li> Click AutoSum button</li>
 
<li> Click on </li>
 
<li> Copy the formula to D11 and E11 </li>
 
</ul>
<p>Insert a new row between MICROWAVE and TV and enter the following data:</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/02/10/111526_2.jpg" alt="" /></p>
 
<p>Use a formula to calculate the <strong>TOTAL COST</strong> of the DISHWASHER</p>
 
<p>Save the sheet as <strong>Household Goods 2</strong></p>
 
<p>Print a copy in Portrait</p>
 
<p>In cells B14 onwards, enter the following formulae.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/02/10/111526_3.jpg" alt="" /></p>
 
<p>This will give you a list of the smallest price, the largest price - and the average price of the items in the list.</p>
 
<p>The management have decided that if the items cost more than &amp;pound;40, then there will be a discount of &amp;pound;10.</p>
 
<p>In Cell F3, enter the heading <strong>Discount?</strong></p>
 
<p>In Cell F5, enter the formula =IF(E5&amp;gt;40, "YES", "NO")</p>
 
<p>Press Enter or tick the green button to confirm the formula</p>
 
<p>Replicate this formula down to F10</p>
 
<p>In Cell G3, Enter the heading <strong>TOTAL COST</strong></p>
 
<p>In Cell G5, enter the formula =IF(F5="YES",E5-10,E5)</p>
 
<p>Press Enter or tick the green button to confirm the formula</p>
 
<p>Replicate this formula down to G10</p>
 
<p>In G12, add up the total cost using the Autosum Function</p>
 
<p>Your complete spreadsheet should then look like this.</p>
 
<p><img src="http://images.stanzapub.com/readers/computersight/2008/02/10/111526_4.jpg" alt="" /></p>
 
<p>Save the spreadsheet with the same name and print both the formulae and the worksheet.</p>
 
<p>NEXT: THE FILTER FUNCTION</p><a href="http://www.pheedo.com/click.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FSoftware%2FMicrosoft-Office-Suite%2FThe-Excel-Spreadsheet-7-Max-Min-and-If.82098"><img src="http://www.pheedo.com/img.phdo?x=&u=http%3A%2F%2Fwww.computersight.com%2FSoftware%2FMicrosoft-Office-Suite%2FThe-Excel-Spreadsheet-7-Max-Min-and-If.82098" border="0"/></a>]]></description>
<pubDate>Sun, 10 Feb 2008 08:20:41 PST</pubDate></item>
</channel>
</rss>
