Subtracting dates - if error than string
Options
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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!