R
RF
But when I hit the enter key, I get the error dialog box,
then in the formula bar, the last "IF" is highlighted.
This formula gets the error:
=IF(+I8<>0, INDEX(Item,+T8,K8),
IF(J8="CS",(AA8*(1+F8)),
IF(J8="CA",(Y8*(1+F8)),
IF(J8="SA",(Y8/(1-F8)),
IF(J8="SS",(AA8/(1-F8)),
IF(J8="SM",(Z8/(1-F8)),
IF(J8="PA",(Y8+F8),
IF(J8="PS",(AA8+F8),
IF(J8="PM",(Z8+F8) <----without this line it works!
)))))))))
All open parands are cloees
But this one works ok, but may not produce the desired
results without the last IF condition:
=IF(+I8<>0, INDEX(Item,+T8,K8),
IF(J8="CS",(AA8*(1+F8)),
IF(J8="CA",(Y8*(1+F8)),
IF(J8="SA",(Y8/(1-F8)),
IF(J8="SS",(AA8/(1-F8)),
IF(J8="SM",(Z8/(1-F8)),
IF(J8="PA",(Y8+F8),
IF(J8="PS",(AA8+F8),(Z8+F8)
))))))))
Any ideas?
Thanks
RF
then in the formula bar, the last "IF" is highlighted.
This formula gets the error:
=IF(+I8<>0, INDEX(Item,+T8,K8),
IF(J8="CS",(AA8*(1+F8)),
IF(J8="CA",(Y8*(1+F8)),
IF(J8="SA",(Y8/(1-F8)),
IF(J8="SS",(AA8/(1-F8)),
IF(J8="SM",(Z8/(1-F8)),
IF(J8="PA",(Y8+F8),
IF(J8="PS",(AA8+F8),
IF(J8="PM",(Z8+F8) <----without this line it works!
)))))))))
All open parands are cloees
But this one works ok, but may not produce the desired
results without the last IF condition:
=IF(+I8<>0, INDEX(Item,+T8,K8),
IF(J8="CS",(AA8*(1+F8)),
IF(J8="CA",(Y8*(1+F8)),
IF(J8="SA",(Y8/(1-F8)),
IF(J8="SS",(AA8/(1-F8)),
IF(J8="SM",(Z8/(1-F8)),
IF(J8="PA",(Y8+F8),
IF(J8="PS",(AA8+F8),(Z8+F8)
))))))))
Any ideas?
Thanks
RF