Excel formula

  • Thread starter Thread starter Shirley
  • Start date Start date
S

Shirley

I am using an excel spreadsheet to count the occurrences
in two different columns and can't figure out the
formula. For example, I want a total of cells that have
a "yes" in column L and a "yes" in column O, if there is
only a "yes" in one of the columns I don't want to count
it.
 
Hi

Try something like:
=SUMPRODUCT((L2:L11="yes")*(O2:O11="yes"))
When using SUMPRODUCT(), the ranges must contain the same number of cells,
and you cannot use full column references.
 

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