Trying to do a COUNTIF two columns fall under a certain criteria
I am trying to create a formula in my sheet summary that will provide the count for a completed project with a certain firm. I only want the formula to provide the count if it is both status green and analyst firm gartner. Status being the one column and analyst firm being the other. I keep getting the error: #UNPARESABLE. Here is my current formula:
=COUNTIF([Analyst Firm]:[Analyst Firm], "Gartner")AND(Status:Status, "Green"))
Best Answer
-
You would want to use a COUNTIFS statement instead. Countifs allows for multiple ranges and criterion.
=COUNTIFS([Analyst Firm]:[Analyst Firm], "Gartner", Status:Status, "Green" )
See the following article for more on Countifs
Answers
-
You would want to use a COUNTIFS statement instead. Countifs allows for multiple ranges and criterion.
=COUNTIFS([Analyst Firm]:[Analyst Firm], "Gartner", Status:Status, "Green" )
See the following article for more on Countifs
-
WOW, so helpful. Thank you Mike!
-
Absolutely! So glad I could help. Have a great day! Thanks for accepting my answer!
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!