When I type in the following nested IF I get a =#VALUE! Error after the spreadsheet has been saved and reloaded. The contents of the cell are as I expected but the formula has gone and been replaced by =#VALUE!.
The formula is
=IF(B4=21,"£21 Subscription",IF(B4=42,"£42 Subscription",IF(B4=44.5,"£42 + £2.50 joining fee",IF(B4=23.5,"£21 Subscription + £2.50 joining fee",IF(B4=26.5,"£24 Subscription + £2.50 joining fee",IF(B4=14.5,"£12 Subscription + £2.50 joining fee",IF(B4=8.5,"£6 Subscription + £2.50 joining fee",IF(B4=26,"£23.50 Subscription + £2.50 joining fee",IF(B4=52,"£49.50 Subscription + £2.50 joining fee","Check this")))))))))
If I remove two of the nested IF statement if works as can be saved and reloaded. Have I reached a maximum length or depth for the IF statement?
Is there a better way of doing this? I test the contents of B4 for 7 valid responses, if they are not 21 or 42 then I need to split off the 2.50 joining fee. If not one of the 7 valid resp
onses then I need an error prompt
Thanks
David
Bookmarks