To clear a sort from an Excel column, the quickest reliable fix is Data > Sort, click the Options button, then choose Reset — or, if you only want to restore the original order, press Ctrl+Z immediately after sorting, before you do anything else. Clearing a sort rarely means the data was damaged; it means the rows were reordered and you want the old sequence back, or a sort arrow is still sitting in the header and you want the filter controls gone. The method you pick depends on which of those two things you actually need.
It helps to be clear about what Excel is storing. Excel does not keep a "sort" as a separate object you can switch off. It simply rearranges rows. So "clearing a sort" in practice means one of three things: undoing the reorder (via Undo or by re-sorting on a column that restores the original sequence), removing the filter and its arrows from the header row, or resetting a custom sort order you created. Menu labels can differ slightly by version, device and region, so if a name looks different on your copy, look for the closest equivalent.
What You'll Need
- Excel on Windows, Mac, or Excel for the web (the steps are close, but where they differ the desktop version is described)
- Your workbook open, and ideally a saved copy if the sort was accidental
- A column whose original order you can identify — for example an ID column, a date entered column, or a hidden helper column of row numbers
Step-by-Step
1. Try Undo first
- If you have just clicked a sort and the workbook has not been saved since, press Ctrl+Z (Windows) or Cmd+Z (Mac).
- Check that the rows are back to their previous order. If the undo is greyed out or the file was saved after sorting, move on to step 2.
2. Remove the filter arrows from the header
- Click any cell inside your data.
- Go to Data on the ribbon.
- Click Filter to toggle the filter buttons off. The dropdown arrows disappear from the header row and the rows underneath do not move.
- If you only want to clear the filter criteria but keep the arrows, use Data > Clear in the Sort & Filter group, which resets the filter to show everything again.
Toggling Filter off is the right answer when what bothers you is the little arrow in the column header, not the row order. It leaves your data untouched, so it is the safest option.
3. Reset a custom sort order
- Select the range or click inside the table.
- Go to Data > Sort to open the Sort dialog.
- Click Options, then click Reset. This clears the current sort levels back to default.
- Click OK to close Options, then Cancel to close the Sort dialog without applying anything.
This clears the sort definition — the list of levels like "Sort by Region, then by Sales descending" that Excel remembers for the sheet. It does not put your rows back in the original order.
4. Restore the original row order
- If you have a column that preserves original order (an ID, a sequential number, a creation date), right-click that column's header and choose Sort Smallest to Largest from the context menu.
- Confirm Expand the selection if Excel asks, so whole rows move together rather than that single column.
- Check the result against the saved copy if you have one.
If no such column exists, the original order is gone unless you have an unsaved undo, a backup, or a version saved by the file's version history. In Excel for the web, open the file's version history from the file name's dropdown menu on the document header and restore an earlier version if one exists.
5. Sort by row number as a temporary fix
- Insert a helper column beside your data.
- Type 1 in the first row and 2 in the second, select both, and drag the fill handle down to number every row.
- Before any future sort, include this helper column in the selection so it stays intact.
- To return to the original order, sort the helper column ascending, then delete the helper column.
Common Mistakes
- Sorting a single column instead of the whole table. Clicking a column and hitting Sort A to Z without expanding the selection shuffles that column's values while the rest of each row stays put. The rows are now mismatched, which is far worse than a wrong order. Always click inside the data and let Excel select the whole range, or use a proper table.
- Assuming Undo will work after saving. Once a workbook is saved and reopened, undo cannot reach back past the save. That is when the helper column or version history matters.
- Confusing Clear Filter with Clear Sort. Data > Clear resets filter criteria. It does not reverse a sort and never will.
- Deleting the filter arrows expecting the order to change. Removing filters leaves rows exactly where they are.
- Sorting on a formula column that recalculates. If the formula references something that changes, the sort looks like it un-sorted itself. Sort on a pasted static column if the order must hold.
Tips
- Format your range as a table with Ctrl+T (Windows) or Cmd+T (Mac). Tables keep rows together automatically, so the mismatched-row mistake becomes nearly impossible.
- Keep an untouched copy of the original file, or a "raw data" sheet nothing is ever sorted in, and do analysis on a copy.
- Add a permanent ID column when you create the data. It is the cheapest undo for sorting you will ever have.
- If you sort often, recording a small macro that restores a known order by ID saves repeated work.
- When the goal is only pristine-looking headers, hide the filter arrows rather than reworking the data.
Troubleshooting
- Undo is greyed out. The workbook was saved, closed, or the action limit was exceeded. Use the helper column, version history, or a backup copy.
- The data looks scrambled in the wrong way. You likely sorted one column without expanding the selection. Undo immediately; if that is impossible, restore a backup or an earlier version of the file. Mixing rows requires repair, not a re-sort.
- Rows look sorted but are not. Cells may be stored as text rather than numbers, so "10" comes before "2". Select the column, then use Data > Text to Columns to convert, or re-enter the values as numbers.
- The sort keeps coming back after you reset it. Excel does not re-apply a sort on its own; something is running again — a macro, a refresh of a query or a data connection, or a person re-sorting. Check for refresh settings on the connection and disable auto-refresh.
- Filter arrows will not disappear. The range may sit inside a table (tables always show filter buttons) or the workbook may be protected. Use Review > Unprotect Sheet if you own the file, or remove the table with Convert to Range.
Frequently Asked Questions
Does Excel have a button that simply turns a sort off?
No. A sort is a one-time rearrangement of rows, not a saved setting. You reverse it with Undo, with a helper or ID column, or with an earlier version of the file. The Sort dialog's Options > Reset only clears the remembered sort levels.
Does removing the filter remove the sort?
No. Toggling Filter off removes the dropdown arrows from the header row only. The row order below the header stays exactly as it was after the last sort.
Why do the filter arrows show on some columns and not others?
The filter is applied to the whole range, but Excel only draws arrows on cells it treats as part of the header row. Merged header cells and blank rows in the middle of data are the usual causes of missing arrows. Unmerge and reapply the filter.
Can I stop the rows from being sorted at all?
You can lock it down: protect the sheet via Review > Protect Sheet, with sorting disallowed, so the data can be read but not reordered. This is the closest Excel gets to freezing the order.
Does the mobile app behave the same way?
Excel on iPhone and Android has a smaller ribbon. Sorting is available from the in-app menu, but custom sort levels and Options > Reset are typically not offered, so for a full reset use the desktop app or Excel for the web.
What is the safest way to sort without losing the original order?
Add an ID or helper column first, select the entire range, and sort with that column intact. You can then restore the original order any time by sorting the helper column back to ascending.