Multi Function for Unique Numbers

G

Guest

We run catalogs with special part numbers. I am trying to see how many
unique special part numbers I have as each day passes. Each of these part
numbers begin with either "2D7" or "CCA". I have done a similar calculation
for unique invoice numbers, =IF(COUNTIF($D$2:D2,D2)=1,D2,"") where D is the
column that has the invoice numbers.

The problem I am having is that the column with the part numbers has all
part number but I only want the special numbers to be calculated.
 
G

Guest

use two helper columns
in the first
=right(part_number,len(part_number)-3)
in the second use your countif on the first helper.
 
G

Guest

Maybe something like

=SUMPRODUCT(--(LEFT(A5:A100,3)="2D7"))+SUMPRODUCT(--(LEFT(A5:A100,3)="CCA"))

Hope this helps,

Hutch
 
R

Ragdyer

See your original post!

It's usually best to stay in the original thread so that everyone can see
previous suggestions and eliminate duplication of effort.
 
G

Guest

BJ,
Thanks for the info but I need this in more lamine terms. I am not
understanding what exactly you are trying to say. The right function will
extract the characters from the right. So I am unsure of how that relates to
what I am trying to do. Could you please clarify?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top