Subtracting dates
I have an excel sheet that subtracts dates. The formula is as follows:
=IF(P4="","",NETWORKDAYS(P4,Q4)-SIGN(NETWORKDAYS(P4,Q4))) This formula works.
When I use it in Smartsheets, the formula is as follows.
=IF([POC Date (Planned)]3="","",NETWORKDAYS([POC Date (Planned)]3,[Actual/Pending Date]3-SIGN(NETWORKDAYS([POC Date (Planned)]3,[Actual/Pending Date]3)))
I get a response of (UNPARSEABLE)
Any thoughts on what I am doing wrong?
Best Regards,
Comments
-
At a quick glance, I can see that you aren't closing your first networkdays function. But I am also seeing that the SIGN function isn't a valid function for Smartsheets: https://help.smartsheet.com/functions.
=IF([POC Date (Planned)]3="","",NETWORKDAYS([POC Date (Planned)]3,[Actual/Pending Date]3)-SIGN(NETWORKDAYS([POC Date (Planned)]3,[Actual/Pending Date]3)))
-
Thanks for the help...To get around the (SIGN) condition, I used the below formula.
Best Regards,
=IF([POC Date (Planned)]3 = "", "", IF([POC Date (Planned)]3 = [Actual/Pending Date]3, "0", NETWORKDAYS([POC Date (Planned)]3, [Actual/Pending Date]3)))
-
You're welcome. Glad we could be of assistance.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives