In this article, we are going to learn how to count the numbers or a series of numbers when a certain criterion is set in Microsoft Excel. To solve this problem, we use COUNTIF function.
What is COUNTIF function?
On the basis of condition, to count the numbers within a range, we use COUNTIF function.
How we will use COUNTIF function to count the number in series of numbers on the basis of criteria?
Let’s take an example to understand:-
We have numbers in column A & Criteria are set in cell B2, B3.
=COUNTIF(A2:A11,">"&B2)-COUNTIF(A2:A11,">"&B3)
Formula Explanation:-
If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.