Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a spreadsheet that is essentially a todo list for different groups. I have a column for Group and Status. Both have data validation drop downs so I can reliably match the text content.

I have a stats area at the top. I have easily been able to use a simple COUNTIF to count up the total incomplete tasks:

=COUNTIF(Status, "New") + COUNTIF(Status, "In Progress")

I would like to have a similar count, but it should be specific to the group. "Count all rows that have the value, "Group 1" in the named range, Group, and have the value "New" or "In Progress" in the named range, Status.

Here it is in c-ish pseduocode:

n = 0;
if ((Status == "New") OR (Status == "In Progress")) AND (Group == "Group 1")
return n;

Is this possible?

share|improve this question
up vote 4 down vote accepted

Here is the solution that ended up working for me:

=ArrayFormula(sum(countif(if(Group="Group 1",Status),{"New","In Progress"})))
share|improve this answer
Perhaps you can mark it as answered? – Jacob Jan Tuinstra Jan 24 '13 at 9:42
Thanks for the reminder :) – Rapture Jan 24 '13 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.