May 15, 2023 05:00 AM
I'm trying to get this formula to calculate the difference between the date 'today' and the date in the field 'End date', then stay blank if it it's more than 10 days but return 'Yes' if it's 10 days or less. I can't get it to return the right values though. Any suggestions for how I can fix this to get the right result?
Solved! Go to Solution.
May 15, 2023 07:13 AM
Is your end date in the future? If so, you are going to get a negative result. You may need to flip the order of the dates around.
Try writing a formula with just DATETIME_DIFF() and experimenting with different input dates (both past and future) until you understand how it works. Then nest it inside the IF().
You blank result also doesn’t look blank to me. It looks like a single space character.
May 15, 2023 07:13 AM
Is your end date in the future? If so, you are going to get a negative result. You may need to flip the order of the dates around.
Try writing a formula with just DATETIME_DIFF() and experimenting with different input dates (both past and future) until you understand how it works. Then nest it inside the IF().
You blank result also doesn’t look blank to me. It looks like a single space character.
May 16, 2023 07:38 AM
Thank you, I hadn't considered negative results so I've found the answer now.