COUNTIFS getting Invalid REF
I am using this formula but getting invalid ref.
=COUNTIFS({InforWMS Upgrade Myerstown UAT Range 24}, "", {InforWMS Upgrade Myerstown UAT Range 24,"N/A"})
Best Answer
-
Looks like you've got a misplaced end curly bracket } here:
{InforWMS Upgrade Myerstown UAT Range 24,"N/A"})
But also, even it were placed correctly, you wouldn't get a count of anything. What this formula is asking is "Count all the rows in this range that equal both blank and "N/A"." A cell can't be blank and also be some other value, and both criteria have to be true in order for the row to be counted. I think what you're looking for is an OR statement in there, to count all the rows that are either blank or "N/A". Try this:
=COUNTIFS({InforWMS Upgrade Myerstown UAT Range 24}, OR(ISBLANK(@cell), @cell = "N/A"))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
Looks like you've got a misplaced end curly bracket } here:
{InforWMS Upgrade Myerstown UAT Range 24,"N/A"})
But also, even it were placed correctly, you wouldn't get a count of anything. What this formula is asking is "Count all the rows in this range that equal both blank and "N/A"." A cell can't be blank and also be some other value, and both criteria have to be true in order for the row to be counted. I think what you're looking for is an OR statement in there, to count all the rows that are either blank or "N/A". Try this:
=COUNTIFS({InforWMS Upgrade Myerstown UAT Range 24}, OR(ISBLANK(@cell), @cell = "N/A"))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
perfect. thanks that worked
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!