View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Nicky
 
Posts: n/a
Default How can I sort text (in excel) while ignoring articles (e.g., the


Hi
I don't think you can do this.
what might work is to include the names in an adjacent column and
eliminate the articles, then sort on that.
For example, this formula will eliminate the words "The ", "An " and "A
" from the left of the text in cell A1 (note the addition of a space
after the word in the formula, to prevent all words begining with "A"
being cropped):

=IF(LEFT(A1,2)="A ",RIGHT(A1,LEN(A1)-2),IF(LEFT(A1,3)="An
",RIGHT(A1,LEN(A1)-3),IF(LEFT(A1,4)="The ",RIGHT(A1,LEN(A1)-4),A1)))


--
Nicky


------------------------------------------------------------------------
Nicky's Profile: http://www.excelforum.com/member.php...nfo&userid=312
View this thread: http://www.excelforum.com/showthread...hreadid=518525