ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting Unique Codes (https://www.excelbanter.com/excel-discussion-misc-queries/105304-counting-unique-codes.html)

pgiessler

Counting Unique Codes
 
I have a list of Purchase Orders Codes (alpha-numeric data) and I want to
know how many different POs are being hit in a list of monthly purchases. For
example:

EV134
SD234
EV134
WD686
WD686
EV134
SD234
HK128

So, the answer I would be looking for is 4. Is there a easy way to do this?
I have a formula that calculates this with numbers, but the text seems to
mess it up.

Any help would be appreciated - Thanks - P

Bob Phillips

Counting Unique Codes
 
=SUMPRODUCT((A1:A8<"")/COUNTIF(A1:A8,A1:A8&""))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"pgiessler" wrote in message
...
I have a list of Purchase Orders Codes (alpha-numeric data) and I want to
know how many different POs are being hit in a list of monthly purchases.

For
example:

EV134
SD234
EV134
WD686
WD686
EV134
SD234
HK128

So, the answer I would be looking for is 4. Is there a easy way to do

this?
I have a formula that calculates this with numbers, but the text seems to
mess it up.

Any help would be appreciated - Thanks - P





All times are GMT +1. The time now is 08:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com