+ Reply to Thread
Results 1 to 22 of 22

Sort alphanumerically (updated)

  1. #1
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Sort alphanumerically (updated)

    I'm using Excel Mac 2011 first off. I've uploaded the file.

    I put this text into a separate excel document but I'm basically taking all of this information and inserting it into another excel document and sorting alphabetically. I have no problem doing so except with this list. It's for my sports card collection and the card number is 52 and then it breaks off into a sub category. If you take the information and sort like I would typically it puts it into a list like this (see below) instead of (see below). Please help! Also if you're explaining it to me can you please make sure the equation is simplified I'm a novice.

    I also lost grid lines on another sheet I have, how do I get them back? I'm aware of the 'gridlines' option however it doesn't make them reappear. Thanks for the help!sheffield moments and milestones.xlsx


    This is the list that I'm importing the information from "moment and milestones" into. I'm inserting it in the end of row A. I highlight the last selection of R all the way up to A 2 and then sort on value. It's worked fine until now. I have been trying things, I just tried the delimiter however I couldn't get it to sort still. I managed to make another row in order however it wouldn't sort on that. Thanks
    Sheffield Collection.xlsx


    Incorrect
    2008 Topps Moments and Milestones #52-1
    2008 Topps Moments and Milestones #52-10
    2008 Topps Moments and Milestones #52-100
    2008 Topps Moments and Milestones #52-101
    2008 Topps Moments and Milestones #52-102
    2008 Topps Moments and Milestones #52-103
    2008 Topps Moments and Milestones #52-104
    2008 Topps Moments and Milestones #52-105
    2008 Topps Moments and Milestones #52-106
    2008 Topps Moments and Milestones #52-107
    2008 Topps Moments and Milestones #52-108
    2008 Topps Moments and Milestones #52-109
    2008 Topps Moments and Milestones #52-11
    2008 Topps Moments and Milestones #52-110
    2008 Topps Moments and Milestones #52-111
    2008 Topps Moments and Milestones #52-112
    2008 Topps Moments and Milestones #52-113
    2008 Topps Moments and Milestones #52-114
    2008 Topps Moments and Milestones #52-115
    2008 Topps Moments and Milestones #52-116
    2008 Topps Moments and Milestones #52-117
    2008 Topps Moments and Milestones #52-118
    2008 Topps Moments and Milestones #52-119
    2008 Topps Moments and Milestones #52-12
    2008 Topps Moments and Milestones #52-120
    2008 Topps Moments and Milestones #52-121
    2008 Topps Moments and Milestones #52-122
    2008 Topps Moments and Milestones #52-123
    2008 Topps Moments and Milestones #52-124
    2008 Topps Moments and Milestones #52-125


    Correct
    2008 Topps Moments and Milestones #52-2
    2008 Topps Moments and Milestones #52-3
    2008 Topps Moments and Milestones #52-4
    2008 Topps Moments and Milestones #52-5
    2008 Topps Moments and Milestones #52-6
    2008 Topps Moments and Milestones #52-7
    2008 Topps Moments and Milestones #52-8
    2008 Topps Moments and Milestones #52-9
    2008 Topps Moments and Milestones #52-10
    2008 Topps Moments and Milestones #52-11
    2008 Topps Moments and Milestones #52-12
    2008 Topps Moments and Milestones #52-13
    2008 Topps Moments and Milestones #52-14
    2008 Topps Moments and Milestones #52-15
    2008 Topps Moments and Milestones #52-16
    2008 Topps Moments and Milestones #52-17
    2008 Topps Moments and Milestones #52-18
    2008 Topps Moments and Milestones #52-19
    2008 Topps Moments and Milestones #52-20
    2008 Topps Moments and Milestones #52-21
    2008 Topps Moments and Milestones #52-22
    2008 Topps Moments and Milestones #52-23
    2008 Topps Moments and Milestones #52-24
    2008 Topps Moments and Milestones #52-25
    2008 Topps Moments and Milestones #52-26
    2008 Topps Moments and Milestones #52-27
    2008 Topps Moments and Milestones #52-28
    2008 Topps Moments and Milestones #52-29
    2008 Topps Moments and Milestones #52-30
    2008 Topps Moments and Milestones #52-31
    Last edited by TJCloutier; 08-11-2013 at 07:04 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,658

    Re: Please help me sort alphanumerically and get gridlines back

    Split: 2008 Topps Moments and Milestones #52-1 in two columns
    Column A: 2008 Topps Moments and Milestones #52-
    column B: 1

    Or change 1 in 001
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Please help me sort alphanumerically and get gridlines back

    Hi,

    You could add a helper column: for example, assuming your list starts in cell A2, enter this formula in cell B2 and copy down:

    =--SUBSTITUTE(MID(A2,FIND("#",A2)+1,255),"-","")

    You can then sort on this column to get your desired result.

    Sure there's a more efficient method, though.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Please help me sort alphanumerically and get gridlines back

    I can't split it into 2 columns because I have a 600 cell spreadsheet that I'm combining this with that is just cell A for the description like this. I don't know what you mean by change 1 in 001. I know theres a formula for this I saw the page I just don't get it.
    http://support.microsoft.com/kb/322067

    Quote Originally Posted by popipipo View Post
    Split: 2008 Topps Moments and Milestones #52-1 in two columns
    Column A: 2008 Topps Moments and Milestones #52-
    column B: 1

    Or change 1 in 001

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,371

    Re: Please help me sort alphanumerically and get gridlines back

    Use Data | Text to Columns | Delimited. Choose minus/hyphen as the delimiter. Set the destination to the next column ... AND DO NOT IMPORT THE FIRST COLUMN.

    That should get the numbers in a separate column. Sort on that. Then hide it, or delete it, as you choose.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,658

    Re: Please help me sort alphanumerically and get gridlines back

    2008 Topps Moments and Milestones #52-1
    2008 Topps Moments and Milestones #52-1
    2008 Topps Moments and Milestones #52-10
    2008 Topps Moments and Milestones #52-100

    2008 Topps Moments and Milestones #52-109
    2008 Topps Moments and Milestones #52-11
    2008 Topps Moments and Milestones #52-110

    2008 Topps Moments and Milestones #52-119
    2008 Topps Moments and Milestones #52-12
    2008 Topps Moments and Milestones #52-120
    Change above in:
    2008 Topps Moments and Milestones #52-001
    2008 Topps Moments and Milestones #52-010
    2008 Topps Moments and Milestones #52-100

    2008 Topps Moments and Milestones #52-109
    2008 Topps Moments and Milestones #52-011
    2008 Topps Moments and Milestones #52-110

    2008 Topps Moments and Milestones #52-119
    2008 Topps Moments and Milestones #52-012
    2008 Topps Moments and Milestones #52-120

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Please help me sort alphanumerically and get gridlines back

    @TMShucks

    "Use Data | Text to Columns | Delimited. Choose minus/hyphen as the delimiter."

    But what if there are #53, #54,...,etc. entries as well as those #52 listed?

    Regards

  8. #8
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Please help me sort alphanumerically and get gridlines back

    Alright so I go to the list and highlight column B and then do this? Because from what I just did it didn't work. Is there anyway someone can show me what they did in Excel and upload my form? It'd help loads. Thanks


    Quote Originally Posted by TMShucks View Post
    Use Data | Text to Columns | Delimited. Choose minus/hyphen as the delimiter. Set the destination to the next column ... AND DO NOT IMPORT THE FIRST COLUMN.

    That should get the numbers in a separate column. Sort on that. Then hide it, or delete it, as you choose.


    Regards, TMS

  9. #9
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Please help me sort alphanumerically and get gridlines back

    There has to be an easier way, I don't want the 0's in there as well

    Quote Originally Posted by popipipo View Post
    Change above in:
    2008 Topps Moments and Milestones #52-001
    2008 Topps Moments and Milestones #52-010
    2008 Topps Moments and Milestones #52-100

    2008 Topps Moments and Milestones #52-109
    2008 Topps Moments and Milestones #52-011
    2008 Topps Moments and Milestones #52-110

    2008 Topps Moments and Milestones #52-119
    2008 Topps Moments and Milestones #52-012
    2008 Topps Moments and Milestones #52-120

  10. #10
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Please help me sort alphanumerically and get gridlines back

    Quote Originally Posted by TJCloutier View Post
    I also lost grid lines on another sheet I have, how do I get them back? I'm aware of the 'gridlines' option however it doesn't make them reappear.
    Check if the cells are filled with a colour (even white), because that causes the gridlines to disappear. Another thing could be that the cells have been given a white border line.
    So select No Filling Colour and No Borders
    When I say semicolon, u say comma!

  11. #11
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Please help me sort alphanumerically and get gridlines back

    Quote Originally Posted by L-Drr View Post
    Check if the cells are filled with a colour (even white), because that causes the gridlines to disappear. Another thing could be that the cells have been given a white border line.
    So select No Filling Colour and No Borders
    Thank you I got the gridlines back. Now I just need my primary problem fixed, the list

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Please help me sort alphanumerically and get gridlines back

    If you're adamant that you're not willing to use an extra column (or columns), nor to go through any intermediate steps, then I don't see how this can be achieved (without perhaps VBA).

    Regards

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

    Re: Please help me sort alphanumerically and get gridlines back

    well as said you need a helper column
    insert a column temporarily
    say b
    then in b1
    =LEFT(A1,FIND("-",A1))&TEXT(MID(A1,FIND("-",A1)+1,5),"000")
    fill down ,sort everything by column b delete column b
    "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

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Sort alphanumerically and get gridlines back

    This is going to sound a "little off the wall" but it works with your example.

    Copy the data into Word. Select the data and convert to table. Sort the table on column 6. When doing the sort, select column 6 to be NUMBER and sort order to be DESCENDING. That's right DESCENDING. The order will be correct. Convert the table back to text and copy and paste back into Excel. When converting back to text, select OTHER and enter a SPACE in the box for the "other" character.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  15. #15
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Sort alphanumerically and get gridlines back

    Can you show me what you did? I want to know what its SUPPOSED to look like, formula wise after. To be honest I don't understand why I can't just input a simple formula or have an option to have this happen

    Quote Originally Posted by newdoverman View Post
    This is going to sound a "little off the wall" but it works with your example.

    Copy the data into Word. Select the data and convert to table. Sort the table on column 6. When doing the sort, select column 6 to be NUMBER and sort order to be DESCENDING. That's right DESCENDING. The order will be correct. Convert the table back to text and copy and paste back into Excel. When converting back to text, select OTHER and enter a SPACE in the box for the "other" character.

  16. #16
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sort alphanumerically and get gridlines back

    "To be honest I don't understand why I can't just input a simple formula or have an option to have this happen"

    To be fair, you've been offered at least two formula-based solutions, though, since you continue to insist on not using an extra column, I'm not sure exactly where you expect these 'simple' formulae to go.

    Regards

  17. #17
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sort alphanumerically and get gridlines back

    This has me baffled as to why You can't use a helper column and sort on that.

    Here's another somewhat unorthodox way of getting what you appear to need.

    In say E1, Drag/Fill Down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then if required in F1, drag across then down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy and Paste Special > Values the result to your destination

    However I really can't see the point in this, what aren't you telling us?
    For instance are all the strings in front of the "-" separator the same in your real list?
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  18. #18
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Sort alphanumerically and get gridlines back

    I just updated the topic description with another document and description. I appreciate everyones help, I haven't tried some suggestions because I still don't understand how some of you put things I'm just a beginner. Thanks!

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

    Re: Sort alphanumerically (updated)

    see attached
    Attached Files Attached Files

  20. #20
    Registered User
    Join Date
    08-10-2013
    Location
    Maine
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: Sort alphanumerically (updated)

    Quote Originally Posted by martindwilson View Post
    see attached
    I feel like giving up but I wont. I don't understand the file you just uploaded. I don't understand what I'm doing with it...

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

    Re: Sort alphanumerically (updated)

    it tells you what to do,sort by column b

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

    Re: Sort alphanumerically (updated)

    have you the whole list?

+ 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. Setting background color with VBA removes gridlines -- how to bring back
    By chasdl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-10-2013, 05:27 PM
  2. Vertical Minor Gridlines Overlap Horizontal Major Gridlines
    By dsalzman in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-13-2012, 11:49 AM
  3. How do i sort my spreadsheet back to default?
    By Excelatexcel in forum Excel General
    Replies: 5
    Last Post: 09-18-2011, 07:45 AM
  4. In Excel, gridlines won't print--File,PageSetup,Sheet,Gridlines--
    By 4most in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-10-2006, 03:34 AM
  5. [SOLVED] In Excel, gridlines won't print--File,PageSetup,Sheet,Gridlines--
    By 4most in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-10-2006, 03:29 AM

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