COUNTIF 2 Ranges
I am getting a #INCORRECTARGUMENT on this, what did I do wrong?
=COUNTIFS({Range 4}, "xxx", {Range 7}, "xxx")
Answers
-
Hello!
I tried your formula in a test sheet, and it looks like your syntax is correct. So, I am guessing that the issue has to do with your ranges or criteria themselves.
Some things to check:
Are the cross sheet references set up properly? Make sure that the ranges are the same size, ex. both are looking at a whole column. It will also not work if the two ranges are referencing different sheets, so make sure either both reference the current sheet or both reference the same other sheet.
Data types of the ranges you are searching- if the column is not a text/number data type, the criterion of "value" might not work the way you need it to.
Hope this helps, and good luck!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.5K Get Help
- 434 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!