fbpx

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

Share

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
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

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
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

Chandoo is an awesome teacher
5/5

– Jason

Excel formula list - 100+ examples and howto guide for you

100 Excel Formulas List

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

20 Excel Templates

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

Weighted average formula in excel

Weighted Average in Excel [Formulas]

Learn how to calculate weighted averages in excel using formulas. In this article we will learn what a weighted average is and how to Excel’s SUMPRODUCT formula to calculate weighted average / weighted mean.

What is weighted average?

Wikipedia defines weighted average as, “The weighted mean is similar to an arithmetic mean …, where instead of each of the data points contributing equally to the final average, some data points contribute more than others.”

Calculating weighted averages in excel is not straight forward as there is no built-in formula. But we can use SUMPRODUCT formula to easily calculate them. Read on to find out how.

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