Calculate Due Date from 4 possible columns
I'm fairly new to Smartsheet and need to provide a due date based on the most recent response received from a vendor. I've got the formula for the column working for the first 2 scenarios below, but am having trouble getting the correct syntax to calculate dates when responses 3 & 4 are received.
These are all in the same row of the Smartsheet, and the chart shows the 4 potential scenarios.
Here's what I have so far for the first two scenarios.
=IF(ISBLANK([Response 2]@row), [Response 1]@row + 14, [Response 2]@row+14
Due Date Scenarios:
If Responses 4, 3, 2 are blank and 1 is not blank, due date shows Response 1 + 14 days.
If Responses 4, 3 are blank, and 2, 1 are not blank, due date shows Response 2 + 14 days.
If Response 4 is blank, and 3, 2, 1 are not blank, due date shows Response 3 + 14 days.
If Response 4 is not blank, due date shows Response 4 + 14 days.
Thanks in advance!
Best Answers
-
HI @Jill Burch,
Rather than needing a big nested IF statement, you could just use MAX instead:
=MAX([Response 1]@row:[Response 4]@row) + 14
This is of course assuming you're not going to have later dates in earlier responses!
-
@Nick Korna Thanks for the great solution! Much easier than what I was trying to do.
Answers
-
HI @Jill Burch,
Rather than needing a big nested IF statement, you could just use MAX instead:
=MAX([Response 1]@row:[Response 4]@row) + 14
This is of course assuming you're not going to have later dates in earlier responses!
-
@Nick Korna Thanks for the great solution! Much easier than what I was trying to do.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!