countif two variables in two different columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have column b and column c, I want to count if b=4 and c=1 but if b=4 and
c=2 I don't want it to count it. Can anyone tell me how this would be done?
 
Use the following array formula (end with Ctrl+Shift+Ebter):

=COUNT(IF(((Sheet3!$B$12:$B$19)=4)*((Sheet3!$C$12:$C$19)=1),Sheet3!$B$12:$B$19))

===== * ===== * ===== * =====
Daniel CHEN

(e-mail address removed)
www.Geocities.com/UDQServices
Free Data Processing Add-in<
===== * ===== * ===== * =====
 

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