Presentation is loading. Please wait.

Presentation is loading. Please wait.

European Computer Driving Licence Module 4 - Spreadsheets Chapter 4.9 – If... Then... Else.

Similar presentations


Presentation on theme: "European Computer Driving Licence Module 4 - Spreadsheets Chapter 4.9 – If... Then... Else."— Presentation transcript:

1 European Computer Driving Licence Module 4 - Spreadsheets Chapter 4.9 – If... Then... Else

2 Produce instant quotes ZYou can create a spreadsheet to produce instant quotes. ZThe Mirror Shop project will take you through step by step on how to give an instant quote depending on the size and finish of a mirror ZYou will also learn how to format a spreadsheet to make it look very attractive

3 Adding the formulae ZIn cell B12, enter the formula =B9*B10 to calculate the total surface area ZIn cell B13, enter the formula =2*(B9+B10) to calculate the perimeter length. Ensure you include the brackets! ZEnter the formula for Cost for surface area in cell D12. This should be =B12*D4

4 Adding IF statements ZThe calculation for Cost for edges will depend on whether the edges are polished or polished and bevelled. You will need to include an IF statement so that it can calculate the cost for either option. ZThe basic format for an IF statement is to specify a condition, then to perform one calculation if it is true, and another if it is false. Z If edges are polished:, Cost for edges = perimeter length x price for polished edges, or If cell D9 = P THEN D13 = B13*D5 Z If edges are polished and bevelled:, Cost for edges = perimeter length x price for bevelled edges, or If cell D9 = PB THEN D13 = B13*D6

5 The Paste Function button ZSelect cell D13 ZClick the Paste Function button to the left of the Formula bar ZClick on the drop-down arrow next to select a category and select Logical, if this is not already displayed ZSelect IF from the Select a function list then click on OK

6 Enter the function arguments ZEnter the formula D9=“P” in the Logical_test box. ZIn the Value_if_true box, enter the formula B13*D5 (perimeter length x price for polished edges). ZIn the Value_if_false box, enter the formula B13*D6 (perimeter length x price for polished & bevelled edges). ZClick on OK.

7 And finally... ZAlternatively, you could just have entered the formula =if(D9=“P”,B13*D5,B13*D6) in cell D13, but it is far simpler to use the Paste Function button. ZFinally in cell D16, enter the formula =sum(D12:D13) ZFormat the currency cells to show pound signs and 2 decimal places.

8 Adding some colour ZTo change the font colour, select the cell(s), click the down arrow on the Font Colour icon and select a colour ZTo change the background fill, select the cell(s), click the down arrow on the Background fill icon and select a colour

9 Aligning cell content ZYou can set where text appears in a cell by clicking on the left, centre or right align icons on the Formatting toolbar ZYou can also increase the height of a row and change the vertical alignment ZClick and drag to increase the row height ZRight click on a selected cell and select Format Cells from the shortcut menu

10 Aligning cell content and text orientation ZClick the Alignment tab ZSelect Centre in the Vertical Alignment box ZYou can also change the orientation of text from here ZClick and drag the red dot so that text is slightly diagonal ZClick OK

11 And the finished result?


Download ppt "European Computer Driving Licence Module 4 - Spreadsheets Chapter 4.9 – If... Then... Else."

Similar presentations


Ads by Google