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.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
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.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi @Nic Larsen and @Paul Newcome
It's working, thank you both for your assistance
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!