+ Reply to Thread
Results 1 to 3 of 3

Pivot table sort order

  1. #1
    Vincdc
    Guest

    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. #2
    Debra Dalgleish
    Guest

    Re: 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. #3
    Vincdc
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1