Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Summary Count with Percentage Breakdown

While working with Excel, we are able to obtain the count per specified criteria and present the breakdown in percentage form by using the COUNTIF and COUNTA functions.  COUNTIF returns the number of values in a specified range based on a given condition while COUNTA returns the number of non-empty cells in a range.  

This step by step tutorial will assist all levels of Excel users in obtaining the summary count with percentage breakdown.  

Figure 1. Final result: Summary count with percentage breakdown

Final formula: =COUNTIF($D$3:$D$9,F3)/COUNTA($D$3:$D$9)

Syntax of COUNTIF Function

=COUNTIF(range,criteria)

Parameters:

  • range – the data range that will be evaluated using the criteria
  • criteria – the criteria or condition that determines which cells will be counted

Syntax of COUNTA Function

=COUNTA(value1, [value2], ...)

Parameters:

  • value1 –  any value that we want to count
  • Only value1 is required; succeeding values are optional  

Setting up Our Data

Our table contains a list of Item ID (column B), Concentration (column C) and Class (column D).  Cells F3:F5 contains our criteria which lists the classes Low, Moderate and High. Cells G3:G5 contains the count of each class.  In cells H3:H5, we will determine the percentage breakdown of the classes based on their count.

Figure 2. Sample data to get summary count with percentage breakdown

Summary count with percentage breakdown

To get the summary count of each class and present the percentage breakdown, we follow these steps:

Step 1.  Select cell H3

Step 2.  Enter the formula: =COUNTIF($D$3:$D$9,F3)/COUNTA($D$3:$D$9)

Step 3: Press ENTER

Step 4: Copy the formula in cell H3 to cells H4 and H5 by clicking the “+” icon at the bottom right-corner of cell H3 and dragging it down.  

Figure 3. Entering the formula to get percentage breakdown of “Low” class

The range for our data set is D3:D9, which contains the “Class”. The dollar symbols “$” fix the cells so that we can easily copy and paste the formula to other cells.  The criteria is F3 or “Low”, which is the class that we want to summarize.

Our formula first counts the values with “Low” class, then counts the number of values under the column “Class”.  The two values are then divided. As a result, our formula returns the percentage breakdown of the class “Low”, which is 14%.  

Copying the formula to cells H4 and H5 returns the values 29% and 57%, which are the percentage breakdown for the classes “Moderate” and “High”, respectively.  

Figure 4. Using COUNTIF and COUNTA to get summary count with percentage breakdown

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Solution examples
I need a formula to count the number of rows that contain at least one of two possible phrases, but not give me the total number of instances that both phrases occur overall.
Solved by E. B. in 33 mins
i have a table with Dates, First names , Last names and i want to count how many times a name occurs, but if a name occurs more than once on a particular date i need to only count it once. this is on excel and not google sheets
Solved by F. H. in 31 mins
Need a formula that counts (1,2,3,4 ect..in cell M21) a range of cells, N4:N20, which are annual premium values. But I only want to add a sale count if the average monthly premium is above $30 per sale. So if someone has 4 sales but they don't equal a total of $120/mth ($30 x 4 = $120)... they would only get a count of 3 sales.
Solved by S. E. in 60 mins
Hello, I am trying to create a total color column? Can anyone help?
Solved by I. A. in 60 mins
Any rep that has orders over 500 and occurrences at zero for each month, for a 6 month period. I need a sum
Solved by C. E. in 60 mins

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc