W
Wellie
I have a range of cells that contains a value ranges from
0 to N. For example range A1:F1.
A B C D E F
1 3 0 2 12 0 8
I'm interested in counting number of cells that are
1 - >0 and place the count in one cell (B1)
2 - >5 & <0 and place the count in another cell (C1)
I tried the following and it did not work.
Can someone please help me what kind of worksheet
function that I need to get the right count ?
In cell B1=COUNT(AND(A1<>0,B1<>0,C1<>0,D1<>0,E1<>0,F1<>0))
The result of above should be 4 in B1
Don't know how to do #2
Can someone please help ?
0 to N. For example range A1:F1.
A B C D E F
1 3 0 2 12 0 8
I'm interested in counting number of cells that are
1 - >0 and place the count in one cell (B1)
2 - >5 & <0 and place the count in another cell (C1)
I tried the following and it did not work.
Can someone please help me what kind of worksheet
function that I need to get the right count ?
In cell B1=COUNT(AND(A1<>0,B1<>0,C1<>0,D1<>0,E1<>0,F1<>0))
The result of above should be 4 in B1
Don't know how to do #2
Can someone please help ?