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

  • Thread starter Thread starter guycummins
  • Start date Start date
G

guycummins

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

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

Does that help?
Paul
 
Try...

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

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top