Using COUNTIF and AND Together
I am trying to count the number of times a person is assigned as a project lead, and only if the project is currently in progress. I'm still pretty new to functions and am having a hard time figuring out what i missed here. I only want to count if it meets both criteria.
I haven't done much with helper columns yet, so not sure if this is a situation where i need that. Any help would be appreciated!
=COUNTIF({Project Lead}, "Lynn Meadow", AND({Project Status}, CONTAINS("In Progress", @cell)))
Answers
-
Hi @Lynn Meadow,
This formula should work if you pop it into a sheet summary field or a metrics sheet. It would be a little different if you are trying to display the count on the sheet itself.
=COUNTIFS([Project Lead]:[Project Lead], [Project Lead]:[Project Lead] = "Lynn Meadow", [Project Status]:[Project Status], "In Progress")
-
Thanks so much. I forgot about the difference with COUNTIFS. I still had to tweak a bit, but got it to work. I am using a metrics sheet and referencing to the main project list.
=COUNTIFS({Project Lead}, [Team Member]@row, {Project Status}, CONTAINS("In Progress", @cell))
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!