Count based on multiple conditions

G

Guest

Excel2003 ... I need to compare & count based on multiple conditions ...
WorkBook contains 2 WorkSheets (WS1 & WS2) ... Need Formula in WS2, Col H
that will:

Compare WS2 ... Cols B & C values
with values found in
WS1 ... Cols C & H

Count occs where WS2, Cols B & C values match WS1 Cols C & H values.

Thanks ... Kha
 
G

Guest

See if this works for you:

=SUMPRODUCT(--('WS1'!C1:C100=B1:B100),--('WS1'!H1:H100=C1:C100))

HTH,
Elkar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top