ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   COUNT IF COLUMN X="" COUNT COLUMN Y? (https://www.excelbanter.com/excel-discussion-misc-queries/15853-count-if-column-x%3D%22%22-count-column-y.html)

Tom Hewitt

COUNT IF COLUMN X="" COUNT COLUMN Y?
 
Hi

really simple one.

I need a formula that will count if coumn B is greater than 0, when column A
= a certain field of text.

Thanks for your help

Bob Phillips

=SUMPRODUCT(--(B1:B10000),--(A1:A1000="text"))

SP cannot work on a whole column so you have to nominate the range.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tom Hewitt" wrote in message
...
Hi

really simple one.

I need a formula that will count if coumn B is greater than 0, when column

A
= a certain field of text.

Thanks for your help





All times are GMT +1. The time now is 02:25 PM.

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