Ignore commas when alphabetizing a list of song titles

JeannineM

New Member
Joined
Jun 28, 2011
Messages
1
I'm creating a spreadsheet with all the sheet music we have in our music library and I've run into a problem with the alphabetical sorting. Here's an example:

A song titled "Holy, Holy, Holy" comes before "Holy Spirit, Come Now" alphabetically, but Excel is sorting it as "Holy Spirit, Come Now" and then "Holy, Holy, Holy".

Is there any way I can get Excel to ignore the commas in the titles and sort alphabetically as if they weren't there? Someone I asked in person suggested removing all the commas from the titles, but I can't really do that...they need to be there.

I've looked for answers to this question everywhere and I've found nothing, so I'd be very grateful if you could help me.

Thanks,
Jeannine
 
Last edited:

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Jeannine
Have you considered putting in a "helper" column adjacent to you list.
In the helper column put the formula
Code:
=SUBSTITUTE(A1,","," ")
and copy down
Now sort by that column.
Once it is sorted delete that column
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,854
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top