Simple clear advice in plain English

How to sort table data alphabetically in Excel

Temporarily insert a row in an Excel spreadsheet to sort a column alphabetically

Q I know how to sort the data in a single column, but how do I sort a table so the column headings are arranged alphabetically?

The headings are hotel names. If the name starts with ‘The’, that word should be ignored. I’m using Excel 2007.
Kitty Jones

A The easiest way to do this is to temporarily insert a row above the headings and enter numbers to indicate the preferred order; 1 for the column of labels on the left, 2 for the first hotel, 3 for the second and so on.

Highlight the whole table and choose Home, Editing, Sort, Custom Sort.

In the Sort dialogue box the boxes should read Sort by Row 1, Sort On Values and Order Smallest to Largest.

Click the Options button and choose, ‘Sort left to right’. Now OK out.

Delete the temporary row and the job’s done. Readers using earlier versions of Excel can choose Sort on the Data menu and click the Options button to find the same Sort left to right facility.

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Make email newsletters with Word illustration

Use Word 2003 or 2007 to create attractive email newsletters

Word can help you make an email newsletter containing photos and clickable links. We show you how to make the most of Microsoft's templates

Word's undo feature

How to fix common PC errors

It’s easy to hit the wrong key when using a PC and throw yourself into a panic. There's no need to worry - we have easy fixes for 30 common everyday errors

337-f3-lp

How to sort lists easily in Word, Excel and Open Office columns

Microsoft Office and Open Office word processing and spreadsheet programs have simple ways of sorting lists of data in tables and spreadsheets

Question & Answer

Q.Why can't my browser find the website address I typed...

> Read the answer

Q.All updates have been downloaded, so why won't Windows...

> Read the answer

Q.How do I stop Windows 7 search?

> Read the answer

Best deals on the web

img

Apple MacBook Pro (MC724LL/A)

£999.99- Buy it now

img

Sony Vaio VPCF23P1E/B

£679.98- Buy it now

img

Samsung 300E5A-A01DX

£449.99- Buy it now

Great benefits for subscribers!

Poll

Which is your preferred web browser

Jargon Buster

Computing terms explained in plain English

Router

A device used to connect more than one computer or other device to the internet.

Great shopping deals from Computeractive