I'm trying to use a COUNTIFS function for multiple conditions, one of which is to not count values within a certain cell range (C2:C11) when those values are lesser than those in the adjacent column (i.e., D2:D11), however this doesn't seem to be working.
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]5[/TD]
[TD]1.043[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]1.2[/TD]
[TD]1.0235[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.023[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]1.2[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]0.9909[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1.2[/TD]
[TD]0.9915[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1.2[/TD]
[TD]1.0255[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]1.2[/TD]
[TD]0.9075[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]1.2[/TD]
[TD]0.9505[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]0.9770[/TD]
[TD]0.9694[/TD]
[/TR]
</tbody>[/TABLE]
The whole formula I'm using (with the other conditions initially, that work fine) is as follows,
=COUNTIFS(B2:B11,">=16",B2:B11,"<=20",C2:C11,"<1.2",C2:C11,"<"&D2:D11)
which returns the value of 2 but the correct answer is 1 (last row should be excluded).
Any idea what I'm doing incorrectly ? Thank you for looking !
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]5[/TD]
[TD]1.043[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]1.2[/TD]
[TD]1.0235[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.023[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD]1.2[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]0.9909[/TD]
[TD]1.2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1.2[/TD]
[TD]0.9915[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]1.2[/TD]
[TD]1.0255[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]1.2[/TD]
[TD]0.9075[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]1.2[/TD]
[TD]0.9505[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]0.9770[/TD]
[TD]0.9694[/TD]
[/TR]
</tbody>[/TABLE]
The whole formula I'm using (with the other conditions initially, that work fine) is as follows,
=COUNTIFS(B2:B11,">=16",B2:B11,"<=20",C2:C11,"<1.2",C2:C11,"<"&D2:D11)
which returns the value of 2 but the correct answer is 1 (last row should be excluded).
Any idea what I'm doing incorrectly ? Thank you for looking !