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
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives