Help: COUNTIF on multiple conditions

nashsaint

New member
Joined
Aug 24, 2011
Messages
4
Reaction score
0
Points
0
Hi,

First, sorry if I sound confusing.

I have two columns, one constains names which contains duplicates, second column contains status names and they also contain duplicates. The task that I want to fulfill is to count the number of occurence on the name field and if second column meets certain status.

I can only come up with this:

=COUNTIF (D3: D100,"Nash")

this counts the number of occurence "Nash" appears on column D. Now, how can I make change in a way that it checks the right column for status labels?

COUNT D if contains "Nash" AND right column E = "Queu".

please help.
 

Ken Puls

Administrator
Staff member
Joined
Mar 13, 2011
Messages
2,519
Reaction score
4
Points
38
Location
Nanaimo, BC, Canada
Website
www.excelguru.ca
Excel Version(s)
Excel Office 365 Insider
Hi there, and welcome to the board!

What version of Excel are you using? If you're in Excel 2007 or higher, you can use COUNTIFS to do multiple conditions.

If you're in 2003 or lower, you'll need to reach to SUMPRODUCT to make it work. Bob Phillips has an excellent article on using SUMPRODUCT for this purpose.
 

nashsaint

New member
Joined
Aug 24, 2011
Messages
4
Reaction score
0
Points
0
Thanks Ken,

Am using 2010 version and COUNTIFS works great.

thanks again.
 
Top