A
Ann
how do i do a if A1 >200 and <300 return A1 otherwise return 0. i can't get
the logic to work
the logic to work
return 0. i can't get the logic to work
=A1*(A1>200)*(A1<300)
tests
(A1>200)
(A1<300)
would lead to a True or False result.
When Multiplied together, the True's would be coerced to 1's and the
False's to 0's
Hence
A1*TRUE*TRUE becomes A1*1*1 which returns the value in A1
If either (or both) of the tests is False, then we get 0.
A1*0*1 = 0
A1*1*0 = 0