The following Nested IF AND is producing a #NAME? in the cell:
=IF(AND($F$4=1,(A42+4*365).GE.AC38),AL46*(AI46-$A$55)*(1-0.01),AL46*(AI46-$A$55)*(1-$A$51))
The variables A42 and AC38 are dates. A42 is input and AC38 is calculated as all other dates in column AC. I want the program to switch calculation after the calculated date AC38 is four (4) years after start of project, i.e. when A42 + (4 * 365) greater than the calculated date AC38.
The following formula works fine which does not include the AND statement:
=IF($F$4=1,AL47*(AI47-$A$55)*(1-0.01),AL47*(AI47-$A$55)*(1-$A$51))
Bookmarks