+ Reply to Thread
Results 1 to 6 of 6

Sort by end letter?

  1. #1
    Registered User
    Join Date
    12-10-2008
    Location
    Kansas
    MS-Off Ver
    2007
    Posts
    91

    Sort by end letter?

    I have a column with part numbers and some part numbers have an R at the end. My goal is try to sort all these 'R' part numbers but simply sorting goes by number first...


    For example...

    744491R
    740011
    739002
    738790
    738491
    738491R
    744491

    I want...
    744491R
    738491R...then the rest

    Thanks!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sort by end letter?

    Are you sorting in Descending order... if so, it seems to work with the R parts on top in descending order.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-10-2008
    Location
    Kansas
    MS-Off Ver
    2007
    Posts
    91

    Re: Sort by end letter?

    Quote Originally Posted by NBVC View Post
    Are you sorting in Descending order... if so, it seems to work with the R parts on top in descending order.
    well its actually more complicated with some products starting with Letters or Words

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sort by end letter?

    Can you give a big sampling and show the expected order including some of the other possible combinations?

  5. #5
    Registered User
    Join Date
    12-10-2008
    Location
    Kansas
    MS-Off Ver
    2007
    Posts
    91

    Re: Sort by end letter?

    here is an example of what I am trying to do... I want all # ending in F by each other, when I sort they dont as the excel workbook shows

    Thanks!
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sort by end letter?

    Is this indicative of all your records? I.e. is it only the -F endings you want grouped separately?

    if so, then in a helper column enter: =--(RIGHT(A2,2)="-F") copied down

    Then sort by this column first, then the main column.

+ 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