Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vincdc
 
Posts: n/a
Default Pivot table sort order

Hello:
I have a pivot table which is sort by week number 1-52. How can I show the
order as 26-52 and then 1-25.
Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Debra Dalgleish
 
Posts: n/a
Default Pivot table sort order

You could calculate the week number to include a prefix, e.g.:

=IF(WEEKNUM(A2)=26,"A-","B-")&TEXT(WEEKNUM(A2),"00")

and the weeks would sort as you want them.

Vincdc wrote:
Hello:
I have a pivot table which is sort by week number 1-52. How can I show the
order as 26-52 and then 1-25.
Thanks in advance!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
Vincdc
 
Posts: n/a
Default Pivot table sort order

Thanks for you answer! But I do not have the Analysis ToolPak add-in on my
computer; so I had to sort the order manually.


"Debra Dalgleish" wrote:

You could calculate the week number to include a prefix, e.g.:

=IF(WEEKNUM(A2)=26,"A-","B-")&TEXT(WEEKNUM(A2),"00")

and the weeks would sort as you want them.

Vincdc wrote:
Hello:
I have a pivot table which is sort by week number 1-52. How can I show the
order as 26-52 and then 1-25.
Thanks in advance!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot table sort entries that don't yet appear in table rachael Excel Discussion (Misc queries) 11 September 19th 05 11:29 PM
How to get pivot table Time field to appear correctly wccmgr Excel Worksheet Functions 1 August 23rd 05 12:26 AM
Order Data in Pivot Table Non ascending or Decending [email protected] Excel Discussion (Misc queries) 1 June 3rd 05 01:00 PM
pivot table dates are out of order how do I correct them D Beals Excel Worksheet Functions 3 May 18th 05 05:55 PM
pivot table in data source order Murray Excel Discussion (Misc queries) 1 December 24th 04 09:01 PM


All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"