How to sort data by column headers instead of rows in Excel?
Generally, we can easily sort data by rows in ascending or descending order. However, have you ever tried to sort data by column headers? This means that you need to sort data horizontally as below screenshot shown.
Sort data by column headers
Actually, there is an option in Sort function can help you to sort data by column headers.
1. Select the data range you want to sort by column heads, and click Data > Sort. See screenshot:
2. In the popping Sort dialog, uncheck My data has headers, and click Options to display the Sort Options dialog, and check Sort left to right. See screenshot:
3. Click OK. And then select Row 1 from the Row drop down list, and specify the Sort on and Order as you need. See screenshot:
4. Click OK. Now the selected range has been sorted by column headers.
Best Office Productivity Tools
Supports Office/Excel 2007-2021 and 365 | Available in 44 Languages | Easy to Uninstall Completely
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need Is Just A Click Away...
Supercharge Your Excel Skills: Experience Efficiency Like Never Before with Kutools for Excel (Full-Featured 30-Day Free Trial)
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day! (Full-Featured 30-Day Free Trial)
