countif

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

Guest

Hi
I would like to count values in columns between 0 and -4 where do I write
the and part
Thanks
Tina
 
=Countif(A:A,">=-4")-COUNTIF(A:A,">0")

or

=SUMPRODUCT(--(A1:A100>=-4),--(A1:A100<=0),--(A1:A100<>""))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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