ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green") (https://www.excelbanter.com/excel-worksheet-functions/190753-can-i-nest-countif-functions-c5-c8-apples-d5-d8-green.html)

guycummins

can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green")
 
Is there a way to count the number of apples in column D that also have green
in column D?


PCLIVE

can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green")
 
Try this:

=SUMPRODUCT(--(C5:C8="apples"),--(D5:D8="green"))

Does that help?
Paul

--

"guycummins" wrote in message
...
Is there a way to count the number of apples in column D that also have
green
in column D?




Domenic[_2_]

can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green")
 
Try...

=SUMPRODUCT(--($C$5:$C$8="Apples"),--($D$5:$D$8="Green"))

Hope this helps!

In article ,
guycummins wrote:

Is there a way to count the number of apples in column D that also have green
in column D?


Dave

can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green")
 
Hi,
Is the 2 mentions of column D a typo, or intended?
Dave.

"guycummins" wrote:

Is there a way to count the number of apples in column D that also have green
in column D?


guycummins

can I nest COUNTIF functions(C5:C8,"apples") AND (D5:D8,"green
 
It was a typo Dave, thanks.

"Dave" wrote:

Hi,
Is the 2 mentions of column D a typo, or intended?
Dave.

"guycummins" wrote:

Is there a way to count the number of apples in column D that also have green
in column D?



All times are GMT +1. The time now is 07:00 PM.

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