
Here you will learn to sort a spreadsheet without scrambling it. You will sort a whole table by one column, keep each row together, and restore the original order if you need it. Sorting a column alone is the mistake that ruins a list of customer payments.
A spreadsheet stores rows, and each row is one record: a name with its amount, a date with its item. Sorting reorders whole rows. Sorting a single column reorders only that column, and the names no longer match their amounts.
What you will need
- A spreadsheet with a list of at least ten rows.
- About fifteen minutes.
Sort the table, not the column
- Click one cell inside your data, not a whole column.
- Press Ctrl and A once to select the current block of data.
- Open Data, then Sort range, and tick that the range has a header row.
- Choose the column to sort by, and whether it is A to Z or Z to A.
- Press Sort, then read the first three rows to confirm names still match amounts.
- If it looks wrong, press Ctrl and Z at once, which restores the order completely.
You will see the header row stay at the top while the data beneath it reorders. That is the sign you sorted the table rather than a column, and it is worth checking every time.

It looks like clicking the column letter and pressing sort is faster. It is faster, and it separates every name from its figure, which is the most expensive spreadsheet mistake there is.
Keep a way back
A sorted list has lost its original order unless you plan for it. Two habits make sorting reversible.
- Add a numbered column first, such as 1, 2, 3, so you can sort back to the starting order.
- Or save a copy of the sheet before sorting, named with the date.
- Use Ctrl and Z immediately if a sort went wrong, before any other action.
- Sort by date when you want the newest at the top, which is usually more useful than alphabetical order.
- Do not merge cells inside a table, because sorting refuses to run on merged rows.
- Freeze the header row from View, then Freeze, so it stays visible while you scroll.
None of this takes more than a minute, and the numbered column has saved more bookkeeping than any filter.

Filter instead of sorting
Sometimes you do not want to reorder the list. You want to see part of it, which is what a filter does.
- Select the data and choose Data, then Create a filter.
- Small arrows appear in the header row.
- Click an arrow and choose the values you want to see.
- The other rows are hidden, not deleted, and they return when you clear the filter.
- Use a filter to answer questions like which payments are unpaid.
- Clear the filter before you print or share, or the reader sees a partial list.
Do not worry about hiding data by accident. A filter is a view, and the rows are still there underneath it.
Troubleshooting
There is a way through each one.
- The names no longer match the amounts: undo at once with Ctrl and Z. If you already saved, restore the copy.
- The header row sorted into the data: undo, then sort with the header box ticked.
- Sorting refuses to run: there are merged cells in the range. Unmerge them first.
- Some rows did not move: they were outside the selected range. Select the whole block again.
- The filter hides rows you need: clear the filter from Data, then Remove filter.
- The list has lost its original order and no numbers were added: sort by a date column, or restore your saved copy.
Your turn
One table, sorted three ways, with the original order kept.
- Make a table with Name, Amount, and Date, and ten rows.
- Add a numbered column from 1 to 10.
- Sort by Amount, largest first, and check two names still match their figures.
- Sort back to the original order using the numbered column.
- Apply a filter and clear it again.
You can now put a list in order without breaking it. In the next lesson you will print a spreadsheet that fits on one page instead of six.
Free browser practice lab
Practise formulas in Spreadsheet Lab
Run live SUM, IF, SUMIF, and VLOOKUP drills right in your browser.



