Skip to main content

Calculate percentage breakdown of items in a list

For example, I have a statistics report which lists the option answer of each student, and now, I want a percentage breakdown of each option. It means that I need to know the percentages that the options A, B and C account for all options. In Excel, the COUNTIF and COUNTA functions can be combined to calculate the percentage of a specific value in a list of data.


Calculate percentage breakdown of items in a list

If you want to do such a percentage breakdown in Excel, you can apply the COUNTIF and COUNTA functions together, the generic syntax is:

=COUNTIF(range,criteria)/COUNTA(range)
  • range:The data range that contains all the options including the criteria;
  • criteria: The cell containing the specific value that you want to get its percentage.

1. To count the percentage of each option in the list, please apply the below formula into a blank cell:

=COUNTIF($B$2:$B$13,D2)/COUNTA($B$2:$B$13)

2. Then, drag the fill handle down to the cells to apply this formula, and you will get some decimal numbers as following screenshot shown:

3. Select the formula cells, and then click Home > Percent Style to convert the decimals to percentages, see screenshot:


Explanation of the formula:

=COUNTIF($B$2:$B$13,D2)/COUNTA($B$2:$B$13)

  • COUNTIF($B$2:$B$13,D2)): This COUNTIF function counts the number of cell D2 in the list of B2:B13, the result is: 3.
  • COUNTA($B$2:$B$13): This COUNTA function counts the total number of the cells in the list B2:B13, it returns the result: 12.
  • COUNTIF($B$2:$B$13,D2)/COUNTA($B$2:$B$13)=3/12: Finally, the COUNTIF result is divided by the COUNTA result to get the percentage result.

Relative function used:

  • COUNTIF:
  • The COUNTIF function returns the number of cells that meeting the specified criteria.
  • COUNTA:
  • This COUNTA function returns the number of cells excepted empty cells.

More articles:

  • Count Number Of Cells Between Two Values / Dates
  • Have you ever tried to get or count the number of cells between two given numbers or dates in Excel as below screenshot shown? This article will talk about some useful formulas for dealing with it.
  • Count All Matches / Duplicates Between Two Columns
  • Comparing two columns of data and count all matches or duplicates in the two columns may be a common task for most of us. For example, you have two columns of names, some names appear both in the first and second columns, now, you want to count all matched names (the matches located anywhere within the two columns) between two columns as below screenshot shown, this tutorial will introduce some formulas for achieving this goal in Excel.
  • Count Unique Numeric Values Based On Criteria
  • In Excel worksheet, you may suffer from a problem that count the number of unique numeric values based on a specific condition. For example, how can I count the unique Qty values of the product “T-shirt” from the report as below screenshot shown? In this article, I will show some formulas to achieve this task in Excel.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations