how do i sum if in two different cell references - Excel

B

blake7

Hi, Im trying to write "sumif" or "countif" formula to count when it sees
"apples" in one column and "red" in the other, anyone help?
I have tried the following but it just says "0" (zero)

COUNT(IF(A2:A6="APPLES",IF(B1:B6="RED",0)))

A B
APPLES RED
APPLES GREEN
APPLES GREEN
APPLES RED
APPLES RED
APPLES RED
APPLES RED
 

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

Top