ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Function Help (https://www.excelbanter.com/excel-programming/443497-function-help.html)

brittonsm

Function Help
 
I am trying to count the number of unique suppliers in a column that
exist on a list on Sheet 2 - I can get it to count unique, but when I
use the criteria of the other list I get a #DIV/0! Error.

[These are both array formulas]

This counts unique records:

=SUMPRODUCT((T10:T2104<"")/COUNTIF(T10:T2104,T10:T2104&""))

This bombs:

=SUMPRODUCT((T10:T2104<"")/COUNTIF(T10:T2104,'Current Supplier'!
A2:A2287&""))


All times are GMT +1. The time now is 09:35 PM.

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