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
- 64K Get Help
- 411 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives