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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!