Subtracting dates - if error than string
Shlomi
✭✭✭
Hi all,
I want to substruct between 2 dates. but if there is a String, I want to write The following: "~"
Help me pls :)
Best Answer
-
If I'm understanding correctly and your formula is working the way you want it to in your other rows. It should be
=iferror([End date]@row-[Start date]@row+"Days","~")
Answers
-
If I'm understanding correctly and your formula is working the way you want it to in your other rows. It should be
=iferror([End date]@row-[Start date]@row+"Days","~")
-
Yes, it is working.
another thing, maybe you can help me
I want to add the following to the function above:
If the string is "Days" then write "Nothing"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.4K Get Help
- 447 Global Discussions
- 144 Industry Talk
- 478 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 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!