Forum Discussion
vchrnk
Feb 13, 2025Copper Contributor
Help Needed: Calculating Difference Between Two Date Columns in MS Lists
Hi everyone, I'm having trouble calculating the difference between two date columns in Microsoft Lists. Every time I try to use a formula, I get the following error: Sorry, something went wrong. Th...
vchrnk
Feb 13, 2025Copper Contributor
Hi Dave,
Thanks for your reply. Indeed, the simple calculation works. However, in case the [End date] is still empty, it shows a negative value, which I'd like to avoid.
DaveMehr365
Feb 13, 2025MVP
Hi vchrnk
you can try this calculation:
=IF(OR(ISBLANK([Publish by]), ISBLANK([Draft due by])), "", [Publish by] - [Draft due by])
Best, Dave