COUNTIF Fuction in Excel

  • Thread starter Thread starter LJ
  • Start date Start date
L

LJ

Does anybody know how to use two criteria in the COUNTIF fuction. I
need to count cells if they contain numbers <# AND >=#. How do i use
this AND in the COUNTIF fuction? Any help would be great.

Thanks
 
In most cases, add the Countifs together.
For your case it might actually be a subtraction, depending on the criteria.

Or, you could use Sumproduct().

What's the arguments that you're looking to calculate?
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------


Does anybody know how to use two criteria in the COUNTIF fuction. I
need to count cells if they contain numbers <# AND >=#. How do i use
this AND in the COUNTIF fuction? Any help would be great.

Thanks
 
Not with countif but works:

=SUMPRODUCT((B1:B8<80)*(B1:B8>=20))

Will count the number of cells < 80 and >= 20

Cheers
JS
 
Does anybody know how to use two criteria in the COUNTIF fuction. I
need to count cells if they contain numbers <# AND >=#. How do i use
this AND in the COUNTIF fuction? Any help would be great.

Thanks

=COUNTIF(cells, ">=#") - COUNTIF(cells, ">#")


--ron
 

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