Guys
Worked it out! the problem was, the first 2 IIf statements were arguing with each other, as IIf statement 1 had criteria less than 90 days between 2 dates, and IIf 2's criteria was if the current date passes the planned date which, in effect means the solution is still less than 90 days...