Unable to get Sort to treat week days and months as TEXT string and not a date

wadezone

New Member
Joined
Apr 23, 2018
Messages
7
I have an Excel column with song titles in it. When I do a Pivot table and sort the data by the songs it keeps putting the song titles "Saturday" and "September" at the top with the numbers instead of down in the "S"s. I am assuming it is treating these as numbers instead of text like September is 09 or 9.

What I need is to these date reference names to be in the sort based on the text.

Below is what I am getting
SATURDAY
SEPTEMBER
02 RAIN FROM FALLING 1
03 EASE AWAY THE PAIN 1
04 RUNNING OUT ON ME 1
06 ANYTHING 4 LUV 1
07 GIVE IT TO ME 1

This is what I need.
[TABLE="width: 451"]
<colgroup><col></colgroup><tbody>[TR]
[TD]SATAN S BREATH 1 [/TD]
[/TR]
[TR]
[TD]SATURATE 6 [/TD]
[/TR]
[TR]
[TD]SATURDAY [/TD]
[/TR]
[TR]
[TD]SATURDAY AT THE MALL ALT 60 [/TD]
[/TR]
[TR]
[TD]SATURDAY MORNING [/TD]
[/TR]
[TR]
[TD]SATURDAY NIGHT 2 [/TD]
[/TR]
[TR]
[TD]SATURDAY NIGHT 3 [/TD]
[/TR]
[TR]
[TD]SAVAGE PEAK [/TD]
[/TR]
</tbody>[/TABLE]


Thanks in advance
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try this. Select the PivotTable you create, and go to PivotTable Options (either right-click on it, or under Analyze->PivotTable->Options drop-down). Move to the Totals and Filters tab, and at the bottom, uncheck "Use Custom Lists When Sorting".

See if that helps.
 
Upvote 0
iliace - PERFECT! That did it. It sorts correctly. Thank you so much. I searched the internet for hours with no luck. Adding that to my tips/treat list.
 
Upvote 0
Cool, glad it worked :cool: It took me a little poking around to find that setting, too - I knew I had seen it before, but didn't know where exactly, never had it be an issue until I tried your sample data :laugh:
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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