Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mr B
 
Posts: n/a
Default Sorting movie titles? skipping The, A, An etc?

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   Report Post  
Anne Troy
 
Posts: n/a
Default

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   Report Post  
bj
 
Posts: n/a
Default

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   Report Post  
Kostis Vezeridis
 
Posts: n/a
Default

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   Report Post  
Mr B
 
Posts: n/a
Default

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.






  #6   Report Post  
Jim Cone
 
Posts: n/a
Default

Mr B,

After reading your post, I have started work on an Excel add-in
that will do seven different special sorts, including one that omits articles.
It could be done in a few more days...
If you would like to give it a try, then email me and I will forward
it upon completion. - remove XXX from my email address.
(will send it to all that make a request)

Jim Cone
San Francisco, USA
XX



"Mr B" wrote in message
...
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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
sorting number in ascending order Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 2 April 8th 05 10:31 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM
Adding a KeyID column for sorting Rebecca New Users to Excel 3 February 20th 05 07:09 PM
print titles won't appear on some pages amzy19 Excel Discussion (Misc queries) 1 November 28th 04 11:16 AM


All times are GMT +1. The time now is 10:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"