ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   What formula/fn would I use to count multiple condition records? (https://www.excelbanter.com/excel-worksheet-functions/52462-what-formula-fn-would-i-use-count-multiple-condition-records.html)

Joshcat99

What formula/fn would I use to count multiple condition records?
 
I need a formula/function that would work to count the number of records that
have =7 in the 1st column, <7 in the 2nd column and =7 in the 3rd column.

Bruno Campanini

What formula/fn would I use to count multiple condition records?
 
"Joshcat99" wrote in message
...
I need a formula/function that would work to count the number of records
that
have =7 in the 1st column, <7 in the 2nd column and =7 in the 3rd
column.


Hope this works:
=SUMPRODUCT(--(A281:A288=7),--(B281:B288<7),--(C281:C288=7))

Ciao
Bruno



CLR

What formula/fn would I use to count multiple condition records?
 
=COUNTIF(A:A,"=7")+COUNTIF(B:B,"<7")+COUNTIF(C:C, "=7")

Vaya con Dios,
Chuck, CABGx3


"Joshcat99" wrote in message
...
I need a formula/function that would work to count the number of records

that
have =7 in the 1st column, <7 in the 2nd column and =7 in the 3rd

column.



Ashish Mathur

What formula/fn would I use to count multiple condition records?
 
Hi,

You may use the sumif array formula as well (Ctrl+Shift+Enter)

=sum(if((range=7)*(range2<7)*(range3=7),1,0))

Regards,

Ashish Mathur

"Joshcat99" wrote:

I need a formula/function that would work to count the number of records that
have =7 in the 1st column, <7 in the 2nd column and =7 in the 3rd column.



All times are GMT +1. The time now is 07:55 AM.

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