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

hacks , Learn Excel , technology - 10 comments

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

Chandoo

Hello Awesome...

My name is Chandoo. Thanks for dropping by. My mission is to make you awesome in Excel & your work. I live in Wellington, New Zealand. When I am not F9ing my formulas, I cycle, cook or play lego with my kids. Know more about me.

I hope you enjoyed this article. Visit Excel for Beginner or Advanced Excel pages to learn more or join my online video class to master Excel.

Thank you and see you around.

Related articles:

Written by Chandoo
Tags: , , , , , , ,
Home: Chandoo.org Main Page
? Doubt: Ask an Excel Question

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


« »