IF statement - Less than 3 weeks from today
Hello,
I am looking for help on a formula for IF([Proposed Effective Date]@row is less than 3 weeks from today display "Rejected" AND IF([Have you received quotes form competitors?] = Yes then display "Rejected"
So if one condition applies it displays "Rejected" or if both then "Rejected" displays as well.
Thank you so much!
Answers
-
Give this a try:
=IF(OR([Proposed Effective Date]@row < TODAY(21), [Have you received quotes from the competitors?]@row = "Yes"), "Rejected")
If you are rejecting based on either conditioner, you don't need to check if both exist at the same time (AND) you only care if either one matches (OR).
If I am misunderstanding your criteria, please let me know.
Hope this helps,
Dave
-
Thank you so much.
Is there a way to also include IF([Other Lines of Coverage Needed]@row = "Marine", "Farm", "Aviation", "Agriculture" then display "Rejected" I tried to add that in but the formula kept coming back as invalid.
-
Do you want to reject based on one of the new conditions existing on their own or existing along with one of the original conditions?
-
Reject based on any of the conditions. So if any or all of the above conditions apply then displays "Rejected"
So IF(OR([Proposed Effective Date]@row < TODAY(21), [Have you received quotes from the competitors?]@row = "Yes"), AND IF([Other Lines of Coverage Needed]@row = "Marine", "Farm", "Aviation", "Agriculture" then display "Rejected"
-
You can add them inside the existing OR section...
=IF(OR([Received Date]@row > TODAY(21), [Have you received quotes from the competitors?]@row = "Yes", [Other Lines of Coverage Needed]@row = "Marine", [Other Lines of Coverage Needed]@row = "Farm", [Other Lines of Coverage Needed]@row = "Aviation", [Other Lines of Coverage Needed]@row = "Agriculture"), "Rejected")
Dave
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!