ADVERTISEMENT
ADVERTISEMENT

How to alphabetize data in an Excel spreadsheet by column or row, and by using shortcuts

It's easy to alphabetize data in a Microsoft Excel spreadsheet by row or column using the "Sort" feature.

microsoft excel

One of the most common functions in an Excel spreadsheet is sorting data alphabetically.

This feature is extremely helpful for organizing lists of names, cities, and more. While there are several ways to alphabetize rows and columns, the most reliable way is to give instructions within the "Sort" feature, which is found in the "Data" tab.

Additionally, there are shortcuts to quickly reorganize cells from "A to Z" or from "Z to A." These shortcuts are found in both the "Data" and "Home" tabs.

ADVERTISEMENT

Excel automatically tries to alphabetize vertically by column, but you can easily adjust this setting to sort horizontally by row.

Here's how to do it.

ADVERTISEMENT

1. Open the Excel spreadsheet you need to alphabetize on your Mac computer or PC .

2 . Select the data you want to sort, or do not highlight anything if you wish to sort the entire document.

3. Navigate to the "Data" tab found at the top of the page.

ADVERTISEMENT

4. Click "Sort" located in the middle of the toolbar.

5. This will open a pop-up with details of how to sort your rows and columns. Excel will automatically populate instructions to sort data by Column A from A to Z.

6 . Click the "Column" drop-down menu to change to Column B (or another column if you have more than two).

ADVERTISEMENT

7. If your list has headers, check the box in the upper right-hand corner. This will eliminate the top row from the sorting, and the column will now be labeled as such (instead of Column A).

8. Select whether you still want to organize by this first column or from a different column by clicking the "Column" dropdown menu again.

9. Select whether you want to alphabetize from "A to Z" or from "Z to A" from the dropdown menu under "Order."

10. Press "OK" after making your selections. This will automatically repopulate your columns in alphabetical order (or backwards, if you choose).

ADVERTISEMENT

These options, along with quick shortcuts, are also found in the "Home" tab.

1. You can also alphabetize by row in the same "Sort" option.

2. Open the "Sort" popup again, and click the "Options" button.

ADVERTISEMENT

3 . You will be asked if you want to sort from top to bottom or from left to right. Select "Sort left to right" to alphabetize by row instead. ( Excel automatically tries to alphabetize by column first.)

4. Click "OK."

5. You can also click the minus (-) button to remove the column action entirely, and start over by creating a new instruction. Click the plus (+) button and then "Options" to specify ordering by row.

ADVERTISEMENT

6. Remember to check "My list has headers" if this applies.

7. Select whether you want to alphabetize from "A to Z" or from "Z to A" from the dropdown menu under "Order."

8. Press "OK" after making your selections. This will automatically repopulate your columns in alphabetical order (or backwards, if you choose).

ADVERTISEMENT

These options, along with quick shortcuts, are also found on the "Home" tab.

You can also quickly alphabetize by clicking the "AZ" or "ZA" shortcuts. This is an easy way to reorder cells, especially for highlighting just a small batch of data.

However, Excel will automatically try to sort by your first column (or by your last saved instructions), so it's often best to use the "Sort" feature to specify rows or columns as described above.

1. Select the cells you want to alphabetize.

ADVERTISEMENT

2 . Navigate to the "Data" tab, where you will see "AZ" and "ZA" buttons located in the center of the toolbar next to the "Sort" feature.

3. Click which way you want to organize cells.

4. Depending on what selection you made, you may be greeted with a pop-up confirming this area of your spreadsheet. Select "Continue with the current selection" followed by "Sort..." if this happens. This will reorder just the data you highlighted. Click "Cancel" if you made a mistake and would rather sort the entire document.

ADVERTISEMENT

5 . You can also find these "AZ" and "ZA" shortcuts in the "Home" tab.

ADVERTISEMENT

See Also:

SEE ALSO: The best all-in-one PCs you can buy

JOIN OUR PULSE COMMUNITY!

Unblock notifications in browser settings.
ADVERTISEMENT

Eyewitness? Submit your stories now via social or:

Email: eyewitness@pulse.ng

ADVERTISEMENT
ADVERTISEMENT