blackbird4823
New Member
- Joined
- Jul 14, 2014
- Messages
- 29
Hope everyone is having a great Monday (if there is such a thing.)
I am trying to count the number of 0 thru 9 in a column based on criteria (non-blank cell) to the right of the cell.
This is an example from the sheet:
H5:H275 I5:I275
blank blank
70 B57
0 B57
5 B57
0 B57
11 B57
29 A21
0 blank
0 blank
0 blank
total should be 3
SOME of the things I have tried:
=SUM(COUNTIF(H5:H275,"<9",H5:H275,">=0"),COUNTIF(I:I,>" ")
=COUNT(H:H,"<9")
=SUMPRODUCT(--(H:H<10),--(I:I>" "))
=SUMPRODUCT(--(H:H<10),(H:H,">=0)--(I:I>" "))
=SUMPRODUCT(--(H5:H275<10),(H5:H275>=0))-COUNT(I5:I275," ")
=SUMPRODUCT(--($H$5:$H$275=<0),--($H$5:$H$275=<10))
=SUMPRODUCT(--($H$5:$H$275>=0),--($H$5:$H$275<10))-COUNT(I5:I275," ")]
none of which have worked.
ANY and ALL help greatly appreciated!!!
I am trying to count the number of 0 thru 9 in a column based on criteria (non-blank cell) to the right of the cell.
This is an example from the sheet:
H5:H275 I5:I275
blank blank
70 B57
0 B57
5 B57
0 B57
11 B57
29 A21
0 blank
0 blank
0 blank
total should be 3
SOME of the things I have tried:
=SUM(COUNTIF(H5:H275,"<9",H5:H275,">=0"),COUNTIF(I:I,>" ")
=COUNT(H:H,"<9")
=SUMPRODUCT(--(H:H<10),--(I:I>" "))
=SUMPRODUCT(--(H:H<10),(H:H,">=0)--(I:I>" "))
=SUMPRODUCT(--(H5:H275<10),(H5:H275>=0))-COUNT(I5:I275," ")
=SUMPRODUCT(--($H$5:$H$275=<0),--($H$5:$H$275=<10))
=SUMPRODUCT(--($H$5:$H$275>=0),--($H$5:$H$275<10))-COUNT(I5:I275," ")]
none of which have worked.
ANY and ALL help greatly appreciated!!!