+ Reply to Thread
Results 1 to 28 of 28

Options in filter aren't alphabetical

  1. #1
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Question Options in filter aren't alphabetical

    Hello everyone,

    I can't figure out why my filter isn't alphabetical, see image for reference.

    Normaly via Google I can find my awnsers, but it's realy hard to search on 'filter alphabetical' and such.

    This filter is part of a Pivot table. Please let me know if any more information is needed.

    2024-02-05 08_49_26-.png
    Attached Files Attached Files
    Last edited by blubb458; 02-05-2024 at 04:12 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    Without a sample file to look at (instead of a picture), it's hard to say. I've tried including leading spaces and non-printing characters, but Excel still sorts them numerically then alphabetically...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    Excuse me, I forgot to attache it. It's now included in the post.

  5. #5
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    Thanks for the reply, I've forgot to attache it. But it's there now!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,134

    Re: Options in filter aren't alphabetical

    Some of your "numeric" values are left aligned which indicates they are text values that look like numbers rather than true numeric values.

    Try using Text to Columns to convert the values.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    I see it. But... so far I cannot find the problem. Yes, the column A values are in a special format... but even if I convert them to ordinary numbers, the same happens. When I add my own data (Sheet 1) it's fine.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    TMS, that doesn't work. It's very odd...

  9. #9
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Options in filter aren't alphabetical

    I had to remake the Pivot Table to fix it after conversion.
    Attached Files Attached Files

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    It's not fine with your data when I look at it, Glenn - it's still not in ascending order.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    In Sheet 3, I copy/pasted the VALUES from the original data and formatted column A as 0000. I then set uo the Pivot table, formattting IT as 0000. It's fine now.

    No idea what was going on in your original data, though.
    Attached Files Attached Files

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    I attached the wrong file at Post 7. Refer to Post 11

  13. #13
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    Quote Originally Posted by TMS View Post
    Some of your "numeric" values are left aligned which indicates they are text values that look like numbers rather than true numeric values.

    Try using Text to Columns to convert the values.
    Thanks, this makes it indeed look neatly, but unfortunately it does not resolve the problem.

  14. #14
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    Quote Originally Posted by Glenn Kennedy View Post
    In Sheet 3, I copy/pasted the VALUES from the original data and formatted column A as 0000. I then set uo the Pivot table, formattting IT as 0000. It's fine now.

    No idea what was going on in your original data, though.
    I see in your file you've fixed it, thanks. What doe you mean with: "I then set uo the Pivot Table..." ? I'm not formilliar with the term "uo".

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    Typo. uo = up

  16. #16
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    Thanks for all the help so far Glenn, I see; I've recreated your steps and I also could make it work for the example file.

    However, my real datasheet contains Colum A to NQ with around 8000 rows, the Pivot table is gigantic and realy specific. To remake this Pivot table would cost me half a day. So I actually need a different fix then remaking the pivot table.
    Last edited by AliGW; 02-05-2024 at 06:01 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    ?? What's taking the time?

  18. #18
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    The datasheet is in Dutch, and the pivottable needs to be in English. So every colum is translated via the Pivottable. Since the size of the sheet it takes a lot of time to find the correct colum for the Pivot table with the correct translation. Then after that, every hit in the Pivot table need specific settings on the values tab.
    Last edited by AliGW; 02-05-2024 at 06:01 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    Why don't you switch your locale to an English one?

  20. #20
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    We have a tool running which creates a weekly .csv file on the Sharepoint, this is a export of the logistic data. My datasheet has a query reading this file. Unfortunally the export file has Dutch headers, even if I translate them, after the weekly update it's back in the original language.
    Last edited by AliGW; 02-05-2024 at 06:00 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    This sounds like a bizarre set-up to me.

  22. #22
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    What is bizar about the setup? The logistic software doesn't provide the analitic tools with the needed data, so there is a export with the data to work with it in Excel. I think it's the most normal thing to do for a bussiness.

    Furthermore: bizar or not, I still have the problem with the filter. I can't be the first person on the world with this issue, the sample sheet I've made in like 2 minutes and the problem already shows; there must be a logical explanation.
    Last edited by AliGW; 02-05-2024 at 06:23 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    I meant the different language settings.

    I am sure you are not the first in the world to have had this issue, but it would appear to be related to those different language settings. I don't think many other people here, if any, will have a dual-lingual set-up like that, but let's wait and see.

    What none of us is going to be able to determine for you is WHY exactly this is happening. I don't think there'll be any automatic solution, but there are some clever people here, so again, let's wait and see. It might require VBA.

    Administrative Note re. Forum Guideline #2:

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter and rarely necessary.

    If you are responding out of sequence, it is usually enough just to mention the helper's user name (e.g @AliGW).

    If you do need to quote, limit the quoted section just to the section to which you wish to draw your helper's attention or a direct question to which you wish to respond.

    For normal conversational replies, try using the QUICK REPLY box below or the REPLY button instead of REPLY WITH QUOTE.

  24. #24
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    I can be almost certain that it doesn't come from the language. In my Example file there isn't any translations. The sheet was made as follow:

    1. For the data sheet:
    1.1 - 3 colums with the first: unique ID's;
    1.2 - Second: letters A-F randomly distrubtly;
    1.3 - and last: A random selection of 3-digit numbers with repetion of the selection;
    2. On a another tab create a Pivot with in the filter field the third colum.

    That the setup and somehow Excel can't make it logical.

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    My misunderstanding of this, then:

    The datasheet is in Dutch, and the pivottable needs to be in English. So every colum is translated via the Pivottable.
    Sorry.

  26. #26
    Registered User
    Join Date
    02-05-2024
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Options in filter aren't alphabetical

    I've found the solution. Thanks to Glenn who converted the colum to numbers I came to the solution.

    I went to the Query connection > In the Power Query-editor change the colum to 'whole numbers' and done. Now it's in good order!

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,924

    Re: Options in filter aren't alphabetical

    Great news! Thanks for letting us know.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

  28. #28
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Options in filter aren't alphabetical

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Replies: 4
    Last Post: 05-18-2021, 08:46 AM
  2. [SOLVED] Filter list won't display in alphabetical order
    By Gooford in forum Excel General
    Replies: 2
    Last Post: 11-09-2016, 10:43 AM
  3. Replies: 0
    Last Post: 03-20-2015, 11:39 AM
  4. [SOLVED] Pivot report filter no longer alphabetical after source data change
    By Platinum3x in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-10-2013, 04:15 AM
  5. Filter Options
    By vidthas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-24-2011, 08:49 AM
  6. Filter options
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2010, 11:32 AM
  7. Replies: 2
    Last Post: 01-22-2010, 04:00 PM

Tags for this Thread

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