something wrong with my "countif" function

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

Guest

why won't this function work with multiple ranges?

=COUNTIF(B7:X11,B15:X19,B23:X27,B31:X35, "V")

I need to check info in different places on the worksheet

Thanks,

Brandon
 
Ryan,

=COUNTIF(B7:X11, "V") + COUNTIF(B15:X19,"V").....

HTH,
Bernie
MS Excel MVP
 
COUNTIF does not work over multiple ranges, you need to use

=SUM(COUNTIF(B7:X11,"V"),COUNTIF(B15:X19,"V"),and so on)



Regards,

Peo Sjoblom
 

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