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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!