Dave Punky
Board Regular
- Joined
- Jan 7, 2010
- Messages
- 133
Hi all,
I'm having a problem trying to COUNTIF several cells over multiple ranges. Basically all I want to do is count all of the cells greater than 0 but the ranges are not directly aligned.
The ranges are basically A1, A3, A5 (and so on) so I can't set the range as such.
I've tried naming the range and doing countif with that like so:
I've also tried using COUNTA with a formula making the cell equal "" so it displays a blank value, but as the cells actually have contents it's not worked.
If there any way of doing a COUNTIF greater than 0 with a formula with each of the ranges. I have 11 in total in the same pattern as above. Any ideas / suggestions would be appreciated.
I'm having a problem trying to COUNTIF several cells over multiple ranges. Basically all I want to do is count all of the cells greater than 0 but the ranges are not directly aligned.
The ranges are basically A1, A3, A5 (and so on) so I can't set the range as such.
I've tried naming the range and doing countif with that like so:
Code:
=COUNTIF(range1,">0")
I've also tried using COUNTA with a formula making the cell equal "" so it displays a blank value, but as the cells actually have contents it's not worked.
If there any way of doing a COUNTIF greater than 0 with a formula with each of the ranges. I have 11 in total in the same pattern as above. Any ideas / suggestions would be appreciated.