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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!