+ Reply to Thread
Results 1 to 12 of 12

PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

  1. #1
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Hello, I got the following PivotTable:

    mtovb5.png (http://i61.tinypic.com/mtovb5.png )

    The problem is that FR is before all the other values. Also when I sort it from Z-A "FR" is at the very end.

    What am I doing wrong here?

    Thanks!

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Hi,

    Can you please post a sample template of your workbook in excel instead of an image file?

  3. #3
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Hello,

    thanks for your answer. I attached the workbook.

    You can find the pivot table in the sheet "DataLists". It takes a list from the sheet "Rawdata"

    I deleted other columns due to the large file size.EPPC_v021_withoutmacros.xlsx

    Thanks!

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Hi,

    Please check the attached file and see if the issue is resolved.




    Please click on ‘ * Add Reputation’ button on the left side bottom of my post if I was helpful in resolving the issue.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Yes that works perfectly Could you please tell me how you did it? I would like to do that on the original workbook (with macros and more columns in the data)

    Thanks!

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    I plotted the Pivot Table again and saved the workbook, it works most of the times..

  7. #7
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Not working for me

    What I did:
    1) Delete old Pivot
    2) Made new Pivot
    3) Saved it
    4) Showed geo\time

  8. #8
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Good news!! I found the solution, here on the forum: http://www.excelforum.com/excel-char...-properly.html

    Quote Originally Posted by bhanra View Post
    For anyone stumbling upon this thread looking for an answer: To go Pivot Table Options --> Totals & Filters tab --> un-check "Use Custom Lists when sorting"

    I had a similar problem with a pivot table always putting "Phase" above all other row items. Turns out I had a custom sort list that started with "Phase". You can find your custom sort lists by selecting a range of data then Data tab --> Sort --> select "Custom List" from Order dropdown. In my case, I had a macro that at one point created a custom list and it was still sitting there.

    Works in Excel 2010, probably 2007.



    To make this solution work, do as told in the quote AND THEN: Sort it from Z->A and then again A->Z (there seems to be a problem with the refresh, however like that it works)
    Last edited by chrisignm; 05-04-2014 at 08:27 AM.

  9. #9
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Sorry to write here again, but I also found the reason WHY "FR" was always put in front:
    I got a custom list "Mo, Di, Mi, Do, Fr, Sa, So" ... the weekdays in German (see your custom lists with Data tab --> Sort --> select "Custom List" from Order dropdown)

    That's why Excel got confused!

    Hope this may help someone in the future.

  10. #10
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Thank you This would definitely help someone in the future..

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    I downloaded your workbook and had no problem at all sorting the Pivot table correctly without making any changes at all.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  12. #12
    Registered User
    Join Date
    03-24-2014
    Location
    Vienna, Austria
    MS-Off Ver
    Excel 2010
    Posts
    72

    Re: PivotTable: Problem with AutoSort (from A-Z) => first value is not sorted

    Quote Originally Posted by newdoverman View Post
    I downloaded your workbook and had no problem at all sorting the Pivot table correctly without making any changes at all.
    Probably you dont have a customized list that contains "Fr" like me. (for German workdays)

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Autosort Problem?
    By tony0710 in forum Excel General
    Replies: 3
    Last Post: 06-20-2010, 09:01 AM
  2. Excel Sorting Problem- need a table sorted
    By nemonat in forum Excel General
    Replies: 2
    Last Post: 01-03-2008, 10:01 AM
  3. Pivottable Problem
    By simonvk in forum Excel General
    Replies: 3
    Last Post: 06-01-2007, 04:15 AM
  4. Pivottable problem
    By Agamemnon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2005, 10:05 AM
  5. PivotTable Problem
    By stanshoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2005, 01:06 PM

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