Countif, In Array
Posted by Colin on January 02, 2001 3:07 PM
I'm trying to count the number of cells that have a
value greater than 0 in the columns underneath a W.
So if the array looks like:
(W) (L) (L) (W)
(4) (0) (2) (0)
I'm trying to return 1.
If the array looks like:
(W) (L) (L) (W) (W) (L) (L) (W)
(4) (0) (2) (0) (8) (0) (9) (0)
I'm trying to return 2.
If it looks like:
(W) (L) (W) (L) (L) (W) (L) (W)
(4) (0) (0) (4) (0) (2) (0) (4)
I'm trying to return 3.
My best stab so far is:
{=COUNT(IF(Win="W",One))}
Where 'Win' is the Range (W) (L) (W) (L) (L) (W) (L) (W)
and 'One' is the Range (4) (0) (0) (4) (0) (2) (0) (4)
Unfortunately, this returns 4
TIA for any help!
Colin