Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Alphabetizing in Library Format


Hi,

I'm relatively new to Excel so I was wondering if there is a way to
have the sort Data Protocols ignore "the", "an", and "A" like the
Library rules do?




--
Ekroeten
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Alphabetizing in Library Format

This can be accomplished with a formula.
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 formula will leave, in B2, the title stripped of the first word,
if it is one of those 3. You can then sort by column B:B.

HTH
Kostis Vezerides


Ekroeten wrote:
Hi,

I'm relatively new to Excel so I was wondering if there is a way to
have the sort Data Protocols ignore "the", "an", and "A" like the
Library rules do?




--
Ekroeten


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
Conditonal Format with a date format Kevin Excel Discussion (Misc queries) 2 April 27th 05 10:20 PM
Office2000: Conditional format behaves strangely Arvi Laanemets Excel Discussion (Misc queries) 1 April 7th 05 08:47 AM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
why does currency format change to number format? Cassie Excel Discussion (Misc queries) 3 March 18th 05 06:57 PM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM


All times are GMT +1. The time now is 11:15 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"