Skip to content
Hellosheetwise
Question

How do I sort and filter data?

Select the whole list, including the header, then sort or filter from the Data menu. A filter hides rows. It does not delete them.

DataBeginner5 minExcel · Google Sheets

Answer

Select every column in the list, including the header row. Sorting a single column pulls values away from the rest of their row, so a name can end up next to the wrong amount.

A filter hides rows that do not match. Turn the filter off, or tick the hidden values again, to see the full list. Hidden rows are still in the file.

The sales overview template is one list you can sort after you download it. The template itself does not add a sort button.

Steps

  1. 1. In Excel

    Select the list. On the Data tab, choose Filter. Arrows appear on the headers. Use an arrow to sort, or clear the ticks for values you want to hide. For a dialog, choose Sort on the Data tab and keep “My data has headers” on when the first row is labels.

  2. 2. In Google Sheets

    Select the list. Choose Data, then Create a filter. To sort a selected block without rearranging the whole sheet, choose Data, then Sort range, and turn on “Data has header row” when the first row is labels.

  3. 3. Check the header

    After sorting, the header should still be the first row. If the header is mixed into the data, undo, select the list again, and tell the app that the first row is a header.

Related