Countif with cell reference

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

Guest

Hi

Hope someone can help. Is there a way to count the amount of instances less
than a certain value, but to enter this value as a reference to a cell. For
example the following:

=COUNTA(C5:C1000)/COUNTIF(B5:B1000,">h3")

Does not work but if i type in the value of h3 it does. Is there no way to
leave it as h3 so I dont have to manually enter it many (many!) times over?

Thanks....

nick
 
instead of ">h3" which will look for the text string "h3" use ">"&h3, thus


=COUNTA(C5:C1000)/COUNTIF(B5:B1000,">"&H3)

should work\\


regards,

Peo Sjoblom
 
thanks so much, works a treat :)

Peo Sjoblom said:
instead of ">h3" which will look for the text string "h3" use ">"&h3, thus


=COUNTA(C5:C1000)/COUNTIF(B5:B1000,">"&H3)

should work\\


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