Question

I am working on an online SharePoint site, and I created a calculated column with the following formula:-

=TEXT(NOW(),"mm/dd/yyyy")-[Last Update]

enter image description here now the formula is working well if the [Last Update] contain value, while if the [Last Update] is empty then the formula will return 44,055 so how I can fix this? to force the formula to return null if the [Last Update] is null?

Was it helpful?

Solution

Try using this:

=IF(ISBLANK([Last Update]),"",TEXT(NOW(),"mm/dd/yyyy")-[Last Update])
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top