Modelling With Spreadsheets
Modelling With Spreadsheets
Example spreadsheet
A grocer uses a mobile shop to sell groceries to customers who live out of town. He
uses a spreadsheet to keep a record of his daily sales:
Daily sales
A
Produce
Unit
Number sold
Price
Sales
Apples
kg
0.70
4.90
Potatoes
25kg
6.00
48.00
Oranges
kg
0.90
5.40
Carrots
25kg
8.50
68.00
Sprouts
kg
1.40
5.60
Cabbage
kg
0.70
4.20
10
Onions
kg
0.56
5.04
Total
141.14
11
12
There are a number of formulae in the above spreadsheet but they're hidden; only
the results are displayed.
Formulae
The formula in cells E4 to E10 works out the total value of sales for each item. It
does this by multiplying the number sold by the individual price. For example, seven
kilograms of apples were sold at 70p per kilogram; the sales total is calculated as
4.90 and is displayed in the cell E4. The formula in E4 is =C4*D4, i.e. 7 0.70.
Cell E12 contains a formula that calculates the total value of the sales column. The
formulae used is =SUM(E4:E10). This formula includes cells E4, E10 and all of the
cells in-between. You could write it =E4+E5+E6+E7+E8+E9+E10 which will give
the same result but is overly complex and leaves more room for mistakes. Note, the
=SUM function should only be used when adding a range of cells.
Constructing a spreadsheet
A self-employed builder charges 15.00 an hour. He's constructed a spreadsheet to
keep a record of his work but it's incomplete.
Task 1
The builder has just completed some work for Jason Williams. It took him four
hours and the materials cost 37.00.
1.
The formulae to calculate the bill should be automatically inherited from the cell
above.
Task 2
1.
Click cell C2 and hold down the left mouse button. Move the cursor across
to cell D2 and then down to cell D6. The cells should now be highlighted.
2.
Release the left mouse button and right-click on a highlighted cell. Click
Format Cells.
3.
A new screen appears, click the Number tab and click currency in the list.
4.
Click OK.
Task 3
Theres a mistake in the formula used to calculate the total bill, the builder has
entered his hourly rate incorrectly correct his mistake (remember, his hourly rate is
15).
1.
Double-click cell D2 to edit the formula. Make the correction and press
enter on the keyboard to save the changes.
2.
Copy the changes to the formula to the cells below. Click cell D2, left-click
the small black square in the bottom right corner and drag it down to cell D6.
Release the left mouse button.
Task 4
1.
=D2+D3+D4+D5+D6
2.
=SUM(D2:D6)
The spreadsheet program should realise youre adding together currency and
automatically change cell D8s number category to match.
Document
Download the builder's completed spreadsheet.
Open the spreadsheet here
Download the completed spreadsheet on the left to see how you did or to learn
where you went wrong.
You can carry out "what if?" investigations. For example, the grocer could
increase his prices to see the effect on sales and the builder could increase his
hourly charge to see the effect on his daily total.
It is easy to make these changes, save your work and print it out again.
More flexible presentation
Alter column widths and easily delete or add columns and rows.
Control the types of numbers you enter - for example you can choose
percentage, currency or set the number of decimal places.
resulted in higher sales, by adjusting the data in the number of sales column, the
income from sales data will again be recalculated (upwards).
Being able to answer "what if?" questions like this is vital and allows a company to
predict future trends in its income and outgoings.
http://www.bbc.co.uk/schools/gcsebitesize/ict/modelling/0spreadsheetsrev1.shtml