Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I sort the columns of an Excel spreadsheet? The Sort command from the Data menu only allows me to sort rows by the value of a column. I want to sort the columns alphabetically by the contents of a specific row.

How can I do this?

share|improve this question
up vote 25 down vote accepted

Its a custom sort in the Data sorting.

From the Data tab click on the Sort button to open the Sort dialog box, click on Options to open the Sort Options dialog box and select Sort left to right. See here for more info. enter image description here

share|improve this answer
+1 I learned something new today!! :) – Kaze Aug 1 '11 at 15:08
Me too :) my first answer was that it was not possible, then I decided to check – soandos Aug 1 '11 at 15:08
Great answer, especially with the illustrations -- thanks! – Super Chicken Aug 2 '11 at 14:35
wish there were a way to do this in early versions – datatoo Jul 20 '12 at 20:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .