Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional Counting

I have a large spreadsheet and need to know how I can count the instances of
the number "2" in one column only when the corresponding value in a different
column is "medium". Can someone help with this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Conditional Counting

Try something like this example:

With
A1:A100 containing sizes: large, medium, small, etc
C1:C100 containing values: 1,2,5, 100, whatever

Then...this formula counts the combinations of Medium/2

D1: =SUMPRODUCT(--(A1:A100="medium"),--(C1:C100=2))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ladyengineer" wrote:

I have a large spreadsheet and need to know how I can count the instances of
the number "2" in one column only when the corresponding value in a different
column is "medium". Can someone help with this?

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
Counting Conditional Filtered (By Color) Cells carl Excel Worksheet Functions 4 April 8th 06 12:09 AM
conditional counting with Excel LeicaElmar Excel Worksheet Functions 1 October 17th 05 10:23 PM
conditional counting of autolist cells/rows johli Excel Discussion (Misc queries) 0 September 23rd 05 01:45 PM
Counting the number of cells meeting conditional formating criteria Jeff Excel Worksheet Functions 4 July 9th 05 01:18 AM
counting cells with conditional formatting applied HalB Excel Discussion (Misc queries) 3 February 21st 05 01:21 PM


All times are GMT +1. The time now is 03:46 AM.

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"