Pivot Table Issues

How to Find the Top 5 Salespeople per Unit in Excel Pivot Tables

Huma Ashraf ChHuma Ashraf Ch Nov 4, 2026 870 views

Question details

The user needs to identify and display the top five salespeople for each unit based on their target achievement percentages within an Excel report.

How to Return the Top Five Salespeople per Unit in Excel
Product
Excel
Device & OS
not provided
Scenario
Analyzing sales performance data categorized by organizational units and individual salespeople to find the highest achievers.
Observed behavior
The user wants to filter a large dataset to display only the top 5 performers per unit based on achievement percentage.
Before you start

Ensure your sales data is organized in a tabular format with clear column headers, and verify that the achievement percentages are formatted as numeric values rather than text so they can be ranked mathematically.

Solution 1Recommended

Use a PivotTable with a Top 10 Value Filter

The most efficient way to group data by unit and rank salespeople is by using Excel's built-in PivotTable feature along with a Value Filter.

By placing both the Unit and Salesperson fields in the Rows area of a PivotTable, you can apply a specific filter to the Salesperson field that isolates the top performers based on the values in your data.

1
Insert a PivotTable

Select your entire sales dataset, go to the 'Insert' tab on the ribbon, and click 'PivotTable'. Choose to place it on a New Worksheet and click OK.

2
Configure the PivotTable Rows

In the PivotTable Fields pane, drag the 'Unit' field into the 'Rows' area. Then, drag the 'Salesperson' field directly below 'Unit' in the 'Rows' area.

3
Add the Achievement Values

Drag the 'Achievement Percentage' field into the 'Values' area. Ensure it is set to 'Sum' or 'Average' depending on how your raw data is structured.

4
Apply the Top 10 Filter

Click the filter dropdown arrow next to 'Row Labels' in the PivotTable. In the 'Select field' dropdown at the top of the menu, choose 'Salesperson'. Then select 'Value Filters' and click 'Top 10...'.

5
Adjust to Top 5

In the Top 10 Filter dialog box, change the number '10' to '5'. Ensure the filter is set to evaluate by the 'Achievement Percentage' field, then click OK.

Use a PivotTable with a Top 10 Value Filter
Filter Applied Successfully: Your PivotTable will now automatically collapse the data to display only the top five performing salespeople for each distinct unit.
Free Spreadsheet Software

Analyze Sales Data Easily with WPS Office

WPS Spreadsheet offers powerful PivotTable features fully compatible with Excel, allowing you to quickly filter top performers, group data, and calculate percentages for free.

  1. 1. Open your data in WPS Spreadsheet: Launch WPS Office and open your sales data workbook.
  2. 2. Create a PivotTable: Navigate to the 'Insert' tab and click 'PivotTable'. Select your data range and click OK.
  3. 3. Set up the fields: Drag 'Unit' and 'Salesperson' into the Rows section, and 'Achievement Percentage' into the Values section.
  4. 4. Filter the top 5: Click the filter icon on the Salesperson row label, select 'Value Filters' > 'Top 10', change the number to 5, and apply the filter.
Fully compatible with Microsoft Excel (.xlsx) formats and PivotTable structures.Advanced Value Filters to instantly find top or bottom performers per category.Lightweight and completely free to download and use.Familiar user interface for seamless and intuitive data analysis.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Top 10 filter greyed out or missing in my PivotTable?

This usually happens if you are trying to filter the wrong field or a field placed in the Values area. Ensure you click the filter arrow on the Row Labels and select the specific 'Salesperson' field from the dropdown before looking for Value Filters.

Can I filter to see the bottom 5 salespeople instead of the top 5?

Yes. When you open the Top 10 Value Filter dialog box, simply change the first dropdown condition from 'Top' to 'Bottom' and ensure the number is set to 5.

Why are my achievement percentages not ranking correctly in the PivotTable?

The achievement percentages must be stored as numbers. If they are stored as text, the PivotTable cannot rank them mathematically. Select your raw data, right-click, choose 'Format Cells', and set them to Number or Percentage.

Will the Top 5 filter update automatically if my sales data changes?

The filter conditions remain active, but you need to refresh the PivotTable to see changes. After updating your raw data, right-click anywhere inside the PivotTable and select 'Refresh'.