+ Reply to Thread
Results 1 to 5 of 5

Sort by Custom List Not Working

  1. #1
    Registered User
    Join Date
    12-05-2018
    Location
    pittsburgh, pa
    MS-Off Ver
    365 for Mac
    Posts
    14

    Sort by Custom List Not Working

    I have a report I receive that I can't change the way the layout is exported, but I need the columns in a different order. I created a custom list with the column names in the order I need them. The list appears to have imported correctly, and when I type in the first value in the list, and then autofill down, the list autofills exactly the way I expect.

    When I try to actually use this list to sort with however, it looks like excel is only taking the first 14 or so values, and then is sorting the rest of the columns alphabetically, ignoring my custom list.

    I've got a workaround in the meantime where I create a new sheet, autofill the list in the order I need, add a helper row to my original sheet with a match function to get the row number from the workaround sheet. I then can just sort by number smallest to largest. But I'd like to be able to do the sort without the extra steps.

    Im on Office365 for Mac

    Sheet attached. Worksheet named "Original" is the columns how I receive them, and "Order" is the custom list I'm trying to use to sort them.
    Attached Files Attached Files
    Last edited by maximiliax; 05-04-2022 at 01:38 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Sort by Custom List Not Working

    Sorry, I may be missing it.. . but you need to add more information in the test file there.

    I can sort the ORDER tab and everything is effected... there is nothing in here that follows your porblem... Please update so someone here can assist.
    -If you think you are done, Start over - ELeGault

  3. #3
    Registered User
    Join Date
    12-05-2018
    Location
    pittsburgh, pa
    MS-Off Ver
    365 for Mac
    Posts
    14

    Re: Sort by Custom List Not Working

    I apologize for being unclear. I've attached a new worksheet. The "original" tab shows the columns in the order I receive them.

    The second tab, "Order" shows the order I need the columns in. I imported this list into my custom lists.

    The third tab, "incorrect Result", is a copy of "original", with the columns sorted by the custom list imported from "Order".

    It appears to apply the custom list sort up until Column P, at which point the order changes to alphabetical order a-z.

    I'm sure that the full list is being imported, because I can autofill the list by typing "Time" and then dragging down 68 rows. It just appears that excel isn't accepting the full list for sorting.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,726

    Re: Sort by Custom List Not Working

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    12-05-2018
    Location
    pittsburgh, pa
    MS-Off Ver
    365 for Mac
    Posts
    14

    Re: Sort by Custom List Not Working

    I apologize. It's been a while, and I should have re-read the forum rules before posting. I originally posted this at the MrExcel Board

    They let me know there as well that I should always disclose if I've cross-posted a query.

+ 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. Custom Number Sort Not Working
    By chparkervatech in forum Excel General
    Replies: 1
    Last Post: 09-22-2021, 12:27 PM
  2. Custom Sort not working
    By YellaBooshty in forum Excel General
    Replies: 1
    Last Post: 02-10-2020, 05:29 AM
  3. [SOLVED] Sorting by custom sort order not working
    By JavdHo in forum Excel General
    Replies: 12
    Last Post: 06-27-2018, 03:27 PM
  4. [SOLVED] Custom Sort not working
    By OxJ in forum Excel General
    Replies: 5
    Last Post: 03-31-2017, 09:25 AM
  5. [SOLVED] Custom sort is not working
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-01-2015, 08:52 PM
  6. [SOLVED] Custom Sort not working
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-20-2013, 02:11 AM
  7. Excel sort by Fill Color by custom list sort
    By Dash4Cash in forum Excel General
    Replies: 2
    Last Post: 07-29-2005, 06:05 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