Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Counting conditional cells in multiple rows

How do I go about counting cells that meet criteria from row R and row D?

Thanks from Seattle!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Counting conditional cells in multiple rows

try:

=SUMPRODUCT(--(R2:R100=Condition1),--(D2:D100=condition2))

"RobDuB" wrote:

How do I go about counting cells that meet criteria from row R and row D?

Thanks from Seattle!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting conditional cells in multiple rows

Do you mean columns D and R?

......D.....R
1...x......1
2...y......1
3...x......2
4...x......1
5...y......1

To return the count where column D = x and column R =1:

=SUMPRODUCT(--(D1:D5="x"),--(R1:R5=1))

Result = 2

Note that you can't use entire columns as range references with SUMPRODUCT
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"RobDuB" wrote in message
...
How do I go about counting cells that meet criteria from row R and row D?

Thanks from Seattle!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Counting conditional cells in multiple rows

Thank you for your help. We seem on the right path, yet I am receiving a
"#VALUE" reading. I am using Excel 2003 and have limited the columns to a
specific row count. Any ideas how to correct the error?

Thanks again!

"T. Valko" wrote:

Do you mean columns D and R?

......D.....R
1...x......1
2...y......1
3...x......2
4...x......1
5...y......1

To return the count where column D = x and column R =1:

=SUMPRODUCT(--(D1:D5="x"),--(R1:R5=1))

Result = 2

Note that you can't use entire columns as range references with SUMPRODUCT
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"RobDuB" wrote in message
...
How do I go about counting cells that meet criteria from row R and row D?

Thanks from Seattle!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting conditional cells in multiple rows

Post the *exact* formula you tried.

Also, tell us what your conditions are.

--
Biff
Microsoft Excel MVP


"RobDuB" wrote in message
...
Thank you for your help. We seem on the right path, yet I am receiving a
"#VALUE" reading. I am using Excel 2003 and have limited the columns to a
specific row count. Any ideas how to correct the error?

Thanks again!

"T. Valko" wrote:

Do you mean columns D and R?

......D.....R
1...x......1
2...y......1
3...x......2
4...x......1
5...y......1

To return the count where column D = x and column R =1:

=SUMPRODUCT(--(D1:D5="x"),--(R1:R5=1))

Result = 2

Note that you can't use entire columns as range references with
SUMPRODUCT
unless you're using Excel 2007.

--
Biff
Microsoft Excel MVP


"RobDuB" wrote in message
...
How do I go about counting cells that meet criteria from row R and row
D?

Thanks from Seattle!








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 rows based on multiple columns Doyle Excel Worksheet Functions 1 September 29th 06 07:06 PM
counting rows across multiple worksheets Aleks Excel Discussion (Misc queries) 1 October 29th 05 02:56 AM
conditional counting of autolist cells/rows johli Excel Discussion (Misc queries) 0 September 23rd 05 01:45 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM


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

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

About Us

"It's about Microsoft Excel"