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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!