Excel 2010 - Sorting column headings containing dates won't work.

I can't seem to sort a row of dates in a column heading.  Are there any tips, tricks and traps anyone can share?
Yes, I tried right clicking and changing the sort methodology to "jan, feb, mar" but it STILL didn't sort correctly.
My Pivot table data comes from a SQL server.  Does this make a difference?
brothertruffle880Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
I'm sure the Excel experts here would be able to give you an Excel UI-specific answer, but in SQL this situation dictates returning a numeric month that is sortable, and sort on that, even if that column is hidden.  Then the display column is Jan, Feb, Mar..
0
brothertruffle880Author Commented:
Hi Jim:
I'm getting dates from SQL that are formatted like this:
8/22/2013  [next excel cell to the right]  8/27/2013   [next excel cell to the right]   9/1/2013  
and I can't seem to sort it in proper date order.
0
redmondbCommented:
brothertruffle880,

I suspect that Excel thinks that those cells are text rather than dates. Please enter the number 0 in a cell and copy that cell. Then, select the date cells and do a Paste Special, selecting "Value" and "Add". That should convert the text dates to the numbers that Excel uses for dates. (You'll see something like 41513 for today's date - just change the cells' format to a date one.)

If this doesn't work then please post a file with just those cells.

Edit: Oops, is your PC's time in mm/dd/yyyy format?

Thanks,
Brian.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brothertruffle880Author Commented:
THANK YOU!!!!!
It was in text and had random embedded SPACES!!!!!!!!!!!!!!
0
redmondbCommented:
Thanks, brothertruffle880.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.