+ Reply to Thread
Results 1 to 8 of 8

Sorting Problem with Numbers and Text

  1. #1
    Registered User
    Join Date
    12-05-2013
    Location
    Kolkata, India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Sorting Problem with Numbers and Text

    I have problem with Structural drawings member numbering. I have beam no. like 01B1, 01B2, 01B3, 01B4, 01B5, 01B6, 01B7, 01B8, 01B9, 01B10, 01B11, 01B19, 01B20, 01B21, 01B22, 01B30, 01B31, 01B32, 01B39,01B40,01B42.
    When I am sorting it with A~Z, it's not working properly. it is coming like, 01B1, 01B10, 01B11, 01B19, 01B2, 01B20, 01B21, 01B22, 01B3, 01B30, 01B31, 01B32, 01B39, 01B4, 01B40, 01B42, 01B5, 01B6, 01B7, 01B8, 01B9.
    Even after using "=TEXT(A1,00)" formula too. Please help.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Sorting Problem with Numbers and Text

    Please attach a sample workbook.

    Deep
    Cheers!
    Deep Dave

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Sorting Problem with Numbers and Text

    Hi, sdsantra,

    maybe try to use 01B01 instead of 01B1 using
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    if just the number is located in A1.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    12-05-2013
    Location
    Kolkata, India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sorting Problem with Numbers and Text

    Hello Sir,
    I know 01B01 or 01B001 will work. But i want with above nos. But i have 02B1~27, 03B1~16 etc. Till now "=TEXT(A1, "00")", it is not working.

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Sorting Problem with Numbers and Text

    Hi, sdsantra,

    as you are sorting alphanumerical items the numbers will be sorted by coming up - so any 01B1 will be sorted first. Working aruund this could be to split the item up into the next cells and sort on theses (column(s) may be hidden afterwards):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Ciao,
    Holger

  6. #6
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Sorting Problem with Numbers and Text

    Try this:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-05-2013
    Location
    Kolkata, India
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sorting Problem with Numbers and Text

    Hello Sir,
    It is now working. Thank u all very very much...............

  8. #8
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Sorting Problem with Numbers and Text

    Hi, sdsantra,

    maybe mark this thread as Solved via Thread Tools over the first post of this thread if you found an answer to your question.

    Ciao,
    Holger

+ 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. Sorting text and numbers
    By jaws1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-03-2012, 05:43 PM
  2. [SOLVED] Excel 2007 : Help with Sorting numbers and text
    By suzyblue in forum Excel General
    Replies: 6
    Last Post: 05-30-2012, 01:44 PM
  3. Excel 2007 : Problem sorting Numbers as Text (String)
    By MarvinP in forum Excel General
    Replies: 5
    Last Post: 08-08-2010, 10:48 PM
  4. sorting numbers with text
    By Coors in forum Excel General
    Replies: 4
    Last Post: 11-13-2008, 05:27 PM
  5. [SOLVED] SORTING TEXT AND NUMBERS
    By jstephenson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-10-2006, 04:50 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