AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Picking the right cells

Week 5 · Unit 2: Be a data manager · 3 lessons
2

Which cells do I need?

Computing 6: Unit 2, pp. 22–39
GoalWork out which cells a calculation needs and write the formula for it.
New words
maximum · the highest value in a rangeminimum · the lowest value in a rangedifference · the answer when one value is taken away from another
Explanation

To find the cells for a task, first say in words what you want to know. Next find the column that holds that kind of data. Then find the rows of the items you need. Write the cell references and put them in a formula. If the cells are in a block, use a range in a function such as SUM or AVERAGE. If they are separate cells, write them with commas, or add them with plus signs. MAX finds the highest value in a range and MIN finds the lowest. Always check the answer by working it out by hand.

ABC
1ItemSoldPrice
2postcards402
3stickers651
4pens303
5badges204
6bags129
7magnets255
Worked examples
TaskCellsFormulaAnswer
total sold of postcards, pens and bagsB2, B4, B6=B2+B4+B682
The shop wants the total number sold of postcards, pens and bags. The numbers are in column B, in rows 2, 4 and 6. These cells are not in a block, so the formula is =B2+B4+B6. It shows 40 + 30 + 12 = 82.
TaskCellsFormulaAnswer
price of bags minus price of stickersC6, C3=C6-C38
The shop wants the difference between the price of bags and the price of stickers. Prices are in column C. Bags are in row 6 and stickers are in row 3, so the formula is =C6-C3, which shows 9 − 1 = 8.
FunctionRangeAnswer
MAXB2:B765
MINB2:B712
MAX and MIN work on a range. The difference between the most and the fewest sold is =MAX(B2:B7)-MIN(B2:B7). The most is 65 and the fewest is 12, so the answer is 53.
Class activity

Cell hunt (no computer): copy the zoo shop sheet on paper. An adult asks questions such as ‘How many pens were sold?’ and you answer with the cell reference and its value: B4 is 30. Then try harder ones: ‘Which cells would you use to find the difference between the price of badges and the price of postcards?’ Write the formula and the answer, and then check it with a calculator or on paper. If you have a computer or tablet, type in the sheet and try your formulas.

Practice
1
Which cells must be selected to draw a bar chart of the day against the number of comics lent?
ABCD
1DayFictionNon-fictionComics
2Mon1285
3Tue9117
4Wed15610
5Thu1094
6Fri14168
2
Which cells give the fiction books lent on Monday and Friday? What is the total?
ABCD
1DayFictionNon-fictionComics
2Mon1285
3Tue9117
4Wed15610
5Thu1094
6Fri14168
3
Which range gives the average number of non-fiction books lent each day? Write the function and the answer.
ABCD
1DayFictionNon-fictionComics
2Mon1285
3Tue9117
4Wed15610
5Thu1094
6Fri14168
4
Which cells give the difference between the comics lent on Wednesday and on Thursday? What is the difference?
ABCD
1DayFictionNon-fictionComics
2Mon1285
3Tue9117
4Wed15610
5Thu1094
6Fri14168