Nesting multiple "IF" functions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I need to nest 42 IF functions as value_if_true and value_if_false arguments - however current functionality only allows for 7.
Can anybody help me with a way around this

Many thank
Rod
 
Hi Rod
for this I would suggest using VLOOKUP (no way around the maximum of 7
nested functions):
- create a separate sheet with a lookup table (lets call this sheet
'lookup) and the following layout:
A B
1 cond1 value1
2 cond2 value2
....

noy on your toher sheet use the following formula (A1 stores the value
to check for)
=IF(ISNA(VLOOKUP(A1,'lookup'!$A$1:$B$20,2,0),"not
found",VLOOKUP(A1,'lookup'!$A$1:$B$20,2,0))
 
Back
Top