Calculate difference between dates if populated, return a different result if not
Hello, newcomer here!
Trying to work out the best way to calculate the following please:
If Date X = blank, return result 'overdue'
If Date X = populated, calculate difference between Date X and Y
Following on from that, I need a following column to return Yes if date is <1, or No if date is or overdue.
Thanks in advance!!
Kristen
Best Answers
-
For the first, you can try something along the lines of...
=IF([Date X]@row = "", "Overdue", [Date X]@row - [Date Y]@row)
And for the second you can use...
=IF([Calculated Column]@row < 1, "Yes", "No")
-
Thank you Paul, worked great and gave me ideas to fix other problems I was having!
#constantlylearning!😁
Answers
-
For the first, you can try something along the lines of...
=IF([Date X]@row = "", "Overdue", [Date X]@row - [Date Y]@row)
And for the second you can use...
=IF([Calculated Column]@row < 1, "Yes", "No")
-
Thank you Paul, worked great and gave me ideas to fix other problems I was having!
#constantlylearning!😁
-
Happy to help! 👍️
#thatmakes2ofus 🤣
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.2K Get Help
- 386 Global Discussions
- 212 Industry Talk
- 445 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 291 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!