+ Reply to Thread
Results 1 to 7 of 7

Sorting Help

  1. #1
    Registered User
    Join Date
    07-22-2008
    Location
    GA
    Posts
    9

    Sorting Help

    Hello Everyone,

    I'm used to using the Sort function on the new excel but I have run into a new problem. My list starts with text and then has numbers in it, I am to sort the list by the numbers and ignore the text. My current list has items such as:

    Gym 1.101
    Gym 1.102
    Gym 2.101
    Gym 2.102
    Gym10.101
    Gym10.102

    When I sort, the Gym10.101 goes in front on Gym 2.101 to look like:

    Gym 1.101
    Gym 1.102
    Gym10.101
    Gym10.102
    Gym 2.101
    Gym 2.102

    This is just a sample of the problem but you get the idea, I want the item with the smaller number to come first, basically I need excel to ignore the letters and use just the numbers in the list to sort. Any ideas? Thank You

  2. #2
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Sorting Help

    Have you tried Data > Filter > Autofilter at the top of the list you want sorted? From the drop-down menu in the cell sort by ascending. This puts it in the order you require for me.
    B.Econ, CFA

  3. #3
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Sorting Help

    Hi Thrasher,

    Are you able to introduce a helper column and input this:

    =MID(A1,4,2)

    Then sort by that column. You are lucky that the text entry has a space after Gym if it is just one digit.

    Cheers

    Russell
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  4. #4
    Registered User
    Join Date
    07-22-2008
    Location
    GA
    Posts
    9

    Re: Sorting Help

    ok, roki, I'm not sure what your asking me to do but when I tell it to sort it puts the GYM10.101 before GYM2.101 which is what im trying to fix. Russell, turns out there is not a space between the letters and the numbers, what now?

  5. #5
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Sorting Help

    Instead of doing Data > Sort, do Data > Filter > Autofilter.

    Here is a sample sheet with the autofilter and drop-down menu. Please let me know if you require anything else. Cheers.
    Attached Files Attached Files

  6. #6
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Sorting Help

    Thresher,

    If you haven't got your solution yet it's probably best if you could upload a representative sample workbook containing your data in its original format.

    Russell

  7. #7
    Forum Contributor
    Join Date
    02-15-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2003
    Posts
    125

    Re: Sorting Help

    Ok, I see. If no space between letters and numbers then AutoFilter will not work either.

+ 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