ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   count conditionally across two columns? (https://www.excelbanter.com/excel-worksheet-functions/58794-count-conditionally-across-two-columns.html)

gpoky

count conditionally across two columns?
 
I need a runing total of how often conditions in two ciolumns are met. for
example, how often is column A 45 and column B < 100 in my data?

GerryK

count conditionally across two columns?
 
For your modification:
SUMPRODUCT(--(A1:A10045),--(B1:B100<100))

"gpoky" wrote:

I need a runing total of how often conditions in two ciolumns are met. for
example, how often is column A 45 and column B < 100 in my data?


Roger Govier

count conditionally across two columns?
 
Hi

Try entering in C1
=SUMPRODUCT(--($A$1:A145),--($B$1:B1<100))
Copy down column C as far as required.

Regards

Roger Govier


gpoky wrote:
I need a runing total of how often conditions in two ciolumns are met. for
example, how often is column A 45 and column B < 100 in my data?



All times are GMT +1. The time now is 12:23 AM.

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