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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives