A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pivot Table sort



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2009, 08:49 PM posted to microsoft.public.excel.newusers
acss
external usenet poster
 
Posts: 153
Default Pivot Table sort

Hi,
I am trying to create a pivot table of of some small data and when it is
created it unsorts the dates. In my data sheet i have it as January 2008,
February 2008,March 2008 etc yet my columns in the pivot are not in that
order....how can i place them in the correct order?
  #2  
Old March 25th, 2009, 04:18 AM posted to microsoft.public.excel.newusers
Max
external usenet poster
 
Posts: 8,574
Default Pivot Table sort

Use a helper col to convert the text dates to real dates,
eg: In B2, copied down: = -- A2
where A2 down contains the text dates

Then pivot using col B instead of col A,
and it'll sort correctly in chrono order
(you can format it as date to taste)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:67
xdemechanik
---
"acss" wrote:
I am trying to create a pivot table of of some small data and when it is
created it unsorts the dates. In my data sheet i have it as January 2008,
February 2008,March 2008 etc yet my columns in the pivot are not in that
order....how can i place them in the correct order?

  #3  
Old March 26th, 2009, 10:27 PM posted to microsoft.public.excel.newusers
AltaEgo
external usenet poster
 
Posts: 115
Default Pivot Table sort

You did not mention your version.

In XL2003

Simply click on a date and use the sort icon from the standard toolbar.

OR

1) Right-click on the date field heading
2) Click "Field settings"
3) Click "Advanced..."
4) Choose "Ascending" or "Descending" and check your date field shows in the
"Using field" list box before pressing OK.

IF DATA ARE NOT IN DATE FORMAT, the result will be sorted alphabetically. If
so, this MAY help

http://office.microsoft.com/en-us/ex...165021033.aspx
--
Steve

"acss" wrote in message
...
Hi,
I am trying to create a pivot table of of some small data and when it is
created it unsorts the dates. In my data sheet i have it as January 2008,
February 2008,March 2008 etc yet my columns in the pivot are not in that
order....how can i place them in the correct order?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.