LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default 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 Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining Nested IF statement with Between operator Daisy Excel Worksheet Functions 3 October 29th 12 11:03 AM
Using a COUNTIF statement with an AND operator JTurner Excel Worksheet Functions 0 May 27th 10 09:05 PM
Countif with star operator in criteria [email protected] Excel Worksheet Functions 7 November 1st 05 03:16 PM
How do you insert an "or" operator in an "IF" statement. Jim C. Excel Worksheet Functions 10 September 1st 05 11:25 PM
hOW TO USE THE AND OPERATOR WITH THE COUNTIF FUNCTION Marty Excel Worksheet Functions 1 November 11th 04 09:45 PM


All times are GMT +1. The time now is 11:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"