Using Spreadsheets: Organising Data: Why Do This? Before You Start
Using Spreadsheets: Organising Data: Why Do This? Before You Start
Get Ready Load the spreadsheet you are going to use e.g. Excel In cell A1, type the number 7, in cell A2, type the number 8. In cell A3, type A1 A2. Your answer should be 15: i.e. 7 8 In cell A4, type A1 A2. Your answer should be -1: i.e. 7 8 In cell A5, type A1*A2. Your answer should be 56: i.e. 7 8 In cell A6, type A1/A2. Your answer should be 0.875: i.e. 7 8
Key Points Spreadsheets can be used to do calculations. Once they are set up, they can be used to do repeat calculations with different data, very quickly.
Example 1
Here is a spreadsheet that shows what Kim spent her pocket money on for the last 4 weeks.
A 1 2 3 4 5 6 Pocket money Magazine Sweets Downloads Mobile top up Total B Week 1 1.95 2.45 3.70 5.00 C Week 2 1.95 1.99 0.00 5.00 D Week 3 1.95 0.00 4.90 10.00 E Week 4 F Total
In week 4 Kim spent 1.95 on her magazine, 95p on sweets, 1.70 on downloads and 5 on her mobile top up. Complete the spreadsheet to show this information.
1
07-Chapter 07_001-022.indd 1 29/10/10 08:36:51
F Total
5.00
10.00
To nd how much she spends in Week 1, in cell B6 you can either: write the formula: B2 B3 B4 B5 or: sum(B2:B5) the : means all the cells from B2 to B5 or: highlight the cells B2 down to B5 and press the Auto Sum key, which is the Greek letter Sigma () on the toolbar at the top. This puts the auto sum function in B6.
Exercise 7A
Using the spreadsheet in Example 1, write down how much Kim spent on: a sweets in week 1 b downloads in weeks 1 to 3. Using the spreadsheet in Example 1: a Find how much Kim spends in each of weeks 2, 3 and 4. b Find how much Kim spends on each of magazines, sweets, downloads and mobile top ups. c How much does Kim spend in the 4 weeks in total?
D AO1
AO2 AO3
3 4
Make up a spreadsheet for your own spending. Here is part of a spreadsheet to show Colins living expenses for 3 months.
A 1 2 3 4 5 6 Living expenses Rent Heating Electricity Food Total B 250 25 18 132 C 250 38 20 145 D 250 28 19 139 E F Month 1 Month 2 Month 3 Month 4 Total
AO1
AO3
In Month 4 Colin spends 250 on Rent, 22 on Heating, 15 on Electricity and 142 on Food. a Complete the spreadsheet for Month 4. b Find how much Colin spends in total in Month 1, 2, 3 and 4. c Use formulas to nd out how much Colin spends in total on Rent, Heating, Electricity and Food. d Use formulas to nd out how much Colin spends in the 4 weeks in total.
2
07-Chapter 07_001-022.indd 2 29/10/10 08:36:52
5 6
Make up a spreadsheet for your own spending. Jo buys items in car-boot sales and then sells them on e-bay. Here is part of the spreadsheet that Jo uses to work out her prot and loss.
A 1 2 3 4 5 6 7 Jos e-bay Clock Doll DvD Vase Game Totals 15 5 2 8 B Bought for 45 20 4.50 3.50 C Sold for D Prot or loss
AO2
Jo paid 6 for the Game and sold it for 7.50. a Complete the spreadsheet for the Game. b Find how much Jo bought and sold all the items for in total. c Use formulas to nd out how much prot or loss Jo made on these items. d Use formulas to nd out Jos total prot on all of these items.
AO1
AO3
3
07-Chapter 07_001-022.indd 3 29/10/10 08:36:53
Get Ready Type these numbers into a spreadsheet. Mark the cells by Clicking and dragging all the numbers. Go to Insert graph and press each one in turn to see the different types of graphs you can get. 1 2 3 4 5 6 2 4 6 8 10 12
Key Points Once you have data in a table, there are functions in the spreadsheet that can quickly present the data in a variety of different types of graphs. Example 2 Rashmi collects data on the colours of 20 cars in her street. She puts her results into a spreadsheet.
A 1 2 3 4 5 6 7 Colour Red Blue Green Black Yellow Total 7 3 3 6 1 20 B Frequency
To draw a graph from a table Mark cells A1 down to B6 Use the Insert button and select the type of graph you want to draw Change any of the labels by double clicking on them
She is going to draw a graph of her results. Because the data is discrete, it is appropriate to draw a bar chart or a pie chart for Rashmis results.
8 Frequency 6 4 2 0 Red Blue Green Black Yellow Car colour Frequency Red Blue Green Black Yellow
4
07-Chapter 07_001-022.indd 4 29/10/10 08:36:58
Exercise 7B
1 2
Carry out a survey of how your class travelled to school today and draw an appropriate graph. Carry out a survey of your friends favourite pizza toppings and draw an appropriate graph to show your results. Carry out a survey of what your friends eat for lunch on a school day.
AO2 AO3
Exercise 7C
1
A 12 8 2 5 3 30
B Frequency
AO2 E AO3
Favourite pet
c
1 2 3 4 5 6
A Number of crisp bags sold Plain Salt & vinegar Cheese & onion BBQ avour Total
B Frequency 5 4 2 4 15
d
1 2 3 4 5 6 7 Car Van Lorry Bike Bus Total
A Trafc survey 11 6 6 4 3 20
B Frequency
B Rainfall
AO2 AO3
5
07-Chapter 07_001-022.indd 5 29/10/10 08:37:01
Get Ready Type these numbers into a spreadsheet. Mark the cells by Clicking and dragging all the numbers. Go to Sort data and put the data items in order smallest rst.
15 25 10 18 12 21
Key Points Spreadsheets are very useful for calculating averages as data can be put in a different order at the press of a button. Example 3 Here are the height and weight of 12 people in Helens class.
A 1 2 3 4 5 6 7 8 9 Height (cm) 1.52 1.60 1.81 1.75 1.56 1.65 1.55 1.67 60 65 70 67 58 62 55 62 65 60 55 63 B Weight (Kg) F M M M F F F M M F F M Mean Range Median C Gender
Median To find the median of the data, first put the data you want to work on in order. Then find the halfway data item. Range To find the range of heights, first put the data you want to work on in order. Then put this formula in cell A15: A13A2
Mean To find the mean height type the following function into cell A14: average (A2:A13) For the mean weight put this function in cell B14: average (B2:B13) Sorting data Mark the data from cell A2 down to C13. Use Data and sort from the spreadsheet toolbar and select whether you want to sort by Height, by Weight or by Gender. NB You must remember to mark all the data cells before you sort otherwise the data will get jumbled. If you mark the data in the cells just below the headings you will get prompted to choose which group you want to sort.
To compare data To check if there is a connection between the height and weight of these students, highlight cells A2 to B13 and select a scatter graph in the insert graph menu. In this way you can check if there is any correlation between their height and weight.
6
07-Chapter 07_001-022.indd 6 29/10/10 08:37:06
Exercise 7D
1
Here are the marks that 10 students scored in their Maths and Science test. Marks Maths Science Jo 45 50 Ben 56 60 Tom 67 70 Ric 32 44 Ron 55 52 Tim 34 35 Bev 56 60 Jill 75 75 Ria 27 30 Nia 50 60
AO1 AO3
Set up a spreadsheet for this data and nd: a the mean b the range c the median. d Compare the results in Maths and Science of these students.
2
Suki measured the height and diameter of some trees. Trees Height (m) Diameter (cm) Oak 30 60 Ash 45 50 Beech 40 45 Alder 20 15 Fir 27 15 Elm 24 50 Rowan Lime 10 10 20 25 Plum 15 12 Birch 22 20
AO1 AO3
Set up a spreadsheet for this data and nd: a the mean b the range c the median. d Compare the results for the heights and diameters of these trees.
3
Suki compares the average temperature and average rainfall in London and Venice. Jan London average rainfall (mm) London average temperature (C) Venice average rainfall (mm) Venice average temperature (C) 75 5 90 2 Feb 85 2 85 8 Mar 62 6 60 12 Apr May Jun 75 12 55 18 55 16 35 24 45 22 20 28 Jul 25 26 15 32 Aug 15 25 18 32 Sep 28 22 25 28 Oct 35 18 32 24 Nov Dec 45 14 65 17 50 7 75 8
AO1 AO3
Set up a spreadsheet for this data and nd: a the mean b the range c the median. d Compare the temperatures and the rainfall in the two cities.
7
07-Chapter 07_001-022.indd 7 29/10/10 08:37:07
Get Ready You can use this spreadsheet to nd the prot on selling some items A B C 1 2 3 4 5 6 Bought for 5 10 6 5 7 Sold at 10 15 8 5 4 Prot
In cell C2 write the formula A2 B2 . Click on C2 and then let the mouse hover over the bottom right hand corner of the cell, until a small sign appears. Drag down the mouse to cell C6. The formula you have entered will copy into all the cells. Key Points To nd a percentage of an amount you: To increase a number by a percentage you: To nd a percentage prot or loss you: percentage __________ 100 the percentage of the amount to the original cost Prot ___________ Original cost by 100
Example 4
You can then copy your formulas into cells E3 down to E6. Which item had the greatest percentage prot?
8
07-Chapter 07_001-022.indd 8 29/10/10 08:37:11
Example 5
You can then copy your formulas into cells C3 down to C6.
Exercise 7E
1
Kevin has a shop in which he sells old toys. He buys the old toys in auctions and sells them in his shop. The table gives information about some of the old toys Kevin has sold. Item Bought for Sold at Teddy bear 50 100 Train set 70 120 Doll 250 200 Toy car in box 300 540 Toy car no box 150 180 Bus 80 96 Rocking horse 2000 3000 Clockwork motorbike 500 375
AO2 AO3
a Design a spreadsheet to nd Kevins prot. b Add another column to your spreadsheet to nd the percentage prot on each item. c Which item made the greatest percentage prot?
2
Josie made a spreadsheet to record her living expenses for last year.
A 1 2 3 4 5 6 7 8 Living expenses Rent Heating Electricity Food Bus fares Phone Total B Last year 5200 500 300 3900 500 250 C Next year D Difference
AO2 AO3
Her rent, heating, electricity and phone bills are due to go up by 10%. She decides she is going spend the same on food. Her bus fares are going to go down by 20%. Design a spreadsheet to nd the total difference in her spending between last year and next year.
9
07-Chapter 07_001-022.indd 9 29/10/10 08:37:13
C AO2
AO3
AO2 AO3
Design a spreadsheet for a shop that has a 40% sale. Make up some items that could be in the sale. A garage charges 35 per hour when they work on a car. Design a spreadsheet so that they can work out the cost from 1 hour to 8 hours for working on a car. VAT is added at 20% to the garages charges. Add a column to your spreadsheet to nd the total cost after VAT has been added to the charges.
10
07-Chapter 07_001-022.indd 10 29/10/10 08:37:13
Get Ready Find the area and perimeter of these four shapes. All the shapes have the same height as the width of the rectangle (4 cm).
4 cm
6 cm
6 cm 3 cm
6 cm
6 cm
Key Points The copy function makes it very easy to build spreadsheets quickly. Example 6
length l Area width w
The area of a rectangle is given by the formula: The perimeter of a rectangle is given by the formula:
Alw P 2(l w)
You can use a spreadsheet to work out areas and perimeters of rectangles using these formulas.
A 1 Length (cm) 4 5 6 7 8 9 B Width (cm) 3 4 5 6 7 8 C Area D Perimeter
To find the area in cell C2 write: A2*B2 Then copy C2 into C3 down to C7.
2 3 4 5 6 7
To find the perimeter In cell D2 write 2*(A2 B2) or 2*A2 2*B2 Then copy D2 into D3 down to D7
11
07-Chapter 07_001-022.indd 11 29/10/10 08:37:19
Exercise 7F
C AO1
AO3
Ronnie wants to buy some carpets. She can buy 3 types of carpets, wool, nylon and sisal. Complete the spreadsheet so that she can compare the costs of carpeting some of the rooms in her house.
A 1 2 3 Length (cm) 4 5 B Width (cm) 3 4 C Area D E F Sisal 10 per m2 Wool 20 Nylon 15 per m2 per m2
AO1 AO3
Heidi wants to work out the cost of tiling her bathroom walls. All of the walls are rectangles. The tiles are going to be 30 cm high and 20 cm wide. Complete the spreadsheet so that Heidi can work out the total number of tiles she needs.
A 1 2 3 4 5 6 Base (cm) 2.4 2.4 1.8 1.8 B Height (cm) 2.1 1.5 2.1 1.2 Total D Tiles along the length E Tiles up the height F Tiles needed C2*D2
Hint To nd the number of tiles along the length use the formula A2/0.2 in cell C2
AO3
Rani wants to compare the perimeter and area of some right angled triangles.
hypotenuse
height
base
Complete the spreadsheet so that Rani can nd any triangles where the value of the area is numerically the same as the value of the perimeter.
A 1 2 3 4 5
AO2 AO3 AO2 AO3
B Height (cm) 4 12 8 24 5 13 10 25
C Hypotenuse (cm)
D Area
E Perimeter
Base (cm) 3 5 6 7
Use a spreadsheet to investigate and nd rectangles where the value of the area is numerically the same as the value of the perimeter. Use the internet to nd some Pythagorean triples like you used in Question 2. Find two more triangles where the value of the area is numerically the same as the value of the perimeter.
12
07-Chapter 07_001-022.indd 12 29/10/10 08:37:22
Key Points To nd the simple interest on an amount invested: To nd the compound interest on an amount invested: interest rate by the amount invested __________ 100 calculate the interest, and then add the interest to the original cost, and then repeat for each time period
Example 7
Simple interest In cell B2 write: 200*5/100 Then copy B2 into B3 down to B5. To find the total in cell C2 write: 200 B2 The running total can then be found by adding the new interest to the previous total.
Work out how much interest Sylvie earns. Francois invested 200 for 4 years at a compound interest rate of 5%. Work out how much money Francois had at the end of the 4 years. either
A 1 2 3 4 5 Year 1 2 3 4 B Interest 200*5/100 C2*5/100 C3*5/100 C Total 200B2 C2B3
Compound interest In cell B2 write: 200*5/100 To find the total in cell C2 write 200 B2. The new interest can then be found by using the contents of C2 as the new amount.
13
07-Chapter 07_001-022.indd 13 29/10/10 08:37:26
or
A 1 2 3 4 5 Year 1 2 3 4 B Total 200*1.05 B2*1.05 B3*1.05
Compound interest In cell B2 write: 200*1.05 To find the total in cell B3 you multiply the previous total in B2 by 1.05.
Exercise 7G
C AO2
AO3
Work out the money at the end of 5 years if 200 is invested using simple interest at: a 5% b 8% c 6% d 3% e 2.5% Work out the money at the end of 5 years if 200 is invested using compound interest at: a 5% b 8% c 6% d 3% e 2.5% Work out how long it would take to make 100 interest if 200 is invested using compound interest at: a 5% b 8% c 6% d 3% e 2.5%
14
07-Chapter 07_001-022.indd 14 29/10/10 08:37:28
Get Ready Stephen gets a bill from his plumber for 550. He gets a reduction of 10% for paying cash. How much does he have to pay?
Key Points When you buy a car the value goes down each year. This is called depreciation. This loss of value is expressed as a percentage of the previous value. The percentage is taken away from the original amount. Example 8 Jason bought a new car for 30 000. It depreciated 20% in the rst year and 10% in each year after that. Work out the value of the car at the end of 4 years. either
A 1 2 3 4 5 Year 1 2 3 4 B Depreciation 30000*20/100 C2*10/100 C3*10/100 Total 30000B2 C2B3 C
Depreciation In cell B2 write: 30000*20/100 To find the value in cell C2 write: 30000 B2 The new depreciation can then be found by using the contents of C2 as the new car value.
or
A 1 2 3 4 5 Year 1 2 3 4 Total 30000*0.8 B2*0.9 B3*0.9 B
Depreciation In cell B2 write: 30000*0.8 To find the total in cell B3 multiply the previous total in B2 by 0.9.
15
07-Chapter 07_001-022.indd 15 29/10/10 08:37:34
Exercise 7H
B AO2
AO3
Terri bought a used car for 20 000. It depreciated 10% in the rst year and 10% in each year after that. Work out the value of the car at the end of 4 years. Simon bought a new car for 25 000. It depreciated 20% in the rst year and 10% in each year after that. Work out the value of the car at the end of 4 years. Landi bought a used caravan for 5000. It depreciated at 5% a year. Work out the value of the caravan after 3 years. Gareth bought a small boat for 7000. It depreciated at 15% a year. Work out the value after 6 years. Sophie bought a new car for 25 000. It depreciated 30% in the rst year and 15% in each year after that. Work out the value of the car at the end of 5 years.
AO2 AO3
A AO2
AO3
AO2 AO3
AO2 AO3
16
07-Chapter 07_001-022.indd 16 29/10/10 08:37:34
Get Ready Leoni has a bill for servicing her car of 250. She has to pay VAT of 20%. What is her total bill?
Key Points When you borrow money, the interest charge is constantly added to the original amount. This can make the total interest payment add up to far more than you realise.
Example 9
Davids credit card company charges interest of 1.5% each month. David buys a new TV costing 500 using his credit card. He pays the card off at 25 each month. How long will it take him to pay off the cost of the TV in full?
A 1 Amount at beginning of month 500 D2 B Interest charges A2*1.5/100 A3*1.5/100 C Repayment D Amount at end of month A2B2C2
2 3 4 5 6 7
25 25 25 25
Credit cards In cell B2 write: A2*1.5/100 to work out the interest this month. To find the amount owed at the end of each month, add the interest and subtract the payment. Copy the amount owed at the end of one month to the beginning of the next month.
17
07-Chapter 07_001-022.indd 17 29/10/10 08:37:38
Exercise 7I
A AO2
AO3
Rachels credit card company charges interest of 1.5% each month. She buys new clothes costing 200 using her credit card. She pays the card off at 30 each month. How long will it take her to pay off the cost of the clothes in full?
A 1 Amount at beginning of month 200 D2 B Interest charges A2*1.5/100 A3*1.5/100 C Repayment D Amount at end of month A2B2C2
2 3 4
30
Ravis credit card company charges interest of 2% each month. He buys a new mobile phone costing 250 using his credit card. He pays the card off at 25 each month. How long will it take him to pay off the cost of the phone in full?
A 1 Amount at beginning of month 250 D2 B Interest charges C Repayment D Amount at end of month A2B2C2
2 3 4
25 25 25
Naomis credit card company charges interest of 1.75% each month. She buys a saxophone costing 750 using her credit card. She pays the card off at 50 each month. How long will it take her to pay off the cost of the saxophone in full?
A 1 Amount at beginning of month 750 D2 B Interest charges C Repayment D Amount at end of month A2B2C2
2 3 4 5
18
07-Chapter 07_001-022.indd 18 29/10/10 08:37:38
Review Spreadsheets can be used to do calculations using a formula e.g. A2 A3. Spreadsheets can be used to do calculations using a function e.g. sum(A2 : G2). You can draw graphs from information held in a spreadsheet. Spreadsheets can be used to nd statistical information e.g. mean, range etc. You can use a spreadsheet to work out percentages. Spreadsheets can be used to record nancial calculations. Spreadsheets can be used to work out interest on savings accounts, depreciation on things you buy and how to keep track of your credit card. Review Exercise
1
Ed buys items in car-boot sales and then sells them at auction. Here is part of the spreadsheet that Ed uses to work out his prot and loss.
A 1 2 3 4 5 6 7 B C Sold for 10 5 90 350 D Prot or loss Eds auction Bought for items Chair Table Picture Watch Train set Totals 5 10 25 5
AO2 AO3
Ed paid 15 for the Train set and sold it for 75. a Complete the spreadsheet for the Train set. b Find how much Ed bought and sold all the items for in total. c Use formulas to nd out how prot or loss Ed made on these items. d Use formulas to nd out Eds total prot on all of these items. e Find Eds total percentage prot on all of these items.
2
A plumber charges 45 per hour when he carries out repairs in a house. Design a spreadsheet so that the plumber can work out the cost from 1 hour to 8 hours for the time he works in a house. VAT is added at 20% to the plumbers charges. Add a column to your spreadsheet to nd the total cost after VAT has been added to the charges. Susie wants to work out the cost of tiling her bathroom walls. All of the walls are rectangles. The tiles are going to be 20 cm A B high and 15 cm wide. 1 Length (m) Height (m) Complete the spreadsheet so 2 2.7 2.4 that Susie can work out 3 2.7 1.6 the total number of tiles she 4 2.4 1.5 needs.
5 6 1.8 1.2 Total
AO2 AO3
AO2 AO3
E Tiles needed
19
07-Chapter 07_001-022.indd 19 29/10/10 08:37:39
C AO2
AO3
A Monday Tuesday Wednesday Thursday Friday Saturday Sunday 20C 16C 18C 20C 22C 26C 20C
B Temperature
A AO2
AO3
Sophie bought a new car for 20 000. It depreciated 20% in the rst year and 10% in each year after that. Work out the value of the car at the end of 5 years.
20
07-Chapter 07_001-022.indd 20 29/10/10 08:37:39
Answers
Answers
Chapter 7 Exercise 7A 1 a 2.45 b 10.30 2 a Week 2: 8.94, Week 3: 16.85, Week 4: 9.60 b Magazines: 7.80, Sweets: 5.39, Downloads: 10.30, Mobile top ups: 25 c 48.49 3 Answers will vary. 4 All answers in completed spreadsheet:
A 1 2 3 4 5 6 Living expenses Rent Heating Electricity Food Total B 250 25 18 132 425 C 250 38 20 145 453 D 250 28 19 139 436 E 250 22 15 142 429 F 1000 113 72 558 1743 Month 1 Month 2 Month 3 Month 4 Total
Exercise 7B Answers will vary. Exercise 7C See spreadsheet Exercise 7D 1 a b c d Maths: 49.7, Science: 53.6 Maths: 48, Science: 45 Maths: 52.5, Science: 56 Both the mean and median marks are higher for Science. The range is also lower for Science. Overall we can say that the students scored higher in Science and that there was a lesser spread of marks. Height: 25.3 m, Diameter: 30.2 cm Height: 35 m, Diameter: 50 cm Height: 23 m, Diameter: 22.5 cm It is difcult to compare the two sets of data as they are in different units. We could convert diameter to metres but we know that it will always be much smaller then height. However, we can see that mean and median are very close for height but vary more for diameter. As for the range, if taken as a proportion of the height/diameter, they can both be seen to have a large range. 3 a London rainfall: 49.5833 mm London temp: 14.5833 C Venice rainfall: 47.9167 mm Venice temp: 19.4167 C b London rainfall: 70 mm London temp: 24 C Venice rainfall: 75 mm Venice temp: 30 C c London rainfall: 47.5 mm London temp: 15 C Venice rainfall: 45 mm Venice temp: 21 C d The average rainfall is higher in London than Venice (looking at both mean and median) but Venice has a higher range in average monthly rainfall than London. Venice has a higher average temperature than London (again based on both mean and median) and Venice also has a larger range of average monthly temperatures.
2 a b c d
21
07-Chapter 07_001-022.indd 21 29/10/10 08:37:40
Exercise 7E
1 a-c See spreadsheet. d The teddy bear. 2 Her total difference in spending is 525. See spreadsheet. 3 Answers will vary. See spreadsheet for example. 4 See spreadsheet.
Exercise 7I
1 8 months 2 12 months 3 18 months
Review Exercise
1 a-d See spreadsheet. e 783% prot 2 See spreadsheet. 3 See spreadsheet. 4 See spreadsheet. 5 10 497.60
Exercise 7F
1 2 3 4 5 See spreadsheet. See spreadsheet. See spreadsheet. Answers will vary. See spreadsheet for example. Answers will vary.
Exercise 7G
1 a d 2 a d 3 a d 250 230 255.26 231.85 9 years 14 years b e b e b e 280 225 293.87 226.28 6 years 17 years c 260 c 267.65 c 7 years
Exercise 7H
1 2 3 4 5 13 122 14 580 4286.88 2640.05 9135.11
22
07-Chapter 07_001-022.indd 22 29/10/10 08:37:40