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

Forms and spreadsheets

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

Setting out a sheet

Computing 6: Unit 2, pp. 22–39
GoalSet out a spreadsheet with labels, one data item per cell and the right number format.
New words
label · text that says what the data in a row or column meandata item · a single piece of data, such as one name or one numbernumber format · the way a cell shows its data, such as text, number, currency or datecolumn · a line of cells going down, named with a letter
Explanation

A good spreadsheet has a plan. First decide what data you will store, and give each kind a label at the top of its column. Put every data item in its own cell. Never put text and a number together in one cell, because the sheet cannot sort or add them. Then give each column the right number format. Names use text. Counts use number. Prices use currency, which shows two decimal places, so 8.5 in the sheet below would show as 8.50. Dates and percentages have their own formats. Last, use formulas wherever the sheet can work something out for you.

ABC
1ItemPrice per boxBoxes sold
2apples8.512
3pears67
4plums9.510
Worked examples
Set out badlySet out well
one cell: apples 12cell A2: apples and cell B2: 12
Sara has typed ‘apples 12’ in one cell. The sheet sees it as text, so it cannot add the 12 to anything. When she puts the name in column A and the number in column B, the sheet can add, sort and chart the numbers.
DataNumber format
a name such as pearstext
a count such as 12 boxesnumber
a price such as 8.50currency
5 Marchdate
25%percentage
Each column uses the format that matches its data.
ABC
1ItemPrice per boxBoxes sold
2apples8.512
3plums9.510
4pears67
Because the labels are in the first row, the sheet can sort the rows by any column. Here the rows are sorted by boxes sold, largest first. Each row stays together.
Class activity

Paper spreadsheet (no computer): rule a grid on squared paper with the columns Book, Pages and Days to finish. Fill in four books you have read. Decide the number format for each column. Add a fourth column called Pages per day. Work out each answer by dividing Pages by Days, and write the rule you used. Then circle the row with the most pages per day. If you have a computer or tablet, type the table into a spreadsheet and use a formula for the fourth column.

Practice
1
What is wrong with the way this sheet is set out, and how should it be set out instead?
A
1Player and goals
2Ali 9
3Sara 12
4Tom 4
2
Choose a number format for each. (a) the price 3.50, (b) a pupil’s name, (c) the number of tickets sold, (d) 40%, (e) 12 March.
3
Write the labels for row 1 of a sheet about a school bake sale. It must hold the item, the price of one, the number sold and the money collected.
4
Why should each data item be in its own cell?