Barry Scott
New Member
I'm getting a formula error on a nested if. The formula works fine for 8 nested ifs but I get a error on the 9th if. I have tried changing the 9th if to look at other cells or other conditions but I still get the error. Here is the code
I've uploaded my workbook. The formula in question is on worksheet ca_g4_rr1 in cell B28
Code:
=IF($O3=1,$B3,IF($O4=1,$B4,IF($O5=1,$B5,IF($O6=1,$B6,IF($O7=1,$B7,IF($O8=1,$B7,IF($O9=1,$B9,IF($O10=1,$B10,IF($O11=1,$B11,IF($O12=1,$B12,IF($O13=1,$B13,9999)))))))))))
I've uploaded my workbook. The formula in question is on worksheet ca_g4_rr1 in cell B28