How do I return a unique count where conditions exist?
You're welcome. Thanks for the feedback!
--
Biff
Microsoft Excel MVP
"Cher" wrote in message
...
Thank you very much; it worked
--
Cher
"T. Valko" wrote:
So, you want to count unique entries in col A where B = HO and C = P ?
Try this array formula** :
=COUNT(1/FREQUENCY(IF((B4:B9216="HO")*(C4:C9216="P"),MATCH( A4:A9216,A4:A9216,0)),ROW(A4:A9216)-MIN(ROW(A4:A9216))+1))
** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)
--
Biff
Microsoft Excel MVP
"Cher" wrote in message
...
How do I return a unique count where conditions exist? This works
until I
try to add conditions. HELP!!!
This works:
=SUM(IF(FREQUENCY(MATCH(A4:A9216,A4:A9216,0)|MATCH (A4:A9216,A4:A9216,0))0,1))
When I add conditions it doesn't:
(IF(B4:B9216,"HO")+IF(C4:C9216,"P")SUM(IF(FREQUENC Y(MATCH(A4:A9216,A4:A9216,0)|MATCH(A4:A9216,A4:A92 16,0))0,1)))
--
Cher
|