+ Reply to Thread
Results 1 to 2 of 2

Need to sort a row by last 5 numbers only

  1. #1
    Registered User
    Join Date
    10-14-2015
    Location
    Pomona CA
    MS-Off Ver
    2010
    Posts
    2

    Need to sort a row by last 5 numbers only

    Hello I have a situation where I have 101 rows and need to sort the vin column by the last 5 digits only is this possible?

    Hello Unit # Qty Rcvd RMS Stk # Make Model Spec # Ord.# Ordered VIN Ship To / Upfitter

    1 of 101 W4236 Chevy 2500 242FG02 SQNC30 6/2 1GB0CUEG1FZ548375 Phenix Stock w/switches
    2 of 101 W4251 Chevy 2500 242FG02 SQNC31 6/2 1GB0CUEG9FZ548494 Phenix Stock w/switches
    3 of 101 W4278 Chevy 2500 242FG02 SQNC32 6/2 1GB0CUEG3FZ548801 Phenix Stock w/switches
    4 of 101 W4257 Chevy 2500 242FG02 SQNC33 6/2 1GB0CUEG0FZ548674 Phenix Stock w/switches
    5 of 101 W4281 Chevy 2500 242FG02 SQNC34 6/2 1GB0CUEG2FZ548868 Phenix Stock w/switches
    6 of 101 W4289 Chevy 2500 242FG02 SQNC35 6/2 1GB0CUEG9FZ548754 Phenix Stock w/switches
    7 of 101 W4267 Chevy 2500 242FG02 SQNC36 6/2 1GB0CUEG5FZ548587 Phenix Stock w/switches
    8 of 101 W4220 Chevy 2500 242FG02 SQNC37 6/2 1GB0CUEGXFZ548228 Phenix Stock

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,859

    Re: Need to sort a row by last 5 numbers only

    Use another column to extract the last five digits of the VIN column, then include that column within your sort range and use it as the sort field. I can't easily tell which column you use for VIN, but assuming it is column L you would have this formula to extract the last five digits and turn them into numbers:

    =RIGHT(L2,5)*1

    Copy this down as far as you need to, then do your sort.

    Hope this helps.

    Pete

+ 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. Sort numbers
    By mihulea in forum Excel General
    Replies: 14
    Last Post: 01-08-2015, 10:57 AM
  2. [SOLVED] How do you sort item numbers targeting only specific numbers?
    By matt323 in forum Excel General
    Replies: 10
    Last Post: 12-29-2013, 01:15 AM
  3. Replies: 1
    Last Post: 12-28-2013, 11:46 PM
  4. [SOLVED] sort using vba want to sort text-as-numbers
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2013, 11:46 AM
  5. Sort Numbers
    By gerocha in forum Excel General
    Replies: 11
    Last Post: 06-07-2013, 05:56 PM
  6. [SOLVED] How to merge a numbers from 3 cells, eliminate repetitive numbers, and sort such numbers?
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2012, 11:59 AM
  7. Sort numbers
    By thudpucker in forum Excel General
    Replies: 3
    Last Post: 07-20-2009, 11:52 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