Date difference calculation
Hi,
I am trying to get the number of days a particular task is open. I have 2 columns - Open Date, Closed Date. I have created a calculated column with the following logic but I am getting an #UNPARSEABLE error. The logic for the calculation is as follows:
=IF (ISBLANK([Closed Date]@row), NETDAYS([Closed Date]@row-[Opened Date]@row),TODAY() - [Opened Date]@row)
If anyone has any suggestions, that would be very helpful.
Answers
-
I think the issue here is that your formula is written in reverse. Try this:
=IF(ISBLANK([Closed Date]@row), NETDAYS(TODAY()-[Opened Date]@row), [Closed Date]@row-[Opened Date]@row)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 377 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 33 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!