Calculate Cross-Country Team Scores for the Top Five Runners in Excel
Question details
Calculate team scores from each school's first five finishers while allowing sixth and seventh runners to affect other teams' places.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A cross-country meet workbook lists runners by finish order and school, with a sixth-runner tiebreaker for tied team scores.
- Observed behavior
- The workbook should exclude runners after each school's seventh finisher, total the first five eligible places, and identify the higher-placing sixth runner when teams tie.
Put finish order in column A and school names in column B, with one runner per row, then sort column A from smallest to largest. Check that school names are consistent and confirm whether your meet rules exclude runners from incomplete teams before calculating places.
Use helper columns to calculate team scores and sixth-runner places
Use this method when the first five runners score, the sixth and seventh displace other runners, and later runners are excluded.
These formulas assume rows 2–101 contain eligible runners in finish order. They assign effective places after excluding each school's eighth and later finishers; adjust the range to fit your meet.
The formulas treat the first seven runners from every listed school as eligible to displace others. If your meet excludes runners from incomplete teams or applies different eligibility rules, remove those runners from the scoring list first.
In C2, enter =IF(B2="","",COUNTIF($B$2:B2,B2)) and fill it down through C101. This numbers each school's runners in finish order.
In D2, enter =IF(OR(B2="",C2>7),"",COUNTIFS($C$2:C2,">=1",$C$2:C2,"<=7")) and fill it down through D101. Runners after the seventh receive no place and do not displace other teams.
Enter each school once in column F. In G2, enter =IF(COUNTIFS($B$2:$B$101,F2,$C$2:$C$101,">=1",$C$2:$C$101,"<=5")<5,"",SUMIFS($D$2:$D$101,$B$2:$B$101,F2,$C$2:$C$101,">=1",$C$2:$C$101,"<=5")) and fill it down for each school. A school with fewer than five runners has a blank score.
In H2, enter =IF(COUNTIFS($B$2:$B$101,F2,$C$2:$C$101,6)=0,"",SUMIFS($D$2:$D$101,$B$2:$B$101,F2,$C$2:$C$101,6)) and fill it down. A blank means the school has no sixth runner.
Select the school summary in columns F–H and use Data > Sort to sort the score in column G from smallest to largest. For tied scores, compare column H: the lower sixth-runner place wins. Apply your meet's rule if a tied team has no sixth runner.

Calculate Cross-Country Team Scores in WPS Spreadsheets
Use WPS Spreadsheets to apply the same helper-column formulas, total the first five eligible places, and compare sixth runners in a team summary.
- 1. Open the meet workbook: Open WPS Spreadsheets, select Open, and choose your Excel workbook. Sort the finish-order column from smallest to largest.
- 2. Add helper formulas: Enter the runner-count formula in C2 and the effective-place formula in D2 from the solution above, then fill both formulas down through the runner list.
- 3. Create the team summary: List schools in column F, enter the team-score formula in G2 and the sixth-runner formula in H2, then fill both formulas down.
- 4. Sort and save: Use Data > Sort to rank scores from smallest to largest, compare sixth-runner places for ties, and use File > Save As to save the workbook.

Frequently Asked Questions
Why do the sixth and seventh runners need an effective place?
Although they are not included in their own team's five-runner total, they can displace later finishers from other schools. The sixth runner's place is also used in the specified tiebreaker.
How are runners after a school's seventh finisher excluded?
The formula in column D leaves their effective places blank. The COUNTIFS calculation counts only runners numbered one through seven when assigning places to later finishers.
What happens if a school has fewer than five runners?
The team-score formula leaves its score blank. Check your meet rules to determine whether that school's runners should still displace runners from other teams.
How do I break a tie between two team scores?
Compare the tied schools' sixth-runner effective places in column H. The lower place wins under the rule described here; consult the meet rules if either school has no sixth runner.
Can I use a PivotTable instead of formulas?
A PivotTable can group runners by school, but it does not by itself calculate the effective places needed after excluding eighth and later runners. Calculate those places first, then use the scored data in a summary.




