View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Elkar Elkar is offline
external usenet poster
 
Posts: 964
Default Count based on multiple conditions

See if this works for you:

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

HTH,
Elkar


"Ken" wrote:

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