A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Ignoring Initial Articles in Field Sort



 
 
Thread Tools Display Modes
  #1  
Old September 16th 05, 10:12 PM
DLFox
external usenet poster
 
Posts: n/a
Default Ignoring Initial Articles in Field Sort

I have a small file from a non-profit organization I'm working with. They
have set the "corporate Name" column in the Excel table to ignore initial
articles (A, An, The) I would like to duplicate the format but can't locate
instructions for ignoring the sort of initial articles. How do I do that?

Thanks.

DLFox
Ads
  #2  
Old September 18th 05, 01:35 PM
Art Farrell
external usenet poster
 
Posts: n/a
Default

Hi,

Assuming your names are in Column A you could put this formula in Column B
and drag down:

=IF(LEFT(A1,2)="A ",REPLACE(A1,1,2,),IF(LEFT(A1,3)="An
",REPLACE(A1,1,3,),IF(LEFT(A1,4)="The ",REPLACE(A1,1,4,),A1)))

Then select both columns and sort on Column B.

CHORDially,
Art Farrell

"DLFox" > wrote in message
...
> I have a small file from a non-profit organization I'm working with. They
> have set the "corporate Name" column in the Excel table to ignore initial
> articles (A, An, The) I would like to duplicate the format but can't

locate
> instructions for ignoring the sort of initial articles. How do I do that?
>
> Thanks.
>
> DLFox



  #3  
Old September 18th 05, 07:48 PM
DLFox
external usenet poster
 
Posts: n/a
Default


Thanks! That will certainly do the job, and I appreciate the suggestion.
The file in question seems to operate on a much simpler protocol. It is the
first column. I tested the operational aspect by adding a name with an
article. When I sorted the column it dropped the article (The) and filed
without any intervention on my part at all. Similarly, column "B" does not
contain any obvious code, so it really looks like some sort of "background"
operation at play, a dictionary perhaps. The file also recognizes a second
sort which I haven't completely figured out. The first sort lists
foundations and the status of grant requests directed to them. The second
sort, same columns, lists corporations and the status of grant requests
directed to them. The software controlling the sort doesn't assign a name to
one or the other, but it does keep them straight once assigned. This appears
to be some very sophisticated work -- beyond my poor power to add and
subtract -- but also well beyond the scope of anyone in the office today.
Mostly I'd like to modify (update) what is listed on the file but I'm afraid
to tamper with it because I don't understand it and haven't been able to
locate the underlying code. Again, thanks for your suggestions, I may need
to dig even deeper.

DLFox

"DLFox" wrote:

> I have a small file from a non-profit organization I'm working with. They
> have set the "corporate Name" column in the Excel table to ignore initial
> articles (A, An, The) I would like to duplicate the format but can't locate
> instructions for ignoring the sort of initial articles. How do I do that?
>
> Thanks.
>
> DLFox

  #4  
Old September 18th 05, 09:35 PM
Art Farrell
external usenet poster
 
Posts: n/a
Default

Hi DL,

I assume it's in Excel. If it's not proprietary and you want me to take a
look at it send me a copy of the workbook. At my age I'm strictly
unproprietary. If not, that's fine, too.

CHORDially,
Art Farrell


"DLFox" > wrote in message
...
>
> Thanks! That will certainly do the job, and I appreciate the suggestion.
> The file in question seems to operate on a much simpler protocol. It is

the
> first column. I tested the operational aspect by adding a name with an
> article. When I sorted the column it dropped the article (The) and filed
> without any intervention on my part at all. Similarly, column "B" does

not
> contain any obvious code, so it really looks like some sort of

"background"
> operation at play, a dictionary perhaps. The file also recognizes a

second
> sort which I haven't completely figured out. The first sort lists
> foundations and the status of grant requests directed to them. The second
> sort, same columns, lists corporations and the status of grant requests
> directed to them. The software controlling the sort doesn't assign a name

to
> one or the other, but it does keep them straight once assigned. This

appears
> to be some very sophisticated work -- beyond my poor power to add and
> subtract -- but also well beyond the scope of anyone in the office today.
> Mostly I'd like to modify (update) what is listed on the file but I'm

afraid
> to tamper with it because I don't understand it and haven't been able to
> locate the underlying code. Again, thanks for your suggestions, I may

need
> to dig even deeper.
>
> DLFox
>
> "DLFox" wrote:
>
> > I have a small file from a non-profit organization I'm working with.

They
> > have set the "corporate Name" column in the Excel table to ignore

initial
> > articles (A, An, The) I would like to duplicate the format but can't

locate
> > instructions for ignoring the sort of initial articles. How do I do

that?
> >
> > Thanks.
> >
> > DLFox



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sort numbers based on initial digit. Andyd Excel Discussion (Misc queries) 2 June 28th 05 01:20 PM
Sort a numeric field sdmccabe Excel Discussion (Misc queries) 5 June 28th 05 08:54 AM
Sort ignoring negatives and positives bangbanjo Excel Worksheet Functions 3 June 8th 05 12:21 AM
How can I sort many items alphabetically, ignoring page breaks?? Kezza Macka Excel Worksheet Functions 1 April 11th 05 02:01 PM
How to sort by day and month while ignoring year? Robert Judge Excel Worksheet Functions 4 December 23rd 04 11:37 PM


All times are GMT +1. The time now is 07:46 PM.


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