Amr Eltaher
New Member
- Joined
- Sep 5, 2014
- Messages
- 3
My formula is too long and i cannot add more if functions in the formula cause it contains more than 64 levels of nesting.
This is the formula.
=IF(AND(C1=A15,C5=B37,C8=B44),D76,IF(AND(C1=A15,C5=B37,C8=B45),D77,IF(AND(C1=A15,C5=B37,C8=B46),D78,IF(AND(C1=A15,C5=B37,C8=B47),D79,IF(AND(C1=A15,C5=B37,C8=B48),D80,IF(AND(C1=A15,C5=B37,C8=B49),D81,IF(AND(C1=A15,C5=B37,C8=B50),D82,IF(AND(C1=A15,C5=B37,C8=B51),D83,IF(AND(C1=A15,C5=B37,C8=B52),D84,IF(AND(C1=A15,C5=B37,C8=B53),D85,IF(AND(C1=A15,C5=B37,C8=B54),D86,IF(AND(C1=A15,C5=B37,C8=B55),D87,IF(AND(C1=A15,C5=B34,C8=B44),E76,IF(AND(C1=A15,C5=B34,C8=B45),E77,IF(AND(C1=A15,C5=B34,C8=B46),E78,IF(AND(C1=A15,C5=B34,C8=B47),E79,IF(AND(C1=A15,C5=B34,C8=B48),E80,IF(AND(C1=A15,C5=B34,C8=B49),E81,IF(AND(C1=A15,C5=B34,C8=B50),E82,IF(AND(C1=A15,C5=B34,C8=B51),E83,IF(AND(C1=A15,C5=B34,C8=B52),E84,IF(AND(C1=A15,C5=B34,C8=B53),E85,IF(AND(C1=A15,C5=B34,C8=B54),E86,IF(AND(C1=A15,C5=B34,C8=B55),E87,IF(AND(C1=A15,C5=B35,C8=B44),F76,IF(AND(C1=A15,C5=B35,C8=B45),F77,IF(AND(C1=A15,C5=B35,C8=B46),F78,IF(AND(C1=A15,C5=B35,C8=B47),F79,IF(AND(C1=A15,C5=B35,C8=B48),F80,IF(AND(C1=A15,C5=B35,C8=B49),F81,IF(AND(C1=A15,C5=B35,C8=B50),F82,IF(AND(C1=A15,C5=B35,C8=B51),F83,IF(AND(C1=A15,C5=B35,C8=B52),F84,IF(AND(C1=A15,C5=B35,C8=B53),F85,IF(AND(C1=A15,C5=B35,C8=B54),F86,IF(AND(C1=A15,C5=B35,C8=B55),F87,IF(AND(C1=A15,C5=B36,C8=B44),G76,IF(AND(C1=A15,C5=B36,C8=B45),G77,IF(AND(C1=A15,C5=B36,C8=B46),G78,IF(AND(C1=A15,C5=B36,C8=B47),G79,IF(AND(C1=A15,C5=B36,C8=B48),G80,IF(AND(C1=A15,C5=B36,C8=B49),G81,IF(AND(C1=A15,C5=B36,C8=B50),G82,IF(AND(C1=A15,C5=B36,C8=B51),G83,IF(AND(C1=A15,C5=B36,C8=B52),G84,IF(AND(C1=A15,C5=B36,C8=B53),G85,IF(AND(C1=A15,C5=B36,C8=B54),G86,IF(AND(C1=A15,C5=B36,C8=B55),G87,IF(AND(C1=A15,C5=B38,C8=B44),I76,IF(AND(C1=A15,C5=B38,C8=B45),I77,IF(AND(C1=A15,C5=B38,C8=B46),I78,IF(AND(C1=A15,C5=B38,C8=B47),I79,IF(AND(C1=A15,C5=B38,C8=B48),I80,IF(AND(C1=A15,C5=B38,C8=B49),I81,IF(AND(C1=A15,C5=B38,C8=B50),I82,IF(AND(C1=A15,C5=B38,C8=B51),I83,IF(AND(C1=A15,C5=B38,C8=B52),I84,IF(AND(C1=A15,C5=B38,C8=B53),I85,IF(AND(C1=A15,C5=B38,C8=B54),I86,IF(AND(C1=A15,C5=B38,C8=B55),I87,IF(AND(C1=A15,C5=B39,C8=B44),J76,IF(AND(C1=A15,C5=B39,C8=B45),J77,IF(AND(C1=A15,C5=B39,C8=B46),J78,IF(AND(C1=A15,C5=B39,C8=B47),J79))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Any help please
This is the formula.
=IF(AND(C1=A15,C5=B37,C8=B44),D76,IF(AND(C1=A15,C5=B37,C8=B45),D77,IF(AND(C1=A15,C5=B37,C8=B46),D78,IF(AND(C1=A15,C5=B37,C8=B47),D79,IF(AND(C1=A15,C5=B37,C8=B48),D80,IF(AND(C1=A15,C5=B37,C8=B49),D81,IF(AND(C1=A15,C5=B37,C8=B50),D82,IF(AND(C1=A15,C5=B37,C8=B51),D83,IF(AND(C1=A15,C5=B37,C8=B52),D84,IF(AND(C1=A15,C5=B37,C8=B53),D85,IF(AND(C1=A15,C5=B37,C8=B54),D86,IF(AND(C1=A15,C5=B37,C8=B55),D87,IF(AND(C1=A15,C5=B34,C8=B44),E76,IF(AND(C1=A15,C5=B34,C8=B45),E77,IF(AND(C1=A15,C5=B34,C8=B46),E78,IF(AND(C1=A15,C5=B34,C8=B47),E79,IF(AND(C1=A15,C5=B34,C8=B48),E80,IF(AND(C1=A15,C5=B34,C8=B49),E81,IF(AND(C1=A15,C5=B34,C8=B50),E82,IF(AND(C1=A15,C5=B34,C8=B51),E83,IF(AND(C1=A15,C5=B34,C8=B52),E84,IF(AND(C1=A15,C5=B34,C8=B53),E85,IF(AND(C1=A15,C5=B34,C8=B54),E86,IF(AND(C1=A15,C5=B34,C8=B55),E87,IF(AND(C1=A15,C5=B35,C8=B44),F76,IF(AND(C1=A15,C5=B35,C8=B45),F77,IF(AND(C1=A15,C5=B35,C8=B46),F78,IF(AND(C1=A15,C5=B35,C8=B47),F79,IF(AND(C1=A15,C5=B35,C8=B48),F80,IF(AND(C1=A15,C5=B35,C8=B49),F81,IF(AND(C1=A15,C5=B35,C8=B50),F82,IF(AND(C1=A15,C5=B35,C8=B51),F83,IF(AND(C1=A15,C5=B35,C8=B52),F84,IF(AND(C1=A15,C5=B35,C8=B53),F85,IF(AND(C1=A15,C5=B35,C8=B54),F86,IF(AND(C1=A15,C5=B35,C8=B55),F87,IF(AND(C1=A15,C5=B36,C8=B44),G76,IF(AND(C1=A15,C5=B36,C8=B45),G77,IF(AND(C1=A15,C5=B36,C8=B46),G78,IF(AND(C1=A15,C5=B36,C8=B47),G79,IF(AND(C1=A15,C5=B36,C8=B48),G80,IF(AND(C1=A15,C5=B36,C8=B49),G81,IF(AND(C1=A15,C5=B36,C8=B50),G82,IF(AND(C1=A15,C5=B36,C8=B51),G83,IF(AND(C1=A15,C5=B36,C8=B52),G84,IF(AND(C1=A15,C5=B36,C8=B53),G85,IF(AND(C1=A15,C5=B36,C8=B54),G86,IF(AND(C1=A15,C5=B36,C8=B55),G87,IF(AND(C1=A15,C5=B38,C8=B44),I76,IF(AND(C1=A15,C5=B38,C8=B45),I77,IF(AND(C1=A15,C5=B38,C8=B46),I78,IF(AND(C1=A15,C5=B38,C8=B47),I79,IF(AND(C1=A15,C5=B38,C8=B48),I80,IF(AND(C1=A15,C5=B38,C8=B49),I81,IF(AND(C1=A15,C5=B38,C8=B50),I82,IF(AND(C1=A15,C5=B38,C8=B51),I83,IF(AND(C1=A15,C5=B38,C8=B52),I84,IF(AND(C1=A15,C5=B38,C8=B53),I85,IF(AND(C1=A15,C5=B38,C8=B54),I86,IF(AND(C1=A15,C5=B38,C8=B55),I87,IF(AND(C1=A15,C5=B39,C8=B44),J76,IF(AND(C1=A15,C5=B39,C8=B45),J77,IF(AND(C1=A15,C5=B39,C8=B46),J78,IF(AND(C1=A15,C5=B39,C8=B47),J79))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Any help please