E
erables40
I know you can't use a formula in excel 2007 which nests more than 7
deep so here is what I did
=IF(A1="cheese",$B$25:$B$32,IF(A1="Deli meats",$B$34:$B
$38,IF(A1="Desserts",$B$40:$B
$44,IF(A1="Fish",B46:B48,IF(A1="Offal",B50:B51,IF(A1="Pasta",B53,IF(A1="Red
meat",B61:B63,IF(A1="Poultry",B57:B59,B23))))))))
at the end of formula 1 I referenced cell B23, which works great, here
is formula 2 in cell B23
=IF(A1="Pizza",B55:B56,IF(A1="Sushi and sashimi",B65,IF(A1="White
meat",B67,"")))
Now here is my problem: in formula 2 ex. Pizza if it references more
than 1 cell B55:B56 I get a value error if I choose pizza. From my
list in A1 If I remove the :B56 and leave only the B55 I get no error.
Therefore if In the first formula I reference more than one cell it
works in second formula I can only reference one cell, Why is that?
And is there any way around it?
I can switch Pasta from formula 1 with Pizza with formula 2 but I have
a similar formula where I need to reference more than 7 and all
contain more than one cell reference.
BTW in cell A1 I put the formula 1 in Data validation source.
Please help
Thanks
deep so here is what I did
=IF(A1="cheese",$B$25:$B$32,IF(A1="Deli meats",$B$34:$B
$38,IF(A1="Desserts",$B$40:$B
$44,IF(A1="Fish",B46:B48,IF(A1="Offal",B50:B51,IF(A1="Pasta",B53,IF(A1="Red
meat",B61:B63,IF(A1="Poultry",B57:B59,B23))))))))
at the end of formula 1 I referenced cell B23, which works great, here
is formula 2 in cell B23
=IF(A1="Pizza",B55:B56,IF(A1="Sushi and sashimi",B65,IF(A1="White
meat",B67,"")))
Now here is my problem: in formula 2 ex. Pizza if it references more
than 1 cell B55:B56 I get a value error if I choose pizza. From my
list in A1 If I remove the :B56 and leave only the B55 I get no error.
Therefore if In the first formula I reference more than one cell it
works in second formula I can only reference one cell, Why is that?
And is there any way around it?
I can switch Pasta from formula 1 with Pizza with formula 2 but I have
a similar formula where I need to reference more than 7 and all
contain more than one cell reference.
BTW in cell A1 I put the formula 1 in Data validation source.
Please help
Thanks