Count(..)

  • Thread starter Thread starter R Green
  • Start date Start date
R

R Green

Hi folks

How do you ask excel not to count a cell if a criteria is not met?

For example:

let's say A1 = 5 B1=6 C1=2 D1=1

and you want the count function not to count a cell if it is less than 5, so in this example, it should return a value of 2? How do nest it with "if" function? I don't know how to do this..

Any pointers would be greatly appreciated.

Thanks!

R Green
 
=COUNT(IF(A1:D1>=5,A1:D1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

Hi folks

How do you ask excel not to count a cell if a criteria is not met?

For example:

let's say A1 = 5 B1=6 C1=2 D1=1

and you want the count function not to count a cell if it is less than 5, so
in this example, it should return a value of 2? How do nest it with "if"
function? I don't know how to do this..

Any pointers would be greatly appreciated.

Thanks!

R Green
 
R Green

=COUNTIF()

?

Beege

Hi folks

How do you ask excel not to count a cell if a criteria is not met?

For example:

let's say A1 = 5 B1=6 C1=2 D1=1

and you want the count function not to count a cell if it is less than 5, so
in this example, it should return a value of 2? How do nest it with "if"
function? I don't know how to do this..

Any pointers would be greatly appreciated.

Thanks!

R Green
 
=COUNTIF(A1:D1,">=5")

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


Hi folks

How do you ask excel not to count a cell if a criteria is not met?

For example:

let's say A1 = 5 B1=6 C1=2 D1=1

and you want the count function not to count a cell if it is less than 5, so
in this example, it should return a value of 2? How do nest it with "if"
function? I don't know how to do this..

Any pointers would be greatly appreciated.

Thanks!

R Green
 
Thanks to ALL!

R Green
Hi folks

How do you ask excel not to count a cell if a criteria is not met?

For example:

let's say A1 = 5 B1=6 C1=2 D1=1

and you want the count function not to count a cell if it is less than 5, so in this example, it should return a value of 2? How do nest it with "if" function? I don't know how to do this..

Any pointers would be greatly appreciated.

Thanks!

R Green
 

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