Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 145
Default count cells in a table that meet multiple criteria

I have a table that I want to set up formulas on a separate sheet for cells
to be counted that must meet several criteria. My table does have blank
cells, and I only want the cells counted that meet each condition from
different columns. Does this make any sense? The headings are set up in
columns and for an example I only want to count 1 criteria from column A, 1
from B and so on.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default count cells in a table that meet multiple criteria

Suppose your table is on Sheet1, occupies 100 rows, and you want to
count the number of cells that have conditions met in columns A, B and
C.You could use something like this in cell D2 of Sheet2:

=SUMPRODUCT((Sheet1!A$2:A$100=A2)*(Sheet1!B$2:B$10 0=B2)*(Sheet1!C$2:C
$100=C2))

where A2 in Sheet2 contains the criteria that you want to test for
column A of Sheet1, B2 contains the condition for column B
comparisons, and C2 for column C condition. The formula assumes
"equals" the condition, but you can change the = to other operators
like <, or = etc.

Hope this helps.

Pete

On Feb 3, 7:56*pm, Tammy wrote:
I have a table that I want to set up formulas on a separate sheet for cells
to be counted that must meet several criteria. My table does have blank
cells, and I only want the cells counted that meet each condition from
different columns. Does this make any sense? The headings are set up in
columns and for an example I only want to count 1 criteria from column A, 1
from B and so on.


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
How do I count the number of cells that meet multiple criteria? Dianna_P Excel Worksheet Functions 7 November 25th 08 05:00 PM
count cells that meet 2 criteria aimee Excel Worksheet Functions 3 June 18th 08 06:45 PM
Count Cells that meet Criteria kmason Excel Worksheet Functions 6 August 24th 06 04:31 PM
count non blank cells which meet criteria in another column cmarsh5035 Excel Worksheet Functions 2 February 16th 05 04:32 PM
How can I count cells that meet two criteria within a filtered co. lizzzy Excel Worksheet Functions 1 January 21st 05 06:03 PM


All times are GMT +1. The time now is 08:33 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"