+ Reply to Thread
Results 1 to 7 of 7

sorting alpha numeric list by first left digit

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2006
    Posts
    2

    RE: sorting alpha numeric list by first left digit

    Thanks for the feedback.

    Formatting the column as text still gives me the same sort as with a numeric search. ie: shorter numbers are first.

    Andy Davidson

  2. #2
    CLR
    Guest

    Re: sorting alpha numeric list by first left digit

    Your sample data, when entered as TEXT, sorts as follows........
    001
    111
    2
    22-33
    3

    Vaya con Dios,
    Chuck, CABGx3



    "kaduna" wrote:

    >
    > Thanks for the feedback.
    >
    > Formatting the column as text still gives me the same sort as with a
    > numeric search. ie: shorter numbers are first.
    >
    > Andy Davidson
    >
    >
    > --
    > kaduna
    > ------------------------------------------------------------------------
    > kaduna's Profile: http://www.excelforum.com/member.php...o&userid=30422
    > View this thread: http://www.excelforum.com/showthread...hreadid=500921
    >
    >


  3. #3
    David McRitchie
    Guest

    Re: sorting alpha numeric list by first left digit

    For this and your previous answer, that is true if you format as text before entry.

    But formatting after entry does not change a number to text, nor text to
    a number so changing the format would have no effect until reentered.
    Reentering would remove leading zeros at least in Excel 2002.

    See my previous reply for how to deal with the situation described.
    There is also a link to a macro to fix numbers as formatted to text..
    http://www.mvps.org/dmcritchie/excel/sorting.htm#mixed .


    "CLR" <CLR@discussions.microsoft.com> wrote in message news:8FF10ABA-1C2A-4C1C-A240-575CCE978CDC@microsoft.com...
    > Your sample data, when entered as TEXT, sorts as follows........
    > 001
    > 111
    > 2
    > 22-33
    > 3
    >
    > Vaya con Dios,
    > Chuck, CABGx3
    >
    >
    >
    > "kaduna" wrote:
    >
    > >
    > > Thanks for the feedback.
    > >
    > > Formatting the column as text still gives me the same sort as with a
    > > numeric search. ie: shorter numbers are first.
    > >
    > > Andy Davidson
    > >
    > >
    > > --
    > > kaduna
    > > ------------------------------------------------------------------------
    > > kaduna's Profile: http://www.excelforum.com/member.php...o&userid=30422
    > > View this thread: http://www.excelforum.com/showthread...hreadid=500921
    > >
    > >




  4. #4
    CLR
    Guest

    Re: sorting alpha numeric list by first left digit

    Thanks David.......I thought I detected some "weirdness" there, (sometimes
    it worked, sometimes not), but thought it was just me......now I see
    why.....

    Vaya con Dios,
    Chuck, CABGx3



    "David McRitchie" <dmcritchie_xlmvp@verizon.net> wrote in message
    news:#iK7XUJGGHA.216@TK2MSFTNGP15.phx.gbl...
    > For this and your previous answer, that is true if you format as text

    before entry.
    >
    > But formatting after entry does not change a number to text, nor text to
    > a number so changing the format would have no effect until reentered.
    > Reentering would remove leading zeros at least in Excel 2002.
    >
    > See my previous reply for how to deal with the situation described.
    > There is also a link to a macro to fix numbers as formatted to text..
    > http://www.mvps.org/dmcritchie/excel/sorting.htm#mixed .
    >
    >
    > "CLR" <CLR@discussions.microsoft.com> wrote in message

    news:8FF10ABA-1C2A-4C1C-A240-575CCE978CDC@microsoft.com...
    > > Your sample data, when entered as TEXT, sorts as follows........
    > > 001
    > > 111
    > > 2
    > > 22-33
    > > 3
    > >
    > > Vaya con Dios,
    > > Chuck, CABGx3
    > >
    > >
    > >
    > > "kaduna" wrote:
    > >
    > > >
    > > > Thanks for the feedback.
    > > >
    > > > Formatting the column as text still gives me the same sort as with a
    > > > numeric search. ie: shorter numbers are first.
    > > >
    > > > Andy Davidson
    > > >
    > > >
    > > > --
    > > > kaduna

    > >

    > ------------------------------------------------------------------------
    > > > kaduna's Profile:

    http://www.excelforum.com/member.php...o&userid=30422
    > > > View this thread:

    http://www.excelforum.com/showthread...hreadid=500921
    > > >
    > > >

    >
    >




+ 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