This is what I am looking at....
=IF(ISBLANK(G281),(IF(F281<Calendar!$M$4,((H281/365)*
(DAYS360(Calendar!$M$4,Calendar!$N$4,FALSE))),(IF
(F281>Calendar!$N$4,0,((H281/365)*(DAYS360(Calendar!
$M$4,F281,FALSE)))),(IF(G281<Calendar!$M$4,0,((H281/365)*
(DAYS360(Calendar!M$4,G281,FALSE)))))))))
...
Your formula is syntactically similar to the reformatted
=IF(
___1,
___IF(
_____0,
_____10,
_____(
_______IF(1,0,20),
_______IF(0,0,30)
_____)
___)
_)
[replace the underscores with spaces.]
Excel, at least XL97 SR-2, accepts this formula, even though it *SHOULD* be a
syntax error - the 3rd argument to your second IF call is
(IF(F281>Calendar!$N$4,0,((H281/365)*(DAYS360(Calendar!$M$4,F281,FALSE)))),
(IF(G281<Calendar!$M$4,0,((H281/365)*(DAYS360(Calendar!M$4,G281,FALSE))))))
which shouldn't be accepted. You're using unnecessary parentheses, and you've
just demonstrated that doing so can cause Excel problems. I believe you meant to
use
=IF(
___ISBLANK(G281),
___IF(
_____F281<Calendar!$M$4,
_____(H281/365)*DAYS360(Calendar!$M$4,Calendar!$N$4,FALSE),
_____IF(
_______F281>Calendar!$N$4,
_______0,
_______(H281/365)*DAYS360(Calendar!$M$4,F281,FALSE)
_____)
___),
___IF(
_____G281<Calendar!$M$4,
_____0,
_____(H281/365)*DAYS360(Calendar!M$4,G281,FALSE)
___)
_)
If so, this could be reduced to
=(H281/365)
_*IF(
___ISBLANK(G281),
___DAYS360(Calendar!$M$4,LOOKUP(F281,Calendar!$L$4:$N$4*{0,1,1},
_____Calendar!$N$4*{1,0,0}+F281*{0,1,0}+Calendar!$M$4*{0,0,1}),FALSE),
___DAYS360(Calendar!M$4,MAX(G281,Calendar!$M$4),FALSE)
_)