I have a column ("Milestone Variance") that calculates the difference in days between two other columns ("Milestone Target Date" and "Milestone Completion Date").
I have another column ("Milestone Completion Status") that looks at the Milestone Variance column and populates cells based on the Milestone Variance such that:
variances <0 - "Early";
variances >0 = "Late"; and
variances =0 = "On Time"
The formula is:=IF([Milestone Variance]@row = 0, "On Time", IF([Milestone Variance]@row < 0, "Early", IF([Milestone Variance]@row > 0, "Late", "")))
The formula works except when there is a blank value for Milestone Variance. In instances where I only have a completion date and no target date, the value is blank, which is what I want. However, the Milestone Completion Status automatically fills in the cell with "On Time" instead of also leaving it blank. I tried to correct this with this formula:
=IF(ISBLANK[Milestone Variance]@row ), "", IF([Milestone Variance]@row = 0, "On Time", IF([Milestone Variance]@row < 0, "Early", IF([Milestone Variance]@row > 0, "Late", "")))
When I tried that formula, I got a message that says the column syntax isn't quite right.
Do you have a suggestion for how to fix this so that if the value in the reference cell is blank the value in the Milestone Completion cell will also be blank, but will return "early" if <0; "late" if >0, or "on time" if = 0?
Thanks in advance!