"OR" function in formulas
Hello,
I just tried this formula, basically I am trying to have certain conditions set, and would like to use an or function for the catch basin, grassed area and roadway function.
=COUNTIFS({Environmental Incident Tracking Range 4}, "1", {Environmental Incident Tracking Range 5}, =(2020), {Environmental Incident Tracking Range 6}, <(20), {Environmental Incident Tracking Range 9}, "Catch basin / Bassin de récupération", {Environmental Incident Tracking Range 9}, "Grassed area / Zone gazonnée", {Environmental Incident Tracking Range 9}, "Roadway / Chaussée")
If it is quarter 1, the year 2020, range 6 is less than 20.. and range 9 has Catch basin, grassed area OR Roadway checked, count one
Thanks!
Best Answer
-
Try this...
=COUNTIFS({Environmental Incident Tracking Range 4}, "1", {Environmental Incident Tracking Range 5}, = 2020, {Environmental Incident Tracking Range 6}, < 20, {Environmental Incident Tracking Range 9}, OR(@cell = "Catch basin / Bassin de récupération", @cell = "Grassed area / Zone gazonnée", @cell = "Roadway / Chaussée"))
Answers
-
Try this...
=COUNTIFS({Environmental Incident Tracking Range 4}, "1", {Environmental Incident Tracking Range 5}, = 2020, {Environmental Incident Tracking Range 6}, < 20, {Environmental Incident Tracking Range 9}, OR(@cell = "Catch basin / Bassin de récupération", @cell = "Grassed area / Zone gazonnée", @cell = "Roadway / Chaussée"))
-
Looks like its working! Thank you :)
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!