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
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives