dzelnio said:
=IF(AND(V2="monthly",Y2="January"),$U2)
works great when statements are true. How do I say "if false then
leave the cell alone?"
You can't "leave the cell alone" - a formula *always* returns a result
to the cell. You can return a null string:
=IF(AND(V2="monthly",Y2="January"),$U2,"")
but the result is a text string.
If you're just displaying the result, that's probably fine - it looks
blank. Some functions (e.g., SUM()) ignore text. But it may cause an
error if you try, for example, to use it in a math formula:
A1: =IF(FALSE,"Not false","")
A2: =A1+B1 ==> #VALUE! error
(where FALSE would be coerced to 0, so A2 would return the value in B1).
You could instead use conditional formatting to hide FALSE returns by
changing the font color to the same as the cell color.