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