Formula for counting the number of times Incident OR Near Misses are reported in a Year
Hi,
I am trying to write a formula for counting the number of times we have incidents OR near misses reported in a year.
The formula =COUNTIFS({Aviation Safety Reports Range 1}, =2020, {Aviation Safety Reports Range 2}, "Incident") is working for counting just incidents, but when I try to add an OR "Near Miss" on, it doesn't work.
All help greatly appreciated
Rachael
Best Answers
-
Try this:
=COUNTIFS({Aviation Safety Reports Range 1}, =2020, {Aviation Safety Reports Range 2}, OR(@cell = "Incident", @cell = "Near Miss"
-
@cell needs to be in all lower case.
Answers
-
Try this:
=COUNTIFS({Aviation Safety Reports Range 1}, =2020, {Aviation Safety Reports Range 2}, OR(@cell = "Incident", @cell = "Near Miss"
-
Hi,
I tried that formula =COUNTIFS({Aviation Safety Reports Range 1}, =2022, {Aviation Safety Reports Range 2}, OR(@CELL = "Incident", @CELL = "Near Miss")) but I get an #UNPARSEABLE message. Any ideas why? I'm pulling the information in from another sheet, not the sheet in which I'm writing the formula.
-
@cell needs to be in all lower case.
-
Hi @Nic Larsen and @Paul Newcome
It's working, thank you both for your assistance
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!