COUNTIFS Error
I'm receiving a #NO MATCH error with a simple COUNTIFS formula. I'm trying to get a count of the number of times "Routine" occurs in the column, "Workover Type (Routine, Non-Routine)" (text/number column, with a formula), when the "Status" is "SI - Unassigned to WO Rig" (dropdown list column type). Any help is appreciated!
Answers
-
@Julie Nelson Hi, Try using the @cell in your formula. =COUNTIF(Status:Status, @cell = "SI- Un...", [workover...]:[workover...], @cell= "Routine")
-
@Razetto I added @cell, but it still results in the #NO MATCH error:
=COUNTIFS(Status:Status, @cell = "SI - Unassigned to WO Rig", [Workover Type (Routine, Non-Routine)]:[Workover Type (Routine, Non-Routine)], @cell = "Routine")
-
Hey @Julie Nelson
COUNTIFS won't return a NO MATCH error, since it's not matching anything. To me, this indicates that one of the columns you're referencing has an error!
Formula errors will bubble up through any other formula referencing it... this means that if even just one cell has a formula error and you reference the entire column (including that one cell), the current formula will produce the same error.
Try wrapping an IFERROR around all your other formulas:
=IFERROR(formula, "")
This should then resolve your COUNTIFs formula looking at those other columns.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Julie Nelson What about using contains? =COUNTIFS(Status:Status, CONTAINS("SI - Unassigned to WO Rig", @cell), [Workover Type (Routine, Non-Routine)]:[Workover Type (Routine, Non-Routine)], CONTAINS("Routine",@cell))
-
@Genevieve P. You were right, there was an error in one of the columns that was causing the #NO MATCH! I forgot to check for that.
@Razetto Your answer was correct the first time! The error was throwing me off.
Thank you both for your help!
-
This content has been removed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!