How to Create a Jockey League Table with an Excel PivotTable
Question details
The user needs to create a league table to rank jockeys based on their wins at specific race courses using an Excel horse-racing database.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking and dynamically ranking jockey performance across different horses and race courses.
- Observed behavior
- The user wants to organize raw race result data into a structured PivotTable ranking system.
Ensure your race data is organized with clear column headers (e.g., Horse, Jockey, Race Course, Position in Race) and that there are no blank rows or columns within your dataset.
Use an Excel PivotTable to Rank Jockeys
By converting your data into an Excel Table and using a PivotTable, you can dynamically filter by race course and rank jockeys by their winning positions.
A PivotTable is the most efficient way to summarize a large database of race results. Formatting your raw data as an Excel Table first ensures that any new race records you add in the future will automatically be included in your rankings when refreshed.
Enter each race result in a separate row, ensuring consistent values in the 'Position in Race' column (e.g., use 'First', 'Second', and 'Third' uniformly).
Select your entire dataset, including the headers, and press the 'Ctrl + T' shortcut on your keyboard. Confirm that your table has headers and click 'OK'.
Navigate to the 'Insert' tab on the Excel ribbon and click 'PivotTable'. Choose to place the PivotTable on a New Worksheet.
In the PivotTable Fields pane on the right, drag the 'Jockey' field to the Rows area, 'Race Course' to the Filters area, and 'Position in Race' to the Values area (which will default to Count).
Use the Filter drop-down at the top of your new PivotTable to select a specific race course. Right-click any number in the count column and select 'Sort' > 'Sort Largest to Smallest' to rank the jockeys by wins.

Create Dynamic League Tables Easily with WPS Spreadsheet
WPS Spreadsheet provides powerful and intuitive PivotTable features, allowing you to rank jockeys, analyze race databases, and manage large datasets with ease. It is fully compatible with Microsoft Excel files and offers a familiar, user-friendly interface.
- 1. Open Your Database in WPS: Launch WPS Spreadsheet and open your horse-racing database file.
- 2. Insert a PivotTable: Select your data range, navigate to the 'Insert' tab, and click 'PivotTable'.
- 3. Drag and Drop Fields: Drag 'Jockey' into the Rows area and 'Position in Race' into the Values area to instantly generate your league table.
- 4. Refresh and Analyze: When you add new race records, right-click the PivotTable and select 'Refresh' to update the rankings automatically.

Frequently Asked Questions
How do I filter the PivotTable to only show jockeys who finished first?
Drag the 'Position in Race' field to the Filters area as well as the Values area. Then, click the filter drop-down above your PivotTable and select 'First' to exclusively display data for winning jockeys.
Why isn't my PivotTable updating when I add new race results?
PivotTables do not update automatically in real-time to preserve processing speed. You need to right-click anywhere inside the PivotTable and select 'Refresh'. Formatting your source data as a Table (Ctrl+T) before creating the PivotTable ensures new rows are captured during the refresh.
Can I rank the jockeys automatically based on their win count?
Yes. Right-click any number in the 'Count of Position in Race' column of your PivotTable, select 'Sort', and choose 'Sort Largest to Smallest'. This will organize the jockeys from most wins to least.
What happens if a jockey has the same number of wins as another?
By default, tied jockeys will be listed in alphabetical order or the order they appear in the source data. You can add a secondary value field, such as a count of 'Second' place finishes, to act as a tiebreaker.




