I have 3 cells A2, B2 and C2... A2 and B2 display results
formula results from other cells and I am trying to find
a formula for C2 that does the following: If A2 is between
.84 & .95 and B2 is between .012 & .008 then C2 displays
'yes' otherwise it is blank.
There are two separate issues implied in your question.
First, how to express the condition? Ostensibly, that might be done
as follows [1]:
=IF(AND(0.84<=A2,A2<=0.95,0.008<=B2,B2<=0.012),"yes","")
Second, there is an issue with precision. It would be more reliable
to write [2]:
=IF(AND(0.84<=ROUND(A2,2),ROUND(A2,2)<=0.95,
0.008<=ROUND(B2,3),ROUND(B2,3)<=0.012),"yes","")
Actually, it would be preferable to explicitly round the formulas in
A2 and B2 accordingly, if you always require their results to be
accurate to 2 and 3 decimal places respectively. Then you can use the
first formula with impunity.
-----
Endnotes
[1] There is no difference between 0.84<=A2 and A2>=0.84. I like to
write two-ended limit conditions as AND(0.84<=A2,A2<=0.95) because it
is similar to the mathematical expression 0.84<=A2<=0.95.
[2] Explicit rounding is usually needed for comparisons, at least,
because Excel, like most applications, usually uses binary floating-
point to store numbers and for computations. Consequently, most non-
integers (and most integers larger than 2^53) cannot be represented
exactly. This creates anomalies like IF(10.1-10=0.1,TRUE) returns
FALSE(!).
Also, formatting alone changes only the __appearance__ of a cell
value. Normally, it does not alter the __actual__ cell value. For
example, if A2 is formatted as Number with 2 decimal places, what
__appears__ to be 0.84 might be any value between 0.835-4*2^-53 and
0.845-5*2^-53. Note that any value less than A2-4*2^-53 will fail the
test.