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
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!