+ Reply to Thread
Results 1 to 4 of 4

Sort The list of items by Alpha / numeric in their proper sequential order

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    United States
    MS-Off Ver
    Mac Excel 2011
    Posts
    64

    Sort The list of items by Alpha / numeric in their proper sequential order

    I am having trouble sorting the following item. If I start our with P1,it will go Form Rev.1-Template.xlsxto P11 instead of P2,P3, and vice versa.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Sort The list of items by Alpha / numeric in their proper sequential order

    You need to pad the numbers out to constant length, e.g., change P1 to P01, for sorting. Or you could use some formulas:

    Please Login or Register  to view this content.
    J3 and copy down, =LEFT(A3)

    K3 and copy down, =--MID(A3, 2, 3)
    Entia non sunt multiplicanda sine necessitate

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

    Re: Sort The list of items by Alpha / numeric in their proper sequential order

    or use since you only have one leading alpha
    =LEFT(A3)&TEXT(RIGHT(A3,LEN(A3)-1),"000")
    "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

  4. #4
    Registered User
    Join Date
    11-24-2012
    Location
    United States
    MS-Off Ver
    Mac Excel 2011
    Posts
    64

    Re: Sort The list of items by Alpha / numeric in their proper sequential order

    @MartinDwilson it worked. I remove two of the zero's and set a custom filter A001,Z999. This sorts them in their sequential order.

+ 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