Sum between two dates but left blank if there is no date in one of the columns
Hi there,
I am looking for the formula to find the number of days it took between two dates only if there is a date added in Column A.
I have used and this worked great to get the days but if there are any blanks in Column A it comes back as a 0 and I am looking for it to be blank instead.
What do I need to add to make it blank if there is no date in column A?
=SUM([Column A]@row - [Column B]@row)
Thank you
Tags:
Best Answer
-
Try this:
=IF([Column A]@row <> "", [Column A]@row - [Column B]@row)
Answers
-
Try this:
=IF([Column A]@row <> "", [Column A]@row - [Column B]@row)
-
Thank you Paul! This did the trick.
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!