I'd like to setup a spreadsheet that would let the user select the operator to apply to other cells. For example: If A1 has 5 and A2 has 10, I'd like the user to be able to select the plus or minus operators from cell A3 (resulting A4 displaying the result of: A1 + A2 or A1 - A2).
I know I could do this with a IF statement or CHOOSE. But I was wondering if there was something shorter. I've tried setting A4 to these options but none work as intended. I want a numerical result, such as 15 or -5
Here's what I've tried: - =A1&A3&A2 - =A1+A3A2
Are there any methods other than IF or CHOOSE?