Need help with formula - count if and combining two columns
I am new with formulas and looking for something similar. I have two columns and right now:
=COUNTIF(Priority:Priority, "High")
but I want to also capture if the Status is only 'In Progress' and 'Not Started'. Because right now its capturing anything with priority High... which makes sense. Each time I was adding a AND or CONTAINS I was getting an error.
Answers
-
You will want to use COUNTIFS
=COUNTIFS(Priority:Priority, "High", Status:Status, "In Progress")
Here is a link with the SS Explination
-
ok so I did that but I always want to add in another status:
=COUNTIFS(Priority:Priority, "High", Status:Status, "In Progress", Status:Status, "Not Started")
It should be counting at least 1 and its showing 0. I am on the struggle bus today.
-
You can just + another set of COUNTIFS.
The IFS would need to match if you put them all together. so you would separate them into two.
=COUNTIFS(Priority:Priority, Priority:Priority = "High", status:status, status:status = "In Progress") + COUNTIFS(Priority:Priority, Priority:Priority = "High", status:status, status:status = "not started")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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!