ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif (https://www.excelbanter.com/excel-worksheet-functions/207379-countif.html)

Gerry Kelly

Countif
 
Hi,

I am trying to create a countif statement that will give me the total
numbers in a colum depending on what it says in another colum within the same
row ie

=countif(S3:S33,"3")and(D3:D33="DEL")

If I have 7 numbers in my S range 3 and it says DEL in the D range I want
my total colum to reflect this. Does this make sense and can it be done?

Gerry

Gary''s Student

Countif
 
=SUMPRODUCT((S3:S333)*(D3:D33="DEL"))

--
Gary''s Student - gsnu200809


"Gerry Kelly" wrote:

Hi,

I am trying to create a countif statement that will give me the total
numbers in a colum depending on what it says in another colum within the same
row ie

=countif(S3:S33,"3")and(D3:D33="DEL")

If I have 7 numbers in my S range 3 and it says DEL in the D range I want
my total colum to reflect this. Does this make sense and can it be done?

Gerry



All times are GMT +1. The time now is 04:40 PM.

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