sorting dates on a pivot table

smdoung

New Member
Joined
Feb 24, 2011
Messages
1
Hi,
I'm trying to sort dates on a pivot table, but its not sorting.
They are in this format from Google Analytics.

Monday, January 24, 2011
Tuesday, January 25, 2011
Wednesday, January 26, 2011
Thursday, January 27, 2011
Friday, January 28, 2011
Saturday, January 29, 2011
Sunday, January 30, 2011
Monday, January 31, 2011
Tuesday, February 1, 2011
Wednesday, February 2, 2011
Thursday, February 3, 2011

Does anyone know how to sort that? Or, do I need to convert it to another format first? If I need to convert, how do I convert?

Thanks!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
They are strings ... do Data/Text To Columns, option Delimited, with delimiters of Space and "," and treat consecutive delimiters as one. Set the first field as "Skip" and then perform the conversion. You will have 3 columns of data ( make sure that you have room to do this ... i.e. have empty columns to the right of this data when you do this operation ) ... and then join the 3 columns like this to make a real date:
Code:
=DATEVALUE(B1&"/"&A1&"/"&C1)
and format as a date in whatever format you like ( Cell formatting ). It will then sort how you like.
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

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