ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif in an ARRAY. (https://www.excelbanter.com/excel-worksheet-functions/193080-countif-array.html)

SW

Countif in an ARRAY.
 
I want to count the number of instances that C2:C487 is equal to G A and
where the numbers in cells E2:E487 are greater than the numbers in cells
F2:F487. I
|=COUNT(IF(($C$2:$C$487="G A"),$E$2:$E$487, " F2:F487"))}.

Rick Rothstein \(MVP - VB\)[_788_]

Countif in an ARRAY.
 
I can read your question more than one way, but I am pretty sure this
formula does what I think you intended to ask for...

=SUMPRODUCT(($C$2:$C$487="G A")*($E$2:$E$487F2:F487))

Rick


"SW" wrote in message
...
I want to count the number of instances that C2:C487 is equal to G A and
where the numbers in cells E2:E487 are greater than the numbers in cells
F2:F487. I
|=COUNT(IF(($C$2:$C$487="G A"),$E$2:$E$487, " F2:F487"))}.



Max

Countif in an ARRAY.
 
One way, normal ENTER:
=SUMPRODUCT(($C$2:$C$487="G A")*($E$2:$E$487F2:F487))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"SW" wrote:
I want to count the number of instances that C2:C487 is equal to G A and
where the numbers in cells E2:E487 are greater than the numbers in cells
F2:F487. I
|=COUNT(IF(($C$2:$C$487="G A"),$E$2:$E$487, " F2:F487"))}.



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

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