How to Identify Values Making Up the Top 50% in Excel
Question details
Determine how many items and which specific values contribute to the top 50% of a dataset's total sum using Excel formulas.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Analyzing a data list, such as sales figures or inventory, to pinpoint the highest-performing items that cumulatively account for half of the grand total.
- Observed behavior
- Identifying the exact threshold and counting the subset of values that add up to reach the 50% mark of the total.
Ensure your data is organized in a single column without any blank cells, as accurate sorting and running totals require contiguous data.
Use Helper Columns to Calculate Running Totals and Percentages
By sorting your data in descending order and using helper columns, you can track cumulative totals and easily count how many items fall within the top 50% threshold.
This method requires three simple stages: sorting the raw values, calculating the cumulative percentage line-by-line, and returning the final item count.
It can also be extended to track corresponding part numbers or product names in adjacent columns.
Select your entire dataset. Go to the 'Data' tab and click the 'Sort Largest to Smallest' (Z to A) button to place the highest contributing values at the top.
At the bottom of your data or in an isolated cell (e.g., F1), use the SUM function (like =SUM(B2:B100)) to find the grand total of all values.
In an empty column next to your first value (e.g., cell C2), enter the formula =SUM($B$2:B2) and drag the fill handle down to calculate the running total for each row.
In the next column (e.g., cell D2), divide the running total by the grand total using the formula =C2/$F$1. Drag this down and format the column as a percentage.
In a dedicated helper cell (e.g., F3), use the COUNTIF function: =COUNTIF(D:D, "<=50%"). This will tell you exactly how many items make up the top 50% of your list.

Easily Analyze Data Percentages in WPS Spreadsheet
WPS Spreadsheet provides powerful data sorting, conditional formatting, and formula capabilities to help you quickly identify top-contributing values and running totals.
- 1. Open Your Dataset: Launch WPS Office and open your spreadsheet document containing the list of values.
- 2. Sort and Format: Highlight your target data, navigate to the 'Data' tab, and click 'Sort Descending' to organize your top values instantly.
- 3. Apply Formulas: Use the standard =SUM() and =COUNTIF() functions in adjacent cells to calculate your running cumulative percentage seamlessly.

Frequently Asked Questions
Can I highlight the top 50% values automatically?
Yes. Once you have calculated the running percentage in a helper column, you can select your original values, go to Home > Conditional Formatting > New Rule, and use a formula like =D2<=0.5 to highlight only the rows that fall within the top 50%.
What if the running total does not hit exactly 50%?
If a value pushes the cumulative total from 48% to 52%, the standard <=50% criteria will only count items up to 48%. If you wish to include the boundary item, you can modify the logic using the MATCH function or change your threshold formula to strictly capture the first item that exceeds 50%.
Is it mandatory to sort the data first?
Yes, sorting the values in descending order is required. The concept of identifying 'which values make up the top 50%' assumes you are looking for the largest contributors. Without sorting, the running total will not represent the largest items.
How can I find the bottom 50% of values instead?
To find the bottom 50%, follow the exact same procedure but sort your raw data in ascending order (Smallest to Largest) during the first step. The running formulas will then identify the smallest contributors.




