Thanks for the interest Max.
Here is sample as requested. http://www.freefilehosting.net/download/3d12d
Hope the link works ok.
Tom
Here's your sample, with the thoughts below implemented:
http://www.freefilehosting.net/download/3d1bk
Part_Numbers.xls
I'm not really sure what you're trying to do ..
Anyway, going by your original post,
In New List,
if you place in C2, and copy down: =IF(A2="","",COUNTIF(Parts!E:E,A2))
this would: >> .. count the instances of the new parts in the old list ..
Then, to extract the "CTO" for the part#, place in D2:
=IF(OR(C2=0,C2=""),"",INDEX(Parts!B:B,MATCH(A2&"",Parts!E:E,0)))
Copy D2 down

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Thanks for the interest Max.
> Here is sample as requested. http://www.freefilehosting.net/download/3d12d
Tom - 03 Mar 2008 07:50 GMT
Hi Max,
That works very well thankyou. Extracting the "cto" number saves me having
to manualy filter and search the old list.
The old list is updated daily as a record of the jobs that we do, it has
been running for 5 years and has over 6000 entries. Some part numbers are
repeated a few times.
Is it possible to add to the index cto formula so that it will return the
latest or greatest number?
Thanks
Tom
> Here's your sample, with the thoughts below implemented:
> http://www.freefilehosting.net/download/3d1bk
[quoted text clipped - 11 lines]
> > Here is sample as requested.
> http://www.freefilehosting.net/download/3d12d
Tom - 03 Mar 2008 07:52 GMT
Hi Max,
That works very well thankyou. Extracting the "cto" number saves me having
to manualy filter and search the old list.
The old list is updated daily as a record of the jobs that we do, it has
been running for 5 years and has over 6000 entries. Some part numbers are
repeated a few times.
Is it possible to add to the index cto formula so that it will return the
latest or greatest number?
Thanks
Tom
> Here's your sample, with the thoughts below implemented:
> http://www.freefilehosting.net/download/3d1bk
[quoted text clipped - 11 lines]
> > Here is sample as requested.
> http://www.freefilehosting.net/download/3d12d
Max - 03 Mar 2008 14:04 GMT
> Is it possible to add to the index cto formula so that it will return the
> latest or greatest number?
Put this instead into D2's formula bar, then "array-enter" the formula ie
press CTRL+SHIFT+ENTER [CSE] to confirm the formula (instead of just pressing
ENTER):
=IF(OR(C2=0,C2=""),"",INDEX(Parts!B$4:B$7000,MATCH(MAX(IF(A2&""=Parts!E$4:E$7000,ROW(Parts!E$4:E$7000))),IF(A2&""=Parts!E$4:E$7000,ROW(Parts!E$4:E$7000)),0)))
Copy D2 down. Adapt the ranges to suit.

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi Max,
>
[quoted text clipped - 11 lines]
>
> Tom
Tom - 03 Mar 2008 21:05 GMT
Thanks Max that has worked very well. It shall save a few hours of sifting
through numbers.
The only problem I now have is that some of the "CTO" entries are alpha
numeric ie. 1345,1345A,1345B.
I think I willl change them to read 1345.1, 1345.2 etc instead and then I
shouldn't get the #na returned when the formula picks up the letters.
Thanks again for your help that formula was impressive!
> > Is it possible to add to the index cto formula so that it will return the
> > latest or greatest number?
[quoted text clipped - 19 lines]
> >
> > Tom
Max - 03 Mar 2008 22:53 GMT
Welcome, Tom. Glad it helped.
For info, a more suitable newsgroup to post such questions would be
excel.worksheet.functions.

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Thanks Max that has worked very well. It shall save a few hours of sifting
> through numbers.
[quoted text clipped - 4 lines]
>
> Thanks again for your help that formula was impressive!