I am attempting to count the number of occurrences that contain a *
in a specific numeric range using the COUNTIFS
function in Google Sheets. The function works for a positive range, but fails when I add a negative. I have tried escaping the negative and adding parens but nothing seems to work.
Works - correctly returns a value of 1, because 0.01* is between 0 and .1 and contains an *
0.01*
.8*
*
-0.08
-0.08*
=COUNTIFS(J62:J66, ">0.000\*",J62:J66, "<0.1\*")
Does Not Work - expected return value of 1, because -.08* is between 0 and -.1 and contains an *
.
-.3*
-.8*
-*
-0.08
-0.08*
=COUNTIFS(H62:H66, ">-0.1\*",H62:H66, "<0.000\*")
edit to address @pnuts comment
If I change -.3*
to -0.3*
and -.8*
to -0.8*
the function returns a value of 2, which is not what I expect.