Sorting and filtering
Reorder rows and hide the ones you don’t need.
Sorting reorders whole rows by one column, smallest to largest or largest to smallest, and the header row stays on top. Filtering hides the rows that don’t match a condition without deleting them. You can filter first and then sort what is left.
Example: Filter Region to East, then sort Sales largest to smallest.
- Keep only the East rows — Filter hides the rest
- Order them by Sales, largest first — Sort
- The top row is the best East sale — Read row 2
Why it works: Sorting moves whole rows so each name stays with its own numbers, and filtering only hides rows, so the data is never lost.
Tip: Always select the whole table before sorting, or one column can get sorted away from the rest of its row.