Forum Discussion
Carlin75
Feb 10, 2022Copper Contributor
#NAME? error from nested formula
I keep getting a #NAME? error any time I input any number greater than 6 in cell A1 from the following nested IFAND formula. = IF(AND(A1>0, A1<=3), "5", IF(AND(A1>3, A1<=6), "10", IF(AND(A1>6, A...
- Feb 10, 2022
Your formula uses curly quotes instead of straight quotes around 15 and 20. Change them to straight quotes.
By the way, do you need the quotes at all? It appears to me that you want to return numbers, not text strings.
Detlef_Lewin
Feb 10, 2022Silver Contributor
You are using the wrong double quotes around 15 and 20.
In fact you can get rid of all double quotes since you want a number for your output and not a text.
In fact you can get rid of all double quotes since you want a number for your output and not a text.
- Detlef_LewinFeb 10, 2022Silver Contributor
- HansVogelaarFeb 10, 2022MVP