close

I work in a library and want to sort lists of CD titles. I want to sort the
list alphabetically while ignoring articles (e.g., the, a, an) when they
appear as the first word in the title.
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 quot;The quot;, quot;An quot; and quot;A
quot; 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 quot;Aquot;
being cropped):

=IF(LEFT(A1,2)=quot;A quot;,RIGHT(A1,LEN(A1)-2),IF(LEFT(A1,3)=quot;An
quot;,RIGHT(A1,LEN(A1)-3),IF(LEFT(A1,4)=quot;The quot;,RIGHT(A1,LEN(A1)-4),A1)))--
Nicky------------------------------------------------------------------------
Nicky's Profile: www.excelforum.com/member.php...nfoamp;userid=312
View this thread: www.excelforum.com/showthread...hreadid=518525A commercial application by yours truly...
www.officeletter.com/blink/specialsort.html
Jim Cone
San Francisco, USAquot;happy1quot; gt;
wrote in message...
I work in a library and want to sort lists of CD titles. I want to sort the
list alphabetically while ignoring articles (e.g., the, a, an) when they
appear as the first word in the title.

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()