How to alphabetize a list while ignoring articles?
February 20, 2008 12:24 PM
Subscribe
Can I alphabetize data in Excel (or elsewhere) while ignoring the articles "the", "a" and "an"?
I am a DJ, and I would like to have a printed-out list of all the songs I have so people can approach my DJ table, flip through the list and make requests. So far I've made up a playlist of all my songs in iTunes, exported it as a text file, and imported it into Excel as a .csv file. I only want columns for "Artist Name" and "Song Title", so I delete all the other columns. Then I sort my list alphabetically, first by Artist Name and then by Song Title.
The problem is that artist names or song titles that begin with "The", "A" or "An" get sorted under "T" or "A", and I don't want them to. For instance, I want "The Beatles" to be sorted under "B" and "A Tribe Called Quest" to be sorted under "T". I could manually go through iTunes and change all my song and artist names that begin with "the", "a" or "an", but that would take some time and I'm hoping there's a way to do this in Excel or elsewhere.
I found this web app called
The Alphabetizer, but it doesn't seem to be able to ignore the definite article "the", and it counts the words "some" and "any" as indefinite articles when I don't want it to.
Any ideas? Thanks!
posted by Burns Ave. to computers & internet (10 comments total)
5 users marked this as a favorite
1. Sort by artist name in Excel.
2. Go to the "A" section, select all artist cells starting with "A" (Select one, scroll down, hold shift, and then hit the last one).
3. Do a Find and Replace. Check match capitalization. Find "A " (that's capital A, then space--leave the quotes out). Replace it with nothing.
4. Do a run through and double-check to make sure it didn't muck up any artists with the word "a" in their name.
5. Do similar with An and The.
posted by almostmanda at 12:32 PM on February 20 [1 favorite]