Combining IF(AND statements with Dates
Hi -
I am trying to build a combined IF statement that takes a last contacted date and a last participated date and if both are true will output a status of "available". If not, it will be "not available". Separately, I can get the a formulas to work for each date, but once I combine the formulas, it fails.
First date formula:
=IF([Last Contacted]4 <= TODAY(-30), "Available", "Not Available")
Second date forumla:
=IF([Last Participation Date]4 <= TODAY(-90), "Available", "Not Available")
Combined:
=IF(AND([Last Contacted]4 <= TODAY(-30), [Last Participation Date]4 <= TODAY(-90), "Available", "Not Available"))
Thanks in advance for for any help!
--Brad
Best Answer
-
It is just a misplaced parenthesis. You want to close out the AND function within the first portion of your IF statement.
=IF(AND([Last Contacted]4 <= TODAY(-30), [Last Participation Date]4 <= TODAY(-90)), "Available", "Not Available")
Answers
-
It is just a misplaced parenthesis. You want to close out the AND function within the first portion of your IF statement.
=IF(AND([Last Contacted]4 <= TODAY(-30), [Last Participation Date]4 <= TODAY(-90)), "Available", "Not Available")
-
Fantastic. Thank you, Paul!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!