| |||||||
Monday | |||||||
Tuesday | |||||||
Wednesday | |||||||
Thursday | |||||||
Friday | |||||||
Saturday | |||||||
Days Number | Day | ||||||
=IFERROR(IF(A10=1,A2, IF(A10=2,A3,IF(A10=3,A4,IF(A10=4,A4,IF(A10=5,A6,IF(A10=6,A7,IF(A10=7,A8))))))), "PLEASE ENTER NUMBERS BETWEEN 1AND 7") |
| |||||||
Monday | |||||||
Tuesday | |||||||
Wednesday | |||||||
Thursday | |||||||
Friday | |||||||
Saturday | |||||||
Days Number | Day | ||||||
=IFERROR(IF(A10=1,A2, IF(A10=2,A3,IF(A10=3,A4,IF(A10=4,A4,IF(A10=5,A6,IF(A10=6,A7,IF(A10=7,A8))))))), "PLEASE ENTER NUMBERS BETWEEN 1AND 7") |
Thank you very much, your solution is correct. I think the code I used initially would have worked if I used IFS instead of nested ifhow about
=IF(A10=1,A2,IF(A10=2,A3,IF(A10=3,A4,IF(A10=4,A5,IF(A10=5,A6,IF(A10=6,A7,IF(A10=7,A8,"PLEASE ENTER NUMBERS BETWEEN 1AND 7")))))))
IFERROR is not likely to be invoked, as if you type a number greater then 7 - thats NOT an error, but the false part of your nested if
NOTE also a change of A4 to A5