Why Excel Average and Sum Results Do Not Match: Weighted vs Unweighted
Question details
The user wants to know why the average of row-by-row percentages differs from the percentage calculated using the sum of the columns.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Comparing the calculated average of individual row percentages against a ratio derived from the total column sums.
- Observed behavior
- The unweighted average of the percentages does not match the weighted percentage of the totals. This is recognized as expected mathematical behavior rather than an Excel calculation error.
Review your dataset to understand whether your rows represent equally weighted items or if they have varying denominators that require a weighted average approach.
Use Weighted Averages for Accurate Total Percentages
Understand why the calculations differ and how to properly apply a weighted average to get an accurate representation of your data.
The discrepancy between the average of percentages and the percentage of sums is a standard mathematical principle, not a software bug.
An average of row-by-row percentages treats every row with equal importance, resulting in an unweighted average. Conversely, dividing the sum of one column by the sum of another produces a weighted average, which accurately gives more weight to rows with larger values.
Check the base values (denominators) for each row. If they are identical, the unweighted average and weighted average will match. If they vary, you must decide which average type suits your analysis.
To find the true overall percentage of the dataset, use the SUM function for your columns. Select an empty cell and type the formula =SUM(B2:B10)/SUM(C2:C10) instead of using the AVERAGE function on the percentage column.
If you genuinely need to treat each row as an equally important entity regardless of its numerical size, use the formula =AVERAGE(D2:D10) where column D contains your individual row percentages.

Calculate Weighted and Unweighted Averages Easily in WPS Office
WPS Spreadsheet provides powerful and highly compatible calculation tools to help you manage data, apply SUM and AVERAGE functions correctly, and avoid common data analysis pitfalls.
- 1. Open your spreadsheet: Launch WPS Spreadsheet and open the document containing your data.
- 2. Apply the SUM formula: Select the target cell for your total percentage and type =SUM(column1)/SUM(column2) to obtain the weighted average.
- 3. Format as percentage: Highlight the result cell, right-click, select 'Format Cells', and choose the 'Percentage' category to display the final weighted ratio.

Frequently Asked Questions
Is it an Excel error when the average of percentages doesn't match the total percentage?
No, this is not an Excel error. It is standard mathematical behavior. The average of percentages calculates an unweighted average, while dividing the total sums results in a weighted average.
When should I use the average of percentages instead of total sums?
You should only average the percentages (unweighted average) if every row in your dataset carries equal importance, regardless of the underlying total values or sample sizes.
How can I make the average and sum percentages match?
The unweighted average of percentages and the weighted ratio of sums will only match mathematically if all the denominators (base values) in every row are exactly the same.




