COUNTIF criteria

B

bikerhal

How do I use COUNTIF (or SUMIF) where the criteria is of the form >X and the
value of X is contained in a cell?

For example, COUNTIF(A1: A5, >B1) does not work in Excel 2003

Thanks
 
P

Pete_UK

Do it like this:

=COUNTIF(A1:A5,">"&B1)

The condition is treated as if it were a string, hence the quotes.

Hope this helps.

Pete
 

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

Top