Multiple IF/AND/OR with Dates and Checkbox
I am trying to have a date populated by a formula below is what I have tried and I know individually they work.
=IF(AND(Event@row = "Event A", [2nd_Event]@row = 1), Date:Date-25, IF(AND(Event@row = "Event B", [2nd_Event]@row = 1), Date:Date-30))
In both cases 2nd_Event needs to be 1 (Check box)
If it was Event A, I need the date to be 25 days in the past.
If it was Event B, I need the date to be 28 days in the past.
Total columns in use 3 (Event@row, 2nd_Event@row, Date:Date)
Can anyone help?
Best Answer
-
Hi @Courtney Caswell ,
Try:
=IF(AND(Event@row = "Event A", [2nd_Event]@row = 1), Date@row-25, IF(AND(Event@row = "Event B", [2nd_Event]@row = 1), date@row-30,""))
This will return days 25 or 30 prior to your date column at the row. Is that what you're looking for?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Courtney Caswell ,
Try:
=IF(AND(Event@row = "Event A", [2nd_Event]@row = 1), Date@row-25, IF(AND(Event@row = "Event B", [2nd_Event]@row = 1), date@row-30,""))
This will return days 25 or 30 prior to your date column at the row. Is that what you're looking for?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!