Hello,
I have a sheet that looks for an entry in a field and if it exists then it looks to see if there is an override number to count out the number of days before the next customer ‘touch point’, else it defaults to 90 days.
If I break them down, the IF statements work perfectly independently. So just adding 90 days to the field yields the correct results here:
IF({Initial Follow-up with} = “”, BLANK(), DATETIME_FORMAT(DATEADD({Initial Contact Date}, 90, ‘days’),‘MM/DD/YYYY’))
OR, just adding the override field (which can contain any number yields the correct results here:
IF({Initial Follow-up with} = “”, “”, DATETIME_FORMAT(DATEADD({Initial Contact Date}, {Expected Follow-up (in days)}, ‘days’),‘MM/DD/YYYY’))
But when I put them together, if the {Expected Follow-up (in days)} is empty, I get the 90 days appended to the next touch point (where this formula lives); however, if there is any number, except 0, in that field, the calculation yields a blank field:
IF({Initial Follow-up with} = BLANK(), BLANK(), IF({Expected Follow-up (in days)} = BLANK(), DATETIME_FORMAT(DATEADD({Initial Contact Date}, 90, ‘days’), ‘MM/DD/YYYY’, DATETIME_FORMAT(DATEADD({Initial Contact Date}, {Expected Follow-up (in days)}, ‘days’), ’MM/DD/YYYY’)))))
What am I missing? Thanks in advance.
Best,
Charlie-