fbpx
Search
Close this search box.

Changing Sort Orientation in Excel – Sorting across columns instead of rows

Share

Facebook
Twitter
LinkedIn

change-sort-orientation-excel-columns

how-to-sort-across-columns-orientation-change

You can sort data across columns instead of rows by changing sort options. If you ever had to sort across columns now you know a simple way to do this 🙂

Follow these steps for changing sort orientation:

  • Select the table you want to sort (just the data, not the headers as when you change sort orientation, you cannot set header rows)
  • Go to Data > Sort
  • Click on Options
  • Set “Sort Orientation” to “left to right” instead of “top to bottom” as shown below:
    sort-options-to-change-orientation
  • Click OK

Also see: How to count words in an excel cell, Fill only weekdays when auto-filling dates, Find unique items in a list

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

10 Responses to “Changing Sort Orientation in Excel – Sorting across columns instead of rows”

  1. [...] this? Also learn how to sort horizontally, fill only weekdays while auto-filling dates Tags: Excel Tips, how to, learn, random, [...]

  2. [...] if your data flows from left to right instead of top to bottom. Just change the sort orientation from “sort options” in the data > sort [...]

  3. [...] if your data flows from left to right instead of top to bottom. Just change the sort orientation from “sort options” in the data > sort [...]

  4. Chris Scheffler says:

    Thank you so much
    I wasted so much time looking for a formula to sort some values. Then I found this site. Data Tab, then Sort. It's so easy.
    Thanks again.

  5. Jamal says:

    Thanks........

  6. [...] if your data flows from left to right instead of top to bottom. Just change the sort orientation from “sort options” in the data > sort [...]

  7. Mithilsh says:

    Fantastic info......thanks Chandoo

  8. Marcel says:

    Thanks a lot for this tip.
    One thing however: I'm trying to sort a "table" horizontally , but this doesn't work: the option "from left to right" is grayed out. Guess I have to do it with a macro which (a) first converts the table into a normal range, then (b) sort the range horizontally and (c) finally convert the range back into a table. I'm sure this will work but I wonder if I'm still missing something here.

    • Martel says:

      Yes you are correct, I have just written an application that does exactly that. Point to watch - make sure table and range sizes match before and after the sort.

Leave a Reply