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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!