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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!