Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Howdy,
I have a spreadsheet with all the movies I own. I want to sort it out by title but I don't want it to sort based on the word The, A, An, etc. Is there any way to do this in Excel without typing the name with the word at the end? I don't want to type the names like: Mummy, The But I want it to sort based on the M. Thanks. |
#2
![]() |
|||
|
|||
![]()
I don't see a nice way to do this without using a special sorting column,
which you CAN hide... ******************* ~Anne Troy www.OfficeArticles.com www.MyExpertsOnline.com "Mr B" wrote in message ... Howdy, I have a spreadsheet with all the movies I own. I want to sort it out by title but I don't want it to sort based on the word The, A, An, etc. Is there any way to do this in Excel without typing the name with the word at the end? I don't want to type the names like: Mummy, The But I want it to sort based on the M. Thanks. |
#3
![]() |
|||
|
|||
![]()
Copy all of the titles to a helper column
Sort by the helper column copy everything to a second helper column for all of the Titles starting with "A ..." in the second helper column =right(H1,len(h1)-2) to get rid of the A space for all of the "An ..." =right(H1,len(H1)-3) for all of the "The ... =right(H1,len(H1)-4) copy the second Helper column and paste special values over the first helper column and sort by this column Whenever you add a new movie add the full title to the main list and an appropriately modified title to the second list and sort by the second list "Mr B" wrote: Howdy, I have a spreadsheet with all the movies I own. I want to sort it out by title but I don't want it to sort based on the word The, A, An, etc. Is there any way to do this in Excel without typing the name with the word at the end? I don't want to type the names like: Mummy, The But I want it to sort based on the M. Thanks. |
#4
![]() |
|||
|
|||
![]()
Let us say you have the titles in column A:A
In an auxiliary column put the articles you want to ignore. Let us say in K1:K3 you have "The", "A", "An". Now, in B2 you use the following formula: =IF(ISNA(VLOOKUP(LEFT(A2,FIND(" ",A2)-1),$K$1:$K$3,1,0)),A2,IF(ISERROR(FIND(" ",A2)), A2, MID(A2,FIND(" ",A2)+1,LEN(A2)))) This should strip your title name of the article, if it starts with one. Expand the list of articles as necessary, changing the $K$1:$K$3 accordingly. Sort by column B:B. HTH Kostis Vezerides "Mr B" wrote in message ... Howdy, I have a spreadsheet with all the movies I own. I want to sort it out by title but I don't want it to sort based on the word The, A, An, etc. Is there any way to do this in Excel without typing the name with the word at the end? I don't want to type the names like: Mummy, The But I want it to sort based on the M. Thanks. |
#5
![]() |
|||
|
|||
![]()
I was hoping someone might have made an add-in that would be specifically for
sorting things when it's a book/movie title... heh. Guess not though... "Kostis Vezeridis" wrote: Let us say you have the titles in column A:A In an auxiliary column put the articles you want to ignore. Let us say in K1:K3 you have "The", "A", "An". Now, in B2 you use the following formula: =IF(ISNA(VLOOKUP(LEFT(A2,FIND(" ",A2)-1),$K$1:$K$3,1,0)),A2,IF(ISERROR(FIND(" ",A2)), A2, MID(A2,FIND(" ",A2)+1,LEN(A2)))) This should strip your title name of the article, if it starts with one. Expand the list of articles as necessary, changing the $K$1:$K$3 accordingly. Sort by column B:B. HTH Kostis Vezerides "Mr B" wrote in message ... Howdy, I have a spreadsheet with all the movies I own. I want to sort it out by title but I don't want it to sort based on the word The, A, An, etc. Is there any way to do this in Excel without typing the name with the word at the end? I don't want to type the names like: Mummy, The But I want it to sort based on the M. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
sorting number in ascending order | Excel Discussion (Misc queries) | |||
SORTING question | New Users to Excel | |||
Adding a KeyID column for sorting | New Users to Excel | |||
print titles won't appear on some pages | Excel Discussion (Misc queries) |