Counting the Number of Values Below or Above Average

In this article, you will learn how to count the numbers in a range, which are below than average number and above than average number by using Countif function. Along with Average function in Microsoft Excel.

What both functions will do?

Countif function will count the number within range which is less than or above the average.

Average function will provide the criteria (average number of range) to Countif function.


Let’s take an example and understand:-

We have data in Excel, in which we want to count the numbers which are less than Average.

image 1


Follow below given steps to count the numbers which is below to average:-

  • Enter the formula in cell E18
  • =COUNTIF(B2:B16,"<"&AVERAGE(B2:B16))

image 2


  • Press Enter
  • The function will return the 8 count
  • It means within range we have 8 numbers which are below than average

image 3


Let’s calculate the numbers which are above average:-

  • Enter the formula in cell E19
  • =COUNTIF(B2:B16,">"&AVERAGE(B2:B16))

image 4


  • Press Enter
  • The function will return 7
  • It means, there are 7 numbers which are above average

image 5


image 48


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



  1. Looker rounds the calculated value up and uses it to identify the data value to return. In this example set of 19 test scores, the h percentile would be identified by 19 * .75 = 14.25, which means that 75% of the values are in the first 14 data values below the h position. Thus, Looker returns the h data value (87) as being larger than 75% of the data values.

Leave a Reply

Your email address will not be published. Required fields are marked *

Terms and Conditions of use

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.