Presentation is loading. Please wait.

Presentation is loading. Please wait.

European Computer Driving Licence

Similar presentations


Presentation on theme: "European Computer Driving Licence"— Presentation transcript:

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

2 Produce instant quotes
You can create a spreadsheet to produce instant quotes. The 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 You will also learn how to format a spreadsheet to make it look very attractive

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

4 Adding IF statements The 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. The 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. If edges are polished: Cost for edges = perimeter length x price for polished edges, or If cell D9 = P THEN D13 = B13*D5 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
Select cell D13 Click the Paste Function button to the left of the Formula bar Click on the drop-down arrow next to select a category and select Logical, if this is not already displayed Select IF from the Select a function list then click on OK

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

7 And finally . . . Alternatively, 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. Finally in cell D16, enter the formula =sum(D12:D13) Format the currency cells to show pound signs and 2 decimal places.

8 Adding some colour To change the font colour, select the cell(s), click the down arrow on the Font Colour icon and select a colour To 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 You can set where text appears in a cell by clicking on the left, centre or right align icons on the Formatting toolbar You can also increase the height of a row and change the vertical alignment Click and drag to increase the row height Right click on a selected cell and select Format Cells from the shortcut menu

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

11 And the finished result?


Download ppt "European Computer Driving Licence"

Similar presentations


Ads by Google