7.3 Working with lists – sorting
The Sort feature is very useful when working with spreadsheets. A list can be sorted numerically and alphabetically.
![TS0719](https://www.cambridge.edu.au/go/epub/library/pit2/OEBPS/images/module07/TS0719.png)
Spreadsheets exercise 3
Sorting
Skills practised
- New file
- Sorting data
- Saving a file
- Access the Inventory workbook downloaded from the link above.
- Enter a formula to calculate the
VALUE
column (i.e.COST
multiplied byNO ON HAND
). - Enter a formula to calculate the retail price – it should be 50% more than the cost price (i.e. cost multiplied by 1.5).
- Click on any cell in the Supplier column then click on the
SORT A TO Z
button on theDATA
tab to sort the list by supplier.
For Google Sheets, click onDATA
thenSORT A TO Z
. - Click on any cell in the
RETAIL PRICE
column then click on theSORT ASCENDING
button to sort by retail price from lowest price to highest price. - Click on any cell in the table then click on
SORT
in theDATA
ribbon and chooseNAME
. Google Sheets, does not have this feature – skip to step 10. - Click on
ADD LEVEL
and click onSUPPLIER
. - Click on
ADD LEVEL
and click onRETAIL PRICE
to sort by. - Click on
OK
– your inventory list should appear the same as that shown below. - Save the file and close.
Spreadsheets exercise 4
Spreadsheet lists
Skills practised
- New file
- Entering text
- Sorting data
- Saving a file
- Open the workbook Telephone sales downloaded from the link above.
- Sort the list by
SALES
– highest to lowest. - Sort the list by
SALESPERSON
. - Sort the list by
MONTH
thenSALESPERSON
thenPRODUCT
. - Leave the file open for the next exercise or
SAVE
andCLOSE
.