How to Use COUNTIF Function in Excel Greater Than Percentage

This tutorial will demonstrate how to use the COUNTIF function to find the number of values greater than a percentage in Excel.


Step 1 – Arranging a Dataset

We’ll use the following dataset containing the marks for some subjects in 2 different months. We want to determine the change in marks between the 2 months in the %Change (shown in Column E).

Arranging Dataset to excel countif greater than percentage

Read More: Excel COUNTIF to Count Cells Greater Than 1


Step 2 – Determining the Change in Percentage

Because our aim here is to find values greater than a percentage, we’ll convert the numeric values in columns C and D into percentage format.

  • Insert the following formula in cell E5:
=(D5-C5)/C5

Inserting Formula to determine Change excel countif greater than percentage

  • Press Enter and drag the Fill Handle down to apply the formula to the cells below.

Using Fill Handle to excel countif greater than percentage

We have the difference between the 2 marks in percentage form.

Read More: How to Compare Two Columns Using COUNTIF Function


Step 3 – Using the COUNTIF Function

Next, we will use the COUNTIF function to figure out the number of participants whose marks have improved by greater than 5%.

  • Insert the following formula in cell D14:
=COUNTIF(E5:E12,">=5%")

Inserting COUNTIF Formula to excel countif greater than percentage

The result: an improvement of greater than 5% was recorded in 4 subjects.

Final Result to excel countif greater than percentage

Read More: COUNTIF Between Two Cell Values in Excel


How to COUNTIF Greater than 0

Now let’s use the COUNTIF function to count the number of values that are greater than 0. We’ll rearrange our dataset so that it contains some 0 values, then use the COUNTIF function to determine the number of marks greater than zero.

Steps:

  • Arrange a dataset like in the below image.

  • Enter the following formula in cell C14:
=COUNTIF(C5:C12,">0")

There are 5 subjects with marks greater than 0.

Read More: How to Use COUNTIF for Non Contiguous Range in Excel


How to COUNTIF Less Than a Cell Value

Now, let’s use the COUNTIF function to count the number of values that are less than a certain cell value. For instance, the number of subjects with marks less than 50.

Steps:

  • Arrange a dataset like in the below image.

  • Insert the following formula in cell D14:
=COUNTIF(D5:D12,"<=50")

4 subjects have marks less than 50.

Read More: How to Use COUNTIF Function to Calculate Percentage in Excel


Download Practice Workbook

You can download the practice workbook here.


Related Articles


<< Go Back to Excel COUNTIF Function | Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Zehad Rian Jim
Zehad Rian Jim

Zehad Rian Jim is a dedicated professional with a BSc. Degree in Naval Architecture and Marine Engineering from Bangladesh University of Engineering and Technology. He's good with Microsoft Office and has written more than 80 helpful articles for ExcelDemy in the last year. Now, he makes fun and easy-to-follow Excel tutorials for YouTube as part of the ExcelDemy Video project. Zehad loves figuring out Excel problems, and his passion for learning new things in Excel shines through in... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo