Combining Multiple IF AND Statements
Hello,
I am trying to combine the 3 statements into one. They all work independently however, I am missing something when I try to combine them. These each check a checkbox if the statement is true. Help Please!
=IF(AND([Trans date falls w/in Black-out Period]@row = 1, [Covered Person?]@row = "Yes"), 1, 0)
=IF(AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "Yes",[Restricted Transactions?]@row = "Yes"), 1, 0)
=IF(AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "No", [Have you conducted an opp trans w/ 6mons?]@row = "Yes"), 1, 0)
Best Answers
-
Hey @BBIrr41
Is your scenario if any of these are true, then check the box?
=IF(OR(AND([Trans date falls w/in Black-out Period]@row = 1, [Covered Person?]@row = "Yes"),AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "Yes",[Restricted Transactions?]@row = "Yes"),AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "No", [Have you conducted an opp trans w/ 6mons?]@row = "Yes")),1)
Does this work for you?
Kelly
-
Glad it worked. I’m always happy to hear someone picked up something they weren’t sure of before.
Answers
-
Hey @BBIrr41
Is your scenario if any of these are true, then check the box?
=IF(OR(AND([Trans date falls w/in Black-out Period]@row = 1, [Covered Person?]@row = "Yes"),AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "Yes",[Restricted Transactions?]@row = "Yes"),AND([Covered Person?]@row = "Yes", [Trans date falls w/in Black-out Period]@row = 0, [Are you in possession of material NP info?]@row = "No", [Have you conducted an opp trans w/ 6mons?]@row = "Yes")),1)
Does this work for you?
Kelly
-
Hi @Kelly Moore !
To my rescue again! Yes if true, to check the box. This worked perfectly AND showed me what I was missing from my independent attempt.
Thank you!!
-
Glad it worked. I’m always happy to hear someone picked up something they weren’t sure of before.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!