Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to I sort titles alphabetically like in a library?

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default How to I sort titles alphabetically like in a library?

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to I sort titles alphabetically like in a library?

OK - I pasted that formula into column B. Now do I just type The and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default How to I sort titles alphabetically like in a library?

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to I sort titles alphabetically like in a library?

Thanks - that took care of the one's with "A." But I have one last question:
Now the new titles in column B that started with "The," start with "he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default How to I sort titles alphabetically like in a library?

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last question:
Now the new titles in column B that started with "The," start with "he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to I sort titles alphabetically like in a library?

OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last question:
Now the new titles in column B that started with "The," start with "he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A" etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND(" ",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A". Is it
possible to sort the list alphabetically (like in a library) without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to I sort titles alphabetically like in a library?

If you just want to avoid A and The, in a help column (B or whatever) put

First of all, Tevuna's solution works fine. You must have applied his
solution incorrectly. This is just another solution with the words
hardcoded, if you need to
avoid films that start with Of you can just add that word as well


=IF(ISNUMBER(MATCH(LEFT(A2,FIND("
",A2)-1),{"The";"A"},0)),TRIM(SUBSTITUTE(A2,LEFT(A2,FIND (" ",A2)-1),"")),A2)


copy down as long as needed, select both columns and sort ascending on the
help column

I am assuming that the first film title is in A2


--

Regards,

Peo Sjoblom


"Amandar097" wrote in message
...
OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last
question:
Now the new titles in column B that started with "The," start with
"he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The
and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A"
etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND("
",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A".
Is it
possible to sort the list alphabetically (like in a library)
without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to I sort titles alphabetically like in a library?

Just an unfortunate line break:

=IF(ISNUMBER(MATCH(LEFT(A2,FIND(" ",A2)-1),{"The";"A"},0)),
TRIM(SUBSTITUTE(A2,LEFT(A2,FIND(" ",A2)-1),"")),A2)

(all in one cell)

Peo Sjoblom wrote:

If you just want to avoid A and The, in a help column (B or whatever) put

First of all, Tevuna's solution works fine. You must have applied his
solution incorrectly. This is just another solution with the words
hardcoded, if you need to
avoid films that start with Of you can just add that word as well

=IF(ISNUMBER(MATCH(LEFT(A2,FIND("
",A2)-1),{"The";"A"},0)),TRIM(SUBSTITUTE(A2,LEFT(A2,FIND (" ",A2)-1),"")),A2)

copy down as long as needed, select both columns and sort ascending on the
help column

I am assuming that the first film title is in A2

--

Regards,

Peo Sjoblom

"Amandar097" wrote in message
...
OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last
question:
Now the new titles in column B that started with "The," start with
"he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The
and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A"
etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND("
",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A".
Is it
possible to sort the list alphabetically (like in a library)
without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda


--

Dave Peterson
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to I sort titles alphabetically like in a library?

Thanks! That worked!

"Dave Peterson" wrote:

Just an unfortunate line break:

=IF(ISNUMBER(MATCH(LEFT(A2,FIND(" ",A2)-1),{"The";"A"},0)),
TRIM(SUBSTITUTE(A2,LEFT(A2,FIND(" ",A2)-1),"")),A2)

(all in one cell)

Peo Sjoblom wrote:

If you just want to avoid A and The, in a help column (B or whatever) put

First of all, Tevuna's solution works fine. You must have applied his
solution incorrectly. This is just another solution with the words
hardcoded, if you need to
avoid films that start with Of you can just add that word as well

=IF(ISNUMBER(MATCH(LEFT(A2,FIND("
",A2)-1),{"The";"A"},0)),TRIM(SUBSTITUTE(A2,LEFT(A2,FIND (" ",A2)-1),"")),A2)

copy down as long as needed, select both columns and sort ascending on the
help column

I am assuming that the first film title is in A2

--

Regards,

Peo Sjoblom

"Amandar097" wrote in message
...
OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last
question:
Now the new titles in column B that started with "The," start with
"he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type The
and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and "A"
etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND("
",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and "A".
Is it
possible to sort the list alphabetically (like in a library)
without using
those words as the primary words by which to sort? If so, how?

Thanks,
Amanda


--

Dave Peterson



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to I sort titles alphabetically like in a library?

Gee! What happened?


Peo


"Dave Peterson" wrote in message
...
Just an unfortunate line break:

=IF(ISNUMBER(MATCH(LEFT(A2,FIND(" ",A2)-1),{"The";"A"},0)),
TRIM(SUBSTITUTE(A2,LEFT(A2,FIND(" ",A2)-1),"")),A2)

(all in one cell)

Peo Sjoblom wrote:

If you just want to avoid A and The, in a help column (B or whatever) put

First of all, Tevuna's solution works fine. You must have applied his
solution incorrectly. This is just another solution with the words
hardcoded, if you need to
avoid films that start with Of you can just add that word as well

=IF(ISNUMBER(MATCH(LEFT(A2,FIND("
",A2)-1),{"The";"A"},0)),TRIM(SUBSTITUTE(A2,LEFT(A2,FIND ("
",A2)-1),"")),A2)

copy down as long as needed, select both columns and sort ascending on
the
help column

I am assuming that the first film title is in A2

--

Regards,

Peo Sjoblom

"Amandar097" wrote in message
...
OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last
question:
Now the new titles in column B that started with "The," start with
"he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type
The
and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and
"A"
etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND("
",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and
"A".
Is it
possible to sort the list alphabetically (like in a library)
without using
those words as the primary words by which to sort? If so,
how?

Thanks,
Amanda


--

Dave Peterson



  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to I sort titles alphabetically like in a library?

The space at the end of your first line was turned into a linefeed.

I wasn't trying to take credit for the formula (this time! <vbg.)

Peo Sjoblom wrote:

Gee! What happened?

Peo

"Dave Peterson" wrote in message
...
Just an unfortunate line break:

=IF(ISNUMBER(MATCH(LEFT(A2,FIND(" ",A2)-1),{"The";"A"},0)),
TRIM(SUBSTITUTE(A2,LEFT(A2,FIND(" ",A2)-1),"")),A2)

(all in one cell)

Peo Sjoblom wrote:

If you just want to avoid A and The, in a help column (B or whatever) put

First of all, Tevuna's solution works fine. You must have applied his
solution incorrectly. This is just another solution with the words
hardcoded, if you need to
avoid films that start with Of you can just add that word as well

=IF(ISNUMBER(MATCH(LEFT(A2,FIND("
",A2)-1),{"The";"A"},0)),TRIM(SUBSTITUTE(A2,LEFT(A2,FIND ("
",A2)-1),"")),A2)

copy down as long as needed, select both columns and sort ascending on
the
help column

I am assuming that the first film title is in A2

--

Regards,

Peo Sjoblom

"Amandar097" wrote in message
...
OK - thanks so much for your help and patience with all my questions :)

"Tevuna" wrote:

Interesting. I havn't a clue what could be wrong at yours.
Wait till tomorrow morning when the gurus awaken.

"Amandar097" wrote:

Thanks - that took care of the one's with "A." But I have one last
question:
Now the new titles in column B that started with "The," start with
"he." Do
you know why that would happen?

Thanks,
Amanda

"Tevuna" wrote:

1) Type each word on its own row:

C
1 the
2 A
3 of

2) Paste the formula down column B
3) Resort column B


"Amandar097" wrote:

OK - I pasted that formula into column B. Now do I just type
The
and A into
column C with a space or a comma (The A) or (The, A)?

After that, do I resort column A or column B?

Thanks,
Amanda

"Tevuna" wrote:

Assuming your titles are in column A
1) In column C enter all insignificant words like "the" and
"A"
etc.
2) Paste this in column B
=IF(ISERROR(VLOOKUP(LEFT(A1,FIND("
",A1)-1),C:C,1,FALSE)),A1,MID(A1,FIND("
",A1)+1,LEN(A1)))

"Amandar097" wrote:

Hello,

I have a list of movie titles. Some start with "The" and
"A".
Is it
possible to sort the list alphabetically (like in a library)
without using
those words as the primary words by which to sort? If so,
how?

Thanks,
Amanda


--

Dave Peterson


--

Dave Peterson
  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to I sort titles alphabetically like in a library?


I wasn't trying to take credit for the formula (this time! <vbg.)



You got it nevertheless
Since you are a fellow Swede (at least somewhat) I won't be making any fuss
<vbg

Peo


  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to I sort titles alphabetically like in a library?

Man, oh, man.

First, I have the Candian Quality Council (CQC) on my case.

Now, I have to watch out for the SIS (Swedish Integrity Society), too.

====
Keep an eye out (ouch!). You may see that formula posted (without attribution
after a few times!).



Peo Sjoblom wrote:

I wasn't trying to take credit for the formula (this time! <vbg.)


You got it nevertheless
Since you are a fellow Swede (at least somewhat) I won't be making any fuss
<vbg

Peo


--

Dave Peterson
  #15   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to I sort titles alphabetically like in a library?


First, I have the Candian Quality Council (CQC) on my case.



So you are a candy tester, big deal.


<g




  #16   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default How to I sort titles alphabetically like in a library?

That was one of Dave's rare intentional misspellings. <g

Maybe he thinks there are too many "ehs" in Canadian.

Peo Sjoblom wrote:
First, I have the Candian Quality Council (CQC) on my case.


So you are a candy tester, big deal.
<g



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #17   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to I sort titles alphabetically like in a library?

The original mistake wasn't on purpose. The subsequent have been on purpose
(mostley).

<vbg



Debra Dalgleish wrote:

That was one of Dave's rare intentional misspellings. <g

Maybe he thinks there are too many "ehs" in Canadian.

Peo Sjoblom wrote:
First, I have the Candian Quality Council (CQC) on my case.


So you are a candy tester, big deal.
<g


--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


--

Dave Peterson
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
how to sort non-alphabetically Grd New Users to Excel 2 May 23rd 07 03:27 PM
How do I sort alphabetically in Excel seh60025 Excel Discussion (Misc queries) 1 October 26th 06 10:25 PM
How do I sort in Excel alphabetically? Jennifer Excel Discussion (Misc queries) 2 January 20th 06 04:42 PM
How do I sort a column alphabetically not consider "the" or "a"? anteaters00 Excel Discussion (Misc queries) 4 September 13th 05 11:46 AM
sort by alphabetically HOW CAN I SORT BY ALPHABETICALLY FROM A New Users to Excel 4 May 12th 05 05:44 AM


All times are GMT +1. The time now is 03:00 PM.

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

About Us

"It's about Microsoft Excel"