ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   counting with three conditions (https://www.excelbanter.com/excel-programming/348450-counting-three-conditions.html)

Lucas Soler

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!

Tom Ogilvy

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!




Lucas Soler

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!



All times are GMT +1. The time now is 12:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com