My SWITCH function returns false when the logical expression is a formula in a cell.
Here's what works as expected:
=SWITCH(B3,12,"DEC","NONE")
output is DEC where B3 contains the value 12
However, if B3 contains the formula: =left(A3,2)
and A3 contains the value 12345 then B3 is correctly displaying the value 12 but the SWITCH function returns NONE.
I've tried this:
=SWITCH(LEFT(A3,2),12,"DEC","NONE")
but that also returns NONE.
So, how do I get the function to recognize the value of the cell with the formula?