Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default counting with three conditions

I have columns A, B, and C
I want to count the number of rows that all three columns equal specific
values. I was able to use the sumproduct function for two columns, but can't
seem to get this to work for more conditions. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default counting with three conditions

=sumproduct(--(A1:A200=1),--(B1:B200=2),--(C1:C200=3))

--
Regards,
Tom Ogilvy


"Lucas Soler" wrote in message
...
I have columns A, B, and C
I want to count the number of rows that all three columns equal specific
values. I was able to use the sumproduct function for two columns, but

can't
seem to get this to work for more conditions. Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default counting with three conditions

You're awsome. Thanks

"Lucas Soler" wrote:

I have columns A, B, and C
I want to count the number of rows that all three columns equal specific
values. I was able to use the sumproduct function for two columns, but can't
seem to get this to work for more conditions. Thanks!

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 with Conditions but Only Once LindsE Excel Discussion (Misc queries) 8 October 22nd 09 12:52 PM
Counting Blanks with Conditions Ken Excel Discussion (Misc queries) 4 April 30th 08 02:25 AM
Counting on two conditions, one with a range Ted Metro Excel Worksheet Functions 4 March 25th 07 08:59 AM
Counting using conditions wilkinjd Excel Programming 1 January 7th 04 01:44 PM
counting cell conditions Erik[_4_] Excel Programming 1 December 27th 03 08:42 PM


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