#1   Report Post  
Ronnie
 
Posts: n/a
Default Sorting

How can I sort a list of movies alphabetically, ignoring words like 'THE' and
'A'
  #2   Report Post  
sebastienm
 
Posts: n/a
Default

Hi,

You could have the name without the A or THE in a separate column and order
on that column.
Eg:
-Names are in column A starting in row 1
-In column B (or whatever), cell B1 enter the formula:
=RIGHT(A1,LEN(A1)-(2*(LEFT(UPPER(A1),2)="A "))-(4*(LEFT(UPPER(A1),4)="THE
")))
-- returns the name without "THE " or "A ". Note: carefull when typing
it -- there is a space after THE and after A.
-Copy/paste B1 down along the data
-Order that new column
--
Regards,
Sébastien


"Ronnie" wrote:

How can I sort a list of movies alphabetically, ignoring words like 'THE' and
'A'

  #3   Report Post  
Ronnie
 
Posts: n/a
Default

ok, i'm new with excel...could you be really specific on what I need to
do....thanks!! or can I email you my sheet?

"sebastienm" wrote:

Hi,

You could have the name without the A or THE in a separate column and order
on that column.
Eg:
-Names are in column A starting in row 1
-In column B (or whatever), cell B1 enter the formula:
=RIGHT(A1,LEN(A1)-(2*(LEFT(UPPER(A1),2)="A "))-(4*(LEFT(UPPER(A1),4)="THE
")))
-- returns the name without "THE " or "A ". Note: carefull when typing
it -- there is a space after THE and after A.
-Copy/paste B1 down along the data
-Order that new column
--
Regards,
Sébastien


"Ronnie" wrote:

How can I sort a list of movies alphabetically, ignoring words like 'THE' and
'A'

  #4   Report Post  
sebastienm
 
Posts: n/a
Default

ok, Ronnie, let's go step by step.

Assumption: your movie titles are in cells A2, A3, A4, ...

1- in B2 (or, if column B is already being used by some data, in row2 of the
next available column), enter the formula:
=RIGHT(A1,LEN(A1)-(2*(LEFT(UPPER(A1),2)="A "))-(4*(LEFT(UPPER(A1),4)="THE
")))
2- Copy B2: select B2, menu Edit Copy
3- Paste Down along the data: select B2:Bx (x corresponding to the last row
of data in column A); goto menu Edit Paste
Now, in column B, you should see all titles without any leading A and THE
4- Sort the data: select A2:Bx, goto menu Data Sort, the Sort dialog
pops-up, then sort by Column B ascending or descending.

Let me know if you have any difficulty with any of the above steps.
--
Regards,
Sébastien


"Ronnie" wrote:

ok, i'm new with excel...could you be really specific on what I need to
do....thanks!! or can I email you my sheet?

"sebastienm" wrote:

Hi,

You could have the name without the A or THE in a separate column and order
on that column.
Eg:
-Names are in column A starting in row 1
-In column B (or whatever), cell B1 enter the formula:
=RIGHT(A1,LEN(A1)-(2*(LEFT(UPPER(A1),2)="A "))-(4*(LEFT(UPPER(A1),4)="THE
")))
-- returns the name without "THE " or "A ". Note: carefull when typing
it -- there is a space after THE and after A.
-Copy/paste B1 down along the data
-Order that new column
--
Regards,
Sébastien


"Ronnie" wrote:

How can I sort a list of movies alphabetically, ignoring words like 'THE' and
'A'

  #5   Report Post  
Ronnie
 
Posts: n/a
Default

its not even working.....it says there is an error in the formula, or when I
do paste it nothing happens at all............


  #6   Report Post  
sebastienm
 
Posts: n/a
Default

Could you post here
1. in which cells are your movie title located
1. the formula you have entered in the first cell (from the one i have
posted above)
--
Regards,
Sébastien


"Ronnie" wrote:

its not even working.....it says there is an error in the formula, or when I
do paste it nothing happens at all............

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 1, 1A, 2, 2A, 3, 4, 4A, 4B . . . agc1234 Excel Discussion (Misc queries) 6 May 26th 05 08:02 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


All times are GMT +1. The time now is 11:38 PM.

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"