Show Client and Overall Averages in an Excel Chart on Mac
Question details
Compare one client's average performance with the average across all clients in the same categories.

- Product
- Microsoft Excel for Mac
- Device & OS
- Mac (macOS)
- Scenario
- The user wants to display individual and overall averages together using PivotTable data and a chart.
- Observed behavior
- The desired chart shows a selected client's average and the overall average for each category.
Check that your source data has a category column, a client column, and a numeric performance column. The example below assumes these are in columns A, B, and C, with headers in row 1 and data in rows 2–1000.
Build a summary table and chart both averages
Use this method when a PivotTable client filter would also change the overall average shown in a PivotChart.
The client formula filters by both category and client, while the overall formula filters only by category. A regular chart based on these formulas can therefore show both averages without applying one client filter to both series.
In E1:G1, enter Category, Client Average, and Overall Average. List the categories in E2 downward, and enter the selected client's name in H1.
In F2, enter =IFERROR(AVERAGEIFS($C$2:$C$1000,$A$2:$A$1000,E2,$B$2:$B$1000,$H$1),NA()). Fill the formula down alongside the category list.
In G2, enter =IFERROR(AVERAGEIFS($C$2:$C$1000,$A$2:$A$1000,E2),NA()). Fill the formula down. Adjust the row limits in both formulas to include all source records.
Select the populated range in columns E:G, then choose Insert > Combo Chart. Set Client Average to a column and Overall Average to a line. If a combo chart is unavailable, insert a clustered column chart to compare both series.
Replace the name in H1 with another client name from column B. The client-average series updates while the overall series remains based on all clients.

Chart Client and Overall Averages in WPS Spreadsheets
Use a formula-based summary in WPS Spreadsheets to calculate both averages by category, then chart the two series together.
- 1. Open the workbook: Open your workbook in WPS Spreadsheets and confirm that columns A, B, and C contain category, client, and numeric performance data.
- 2. Create the summary: Enter Category, Client Average, and Overall Average in E1:G1. List categories below E1 and enter the chosen client name in H1.
- 3. Enter the formulas: In F2, enter =IFERROR(AVERAGEIFS($C$2:$C$1000,$A$2:$A$1000,E2,$B$2:$B$1000,$H$1),NA()). In G2, enter =IFERROR(AVERAGEIFS($C$2:$C$1000,$A$2:$A$1000,E2),NA()). Fill both formulas down and adjust the source row limits as needed.
- 4. Insert a chart: Select the populated summary range in E:G and choose Insert > Chart. Choose a clustered column chart, or a combination chart with columns and a line if available in your version.

Frequently Asked Questions
Why does the overall average change when I filter a PivotTable by client?
A client filter normally affects the PivotTable values in that filter context. Use a separate formula that filters only by category, or another calculation that explicitly excludes the client filter, for the overall average.
How do I compare a different client?
In the example summary table, change the client name in H1. The formulas in column F use that cell, while the overall formulas in column G do not.
Can I show the overall average as a line?
Yes. Select the summary table and choose Insert > Combo Chart in Excel, then set Overall Average to a line and Client Average to columns. If the combo option is unavailable, use a regular chart with both series.
Why does my average formula show #N/A?
The example uses IFERROR and NA() when AVERAGEIFS cannot calculate an average. Check that the client and category names match the source data and that the performance column contains numeric values.




