Count cells if.....

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

I want to count cells in a column only if they are greater than zero and if
they are three less than a specified constant cell.

Thanks,

Barney
 
=SUMPRODUCT(--(A2:A100>0),--(A2:A100=B2-3))

Regards,

Peo Sjoblom
 
I have no idea what goes into the formula where the "--"s are but when I put
nothing there it does not work.

Barney
 
Thanks Peo and Gord.. That works perfectly. I am sorry I did not understand
at first.

Barney
 

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