Nested Formulla for And/Or combination
Answers
-
=IF(OR(AND([treatment status]@row="treated", [is your temp <100]@row="Yes",[duration of sickness@row>=7),AND([treatment status]@row="not treated", [is your temp <100]@row="Yes",[duration of sickness@row>=10)),"release","no release")
The OR needs to come before the two AND's
-
Hey @Vinton Douglas
Try this
=IF(OR(AND([Treatment Status]@row="treated", temp@row<=100, [duration of sickness]@row>=7), AND([treatment status]@row="untreated", temp@row<=100, [duration of sickness]@row>=10)), "releases", "no release")
Does this work for you? I needed to omit the 'days' from your duration so that the value was a number that could be compared as greater than, etc. Adding the word 'days' makes it a text string which cannot be compared mathematically.
Kelly
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 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