If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using a COUNTIF statement with an AND operator
Assuming number of people is in column A and group work is in column B, use
the following adjusting the range as required =SUMPRODUCT((A1:A1000=1)*(B1:B1000=0)) "JTurner" wrote: I'm using Excel 2003 so I hope I'm not limited here. We are performing a space usage survey and I need to compile the data results. Each location has 70 entries over the course of 10 days. I have a column for "group work" where the value is either 1 or 0. I have another column for # of people observed in a particular office. What I'm trying to do is the following: Get a count of instances where "# of people" = 1 and "group work" = 0 I'm doing a lot of countif statements, but I don't see how to do a countif with an and operator. Help??!! |
Thread Tools | |
Display Modes | |
|
|