Feb 9, 2006 #1 E1Designs IS-IT--Management Oct 20, 2005 201 US I have a list: A A1 B B1 C C1 A B I need it to be sorted like this: A A B B C A1 B1 C1 etc...
Feb 9, 2006 1 #2 AnotherHiggins Technical User Nov 25, 2003 6,259 US I don't think you'll be able to do it with Excel's native functionality. But you could use a 'helper column'. Say your data is in Column A. In column B, enter this formula: [COLOR=blue white]=LEN(A2)&A2[/color] (assuming row 1 contains header data) Then sort by column B. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
I don't think you'll be able to do it with Excel's native functionality. But you could use a 'helper column'. Say your data is in Column A. In column B, enter this formula: [COLOR=blue white]=LEN(A2)&A2[/color] (assuming row 1 contains header data) Then sort by column B. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.
Feb 9, 2006 Thread starter #3 E1Designs IS-IT--Management Oct 20, 2005 201 US That does not seem to be giving the correct results. ;/ Upvote 0 Downvote
Feb 9, 2006 #4 AnotherHiggins Technical User Nov 25, 2003 6,259 US It works fine on the example data you provided. Do you have other datatypes? Maybe you have A2 and you want that sorted after C1? [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
It works fine on the example data you provided. Do you have other datatypes? Maybe you have A2 and you want that sorted after C1? [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.
Feb 9, 2006 #5 PHV MIS Nov 8, 2002 53,708 FR And maybe you forgot to copy down the formula ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
And maybe you forgot to copy down the formula ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Feb 13, 2006 #6 wellas666 Programmer Feb 10, 2006 23 GB Or try this: Data is in Column A. In column B2, enter this formula: =LEN(A2) (assuming row 1 contains header data) and copy down the formula. Then sort by column B,A. Upvote 0 Downvote
Or try this: Data is in Column A. In column B2, enter this formula: =LEN(A2) (assuming row 1 contains header data) and copy down the formula. Then sort by column B,A.
Feb 13, 2006 #7 AnotherHiggins Technical User Nov 25, 2003 6,259 US wellas666, I don't see how that would work any differently than my suggestion. Are you still having trouble, E1Designs? [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting. Upvote 0 Downvote
wellas666, I don't see how that would work any differently than my suggestion. Are you still having trouble, E1Designs? [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ181-2886 before posting.
Feb 14, 2006 Thread starter #8 E1Designs IS-IT--Management Oct 20, 2005 201 US I got it, thanks all Upvote 0 Downvote