+ Reply to Thread
Results 1 to 3 of 3

Custom Sort items not in alpha order

  1. #1
    Forum Contributor
    Join Date
    12-15-2005
    MS-Off Ver
    Office 2007
    Posts
    346

    Custom Sort items not in alpha order

    I want to setup a filter for column B but don't want to sort by alphabetical order. Column B will have just 3 values. "Day", "Swing" & "Grave".

    With the sort function, it will sort them by alphabetical order Day, Grave, Swing. Can I setup a custom sort filter so that it will sort Day, Swing then Grave?

    See attached.

    Thanks,
    Nick
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Custom Sort items not in alpha order

    in column E cell E4 put
    =LOOKUP(LEFT(B4),{"d","g","s"},{1,3,2})
    fill down then sort by col E
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Custom Sort items not in alpha order

    How about this idea?

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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