Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

sorting data, ignore "the"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZenMasta - 29 Nov 2007 17:28 GMT
Is there a way I can sort data and ignore the first word if it starts with
"The"?  Basically, I have an inventory list that has a lot of book titles
that have "The" as the first word and I'd like skip the and sort by the
second word.
Ron Rosenfeld - 29 Nov 2007 18:04 GMT
>Is there a way I can sort data and ignore the first word if it starts with
>"The"?  Basically, I have an inventory list that has a lot of book titles
>that have "The" as the first word and I'd like skip the and sort by the
>second word.

Add a helper column with a formula that eliminates "The ".

e.g.

=IF(LEFT(A1,4)="The ",MID(A1,5,255),A1)

Then sort on the helper column.

Make sure the 255 is large enough to include all of your data in the cell.
--ron
ZenMasta - 29 Nov 2007 19:49 GMT
Sweet, thanks for that formula!

>>Is there a way I can sort data and ignore the first word if it starts with
>>"The"?  Basically, I have an inventory list that has a lot of book titles
[quoted text clipped - 11 lines]
> Make sure the 255 is large enough to include all of your data in the cell.
> --ron
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.