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
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives