Formula help

J

Janie

I have A with cells various cells marked "R" column B has various cells
Marked "L" -
In Column C - I am trying to write a formula that says basically count if
column A is "R" and column B is "L". In other words, I do not want to count
any cells that do not contain both R & L.

Any help will be appreciated
 
P

Pete_UK

Try this in C1:

=SUMPRODUCT(--(A1:A100="R"),--(B1:B100="L"))

Adjust the ranges to suit your data.

Hope this helps.

Pete
 

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