How to Put Sort Arrows in Excel: Step-by-Step
In this article
To put sort arrows in Excel, you need to turn your data range into an Excel Table (or apply AutoFilter). The quickest way: select any cell in your data, press Ctrl+T (Cmd+T on Mac), confirm the range and that your data has headers, and click OK. Excel adds a drop-down arrow to every header cell, and those arrows let you sort and filter. If you do not want a full table, go to Data > Filter (or press Ctrl+Shift+L) to add the same arrows to a normal range.
What You'll Need
- Excel for Windows, Mac, or Excel for the web (the steps are nearly identical; menu labels can differ slightly by version, device, or region).
- A worksheet with data arranged in columns, ideally with a single header row at the top.
- No blank rows or fully blank columns inside the range you want to sort (Excel may treat them as the end of the data).
Step-by-Step
- Prepare your data. Make sure each column has a heading in the first row, and that there are no merged cells in the header row. Remove any blank rows that sit inside the data. Save a backup copy if the data is important.
- Select the data. Click any single cell inside your data range. You do not need to highlight the whole range; Excel will detect the surrounding block. If your data is in a formatted table already, skip to step 5.
- Create a table (recommended). Press Ctrl+T (Windows) or Cmd+T (Mac). In the Create Table dialog, confirm the range and tick My table has headers if your first row contains column names. Click OK. Every header now shows a small drop-down arrow.
- Alternative: use AutoFilter on a normal range. If you prefer not to convert to a table, select your data (including headers), then go to Data > Filter (or press Ctrl+Shift+L). The same arrows appear in the header row. Press the shortcut again to remove them.
- Test the arrows. Click the arrow in a column header. A menu opens with Sort A to Z, Sort Z to A, and Sort by Color (if your cells have fills or font colors). Choose one to sort the whole table by that column. The arrows remain visible so you can re-sort at any time.
- Use custom sort if needed. For more control, click the arrow and choose Sort... (or go to Data > Sort). In the Sort dialog you can add levels, choose Sort by a specific column, and set Order to A to Z, Z to A, or a custom list. This is useful when you want to sort by two columns (for example, department, then last name).
- Remove the arrows when done. For a table, click any cell in the table and go to Table Design (called Table on Mac) and clear the Filter Button checkbox. For a normal range, select the data and press Ctrl+Shift+L again, or go to Data > Filter to toggle it off.
Common Mistakes
- Leaving blank rows or columns inside the data. Excel may treat the blank as the end of the range, so only part of your data gets sorted. Delete or fill blank rows before adding arrows.
- Merged cells in the header row. Merged headers prevent Excel from creating a clean table or filter. Unmerge them (Home > Merge & Center) and put one heading per column.
- Sorting only a column instead of the whole table. If you select a single column and click Sort, Excel may ask whether to expand the selection. Always choose Expand the selection so rows stay together. With a table or AutoFilter, this is handled automatically.
- Forgetting that the arrows are filters too. The drop-down arrow is not just a sort button; it also opens filter checkboxes. If you tick or untick items, you hide rows. Clear the filter (Data > Clear) if rows seem to disappear.
- Assuming arrows appear on every sheet automatically. Each table or range needs its own filter. A new sheet starts without arrows.
Tips
- Use Ctrl+T rather than AutoFilter when you plan to add rows later: tables expand automatically and keep the arrows in place.
- Name your table (Table Design > Table Name) so formulas and references are easier to read.
- To sort by multiple columns quickly, click the arrow in the first column and choose Sort A to Z, then repeat for the next column. For precise control, use the Sort dialog.
- If you want arrows only for sorting and not filtering, you can hide the filter checkboxes by clearing Filter Button in Table Design, but that also removes the sort arrows. There is no built-in way to show sort arrows without the filter menu.
- On Excel for the web, the same Table and Filter commands are on the Insert and Data tabs; the right-click menu may not include all options.
Troubleshooting
- Arrows do not appear after Ctrl+T. Check that you selected a cell inside the data and that the range is not part of a protected sheet. On a protected sheet, filtering may be disabled; unprotect via Review > Unprotect Sheet (you will need the password).
- Arrows appear but sorting does nothing. The sheet may be in manual calculation mode or the data may be grouped. Press F9 to recalculate, and check Data > Group and Outline > Clear Outline if rows are grouped.
- Only some columns get arrows. This usually means the range has a blank column. Select the full intended range and reapply the table or filter.
- Sorting scrambles rows. You likely sorted a single column without expanding the selection. Undo immediately (Ctrl+Z), then sort again using the table arrows or the Sort dialog with Expand the selection.
- Arrows disappeared after saving. If you saved as .csv, table formatting and filter arrows are not stored. Save as .xlsx to keep them.
Frequently Asked Questions
Can I add sort arrows without making a table?
Yes. Select your data and use Data > Filter (or Ctrl+Shift+L). This adds the same drop-down arrows to a normal range. The difference is that a table automatically expands when you add rows, while a filtered range does not.
Why do my sort arrows show filter checkboxes instead of just sorting?
In Excel, the header arrow is a combined sort and filter menu. There is no separate sort-only arrow. You can sort from the top of the menu, and you can ignore the checkboxes if you do not want to filter.
How do I remove the arrows?
For a table, click inside it, go to Table Design, and clear Filter Button. For a normal range, select the data and press Ctrl+Shift+L again, or go to Data > Filter to toggle it off.
Do the arrows work on Excel for Mac?
Yes. The shortcuts are Cmd+T for a table and Ctrl+Shift+L for Filter (on some Mac keyboards you may need to use the Data menu instead). Menu names are the same: Data > Filter, Table Design > Filter Button.
Can I sort by more than one column using the arrows?
Yes, but the arrow menu sorts one column at a time. For multi-level sorts, use Data > Sort and add levels. The arrows will still reflect the current sort state.
Why did my arrows vanish after I saved as CSV?
CSV files store only plain text, not table formatting or filter settings. Save the workbook as .xlsx to keep the arrows and table structure.