+ Reply to Thread
Results 1 to 4 of 4

Sorting in Pivot

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2010
    Posts
    138

    Sorting in Pivot

    Hi, Please advise how to customize sorting in pivot table. It sorts alright when sorting Column A. But when I tried Sorting Column C - it does not work as it first follows the order of Column A. Please refer to attachment for better understanding.

    Pivot sorting.xls

    Thank you in advance..

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sorting in Pivot

    But when I tried Sorting Column C - it does not work as it first follows the order of Column A.
    This is the way Pivot sort behaves as all columns depends on the column on their left side

    workaround :- If your work permits, copy pivot and do paste special values and then you can do sort as you need
    and I know, this way is already known to you.

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor
    Join Date
    10-26-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Sorting in Pivot

    Thank you dilipanday. I think I would have to do exactly like that. But as much as possible i prefer to work on pivot where sorting is refreshable. I found this VBA in internet - I tried this out to see if it works. However it does not run -it asked me to create name. What could have went wrong?

    Please Login or Register  to view this content.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Sorting in Pivot

    that code will only refresh the table when you change a value on the worksheet-it has nothing to do with sorting
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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