+ Reply to Thread
Results 1 to 13 of 13

Text and numbers that I want sorted numerically

  1. #1
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Text and numbers that I want sorted numerically

    Hi. I have a problem I hope someone can help me solve. Can I somehow sort the following numerically?
    So they instead of 1, 10, 11 etc. they are 1,2,3 etc.

    The info is in one cell.

    Thanks!

    MFM019_1_Split End_Will Fitzwater
    MFM019_10_Humanoid_Danny Widdicombe
    MFM019_11_From Hell_Peter Christie
    MFM019_12_From Hell_Peter Christie
    MFM019_13_Ice Maiden_Will Fitzwater
    MFM019_14_Ice Maiden_Will Fitzwater
    MFM019_15_Low_Brad Wall
    MFM019_16_Low_Brad Wall
    MFM019_17_Moody_Luke Adams
    MFM019_18_Moody_Luke Adams
    MFM019_19_Under Craft_Peter Christie
    MFM019_2_Split End_Will Fitzwater
    MFM019_20_Under Craft_Peter Christie
    MFM019_21_In My Head_Peter Christie
    MFM019_22_In My Head_Peter Christie
    MFM019_23_Wires_Tim Pasmore
    MFM019_24_Wires_Tim Pasmore
    MFM019_25_Factory Slave_Ross McLennan
    MFM019_26_Factory Slave_Ross McLennan
    MFM019_27_Hear The Silence_Peter Christie
    MFM019_28_Hear The Silence_Peter Christie
    MFM019_29_Lost Lust_Peter Christie
    MFM019_3_Broken Click_Peter Christie
    MFM019_30_Lost Lust_Peter Christie
    MFM019_31_Pulp_Peter Christie
    MFM019_32_Pulp_Peter Christie
    MFM019_33_Rain Parade_Peter Christie
    MFM019_34_Rain Parade_Peter Christie
    MFM019_35_Abyss_Peter Christie
    MFM019_36_Abyss_Peter Christie
    MFM019_37_Light Flickers_Danny Widdicombe
    MFM019_38_Light Flickers_Danny Widdicombe
    MFM019_39_Old Man Star_Luke Adams
    MFM019_4_Broken Click_Peter Christie
    MFM019_40_Old Man Star_Luke Adams
    MFM019_41_Extreme Makeover_Will Fitzwater
    MFM019_42_Extreme Makeover_Will Fitzwater
    MFM019_43_Darkness Visible_Rachael Selleck
    MFM019_44_Darkness Visible_Rachael Selleck
    MFM019_45_Secret Liason_Peter Christie
    MFM019_46_Secret Liason_Peter Christie
    MFM019_47_The Prophet_Mikal Laguerre
    MFM019_48_The Prophet_Mikal Laguerre
    MFM019_49_Traffic Grind_Ross McLennan
    MFM019_5_Bound_Peter Christie
    MFM019_50_Traffic Grind_Ross McLennan
    MFM019_6_Bound_Peter Christie
    MFM019_7_Cut Cold_Peter Christie
    MFM019_8_Cut Cold_Peter Christie
    MFM019_9_Humanoid_Danny Widdicombe
    Last edited by AG65; 03-16-2012 at 06:52 AM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Text and numbers that I want sorted numerically

    you could use a helper column and sort based on that, helper formula would be (assuming this is in Col B):

    =INT(MID(B1,FIND("_",B1)+1,FIND("_",MID(B1,8,100))-1))
    Last edited by DGagnon; 03-14-2012 at 01:51 PM.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    Thanks for the reply...but could you explain a little more. I am really a beginner at Excel. The information is in column A. Where do I put your formula...and then what do I do?

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Text and numbers that I want sorted numerically

    if you add another column before A (thus making your data Column B) my formula will give you just the numbers, you can then use that column as your sort column.

  5. #5
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    So, I have an empty A column, my data in B column....where do I put the formula?

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Text and numbers that I want sorted numerically

    you put the formula in Column A (Starting At A1) and copy down, i would then replace A1 with somethign more approperiate of a header.

  7. #7
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    thanks for your patience...
    I put the formula in A1 and hit enter.
    it says "The formula you typed has an error"
    Any suggestions?

  8. #8
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Text and numbers that I want sorted numerically

    try starting in A2

    =INT(MID(B2,FIND("_",B2)+1,FIND("_",MID(B2,8,100))-1))

  9. #9
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    Nope same message
    I am using Excel 2011 for Mac.
    Could that be a problem?

  10. #10
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Text and numbers that I want sorted numerically

    eh, mac... it could be, but i wouldnt think so. are you able to use these functions alone?

    INT,MID,FIND

  11. #11
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    Yes, if I punch in =INT or the others in column A at least it doesn't say I have typed an error.
    This comes up in columns A: #Name?

  12. #12
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Text and numbers that I want sorted numerically

    @ dgagnons formula

    sort.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  13. #13
    Registered User
    Join Date
    02-09-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel for Mac 14.1.3
    Posts
    11

    Re: Text and numbers that I want sorted numerically

    vlady: THANK YOU!!!!!!! This works! Have clicked the star!
    And thanks DGagnon too!

+ 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