Invalid Operation with Countifs formula

Hi,
The formula =COUNTIFS({CR Requests Inventory Request Monday}, [Monday of the week]@row, {CR Requests Inventory Status}, NOT("5) On Hold")) returns an Invalid Operation error. I checked the column properties and the references, all look good.
The same formula works referencing another sheet.
=COUNTIFS({CR Archived Requests Archive Monday}, [Monday of the week]@row, {CR Archived Requests Request Status}, NOT("5) On Hold"))
Any idea how to troubleshoot this?
Answers
-
Edit: the formula below works, seems the issue is with the NOT statement.
=COUNTIFS({CR Requests Inventory Request Monday}, [Monday of the week]@row, {CR Requests Inventory Status}, "5) On Hold")
-
I would start by checking the data within each of the referenced ranges to see if that error is present anywhere.
-
I did and it seems to be working. The issue occurs when I add NOT("5) On Hold"). Am I using the correct syntax?
-
The syntax looks correct. COUNTIFS can get a little picky sometimes. Let's try a little tweak...
=COUNTIFS({CR Requests Inventory Request Monday}, @cell = [Monday of the week]@row, {CR Requests Inventory Status}, @cell <> "5) On Hold")
-
That works. I am not sure why, but it did the trick :) Thanks!
-
Happy to help. ποΈ
It may have been glitching out because of the closed parenthesis in your specific text. Those can cause issues sometimes. That is why I always use
<>
instead of
NOT( )
-
Good to know, I did not think about that. Learning every day!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives