Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Count based on multiple conditions

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


  #2   Report Post  
Posted to microsoft.public.excel.misc
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


Reply
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
2 conditions needed to check and count of items based on that Vijay Excel Worksheet Functions 2 May 3rd 07 10:21 PM
Count text based on multiple (2) conditions Leathal711 Excel Worksheet Functions 4 September 27th 06 03:49 AM
Total or Count based on multiple conditions CC Excel Discussion (Misc queries) 4 May 17th 06 10:50 PM
How do I count based on two conditions? Mark G New Users to Excel 2 January 31st 06 03:57 AM
Count Based upon Multiple Conditions hkslater Excel Worksheet Functions 4 November 19th 04 04:43 AM


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

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

About Us

"It's about Microsoft Excel"