Formula Errors

Fix Excel NFL Schedule Formulas for Opponents and Home or Away Status

Adam DavisAdam Davis Nov 18, 2026 870 views

Question details

Update Excel formulas to show opponents and home or away status after an NFL schedule layout changes.

Fix Excel NFL Schedule Formulas for Opponents and Home or Away Status
Product
Microsoft Excel
Device & OS
not provided
Scenario
A team schedule refers to a revised yearly schedule with different columns or ranges.
Observed behavior
The original formula returns a #REF! error instead of the expected schedule information.
Before you start

Check that YEARLY SCHEDULE contains numeric week numbers in column A and team names in columns C and F, with the selected team in A5 of the results sheet. The examples treat C as the away team and F as the home team; swap the labels if your layout uses the reverse order.

Solution 1Recommended

Update the opponent and home or away formulas

Use these dynamic-array formulas when the revised schedule occupies A5:G276 and contains the selected team.

The formulas filter the source rows for the team in $A$5, then look up weeks 1 through 18. They require an Excel version that supports LET, FILTER, SEQUENCE, and XLOOKUP.

Each lookup returns the first matching game for a week. Adjust the source range and SEQUENCE(18) if your schedule has different rows or weeks.

1
Check the source references

Open the YEARLY SCHEDULE sheet and confirm that A5:G276 covers the schedule. Check that column A holds week numbers and columns C and F hold the two teams.

2
Enter the opponent formula

On the results sheet, enter the team name in A5. In B5, enter =LET(s,'YEARLY SCHEDULE'!A5:G276,t,FILTER(s,((INDEX(s,,3)=$A$5)+(INDEX(s,,6)=$A$5))>0),XLOOKUP(SEQUENCE(18),INDEX(t,,1),IF(INDEX(t,,3)=$A$5,INDEX(t,,6),INDEX(t,,3)),"BYE"))

3
Enter the status formula

In C5, enter =LET(s,'YEARLY SCHEDULE'!A5:G276,t,FILTER(s,((INDEX(s,,3)=$A$5)+(INDEX(s,,6)=$A$5))>0),XLOOKUP(SEQUENCE(18),INDEX(t,,1),IF(INDEX(t,,3)=$A$5,"AWAY","HOME"),"BYE"))

4
Update the game counts

For the total away games, enter =COUNTIFS('YEARLY SCHEDULE'!$C$5:$C$276,$A$5). For home games, enter =COUNTIFS('YEARLY SCHEDULE'!$F$5:$F$276,$A$5). Adjust both ranges if the schedule extends beyond row 276.

Update the opponent and home or away formulas
Check missing weeks: A week without a matching row is labeled BYE, which can also indicate missing schedule data. If the team has no matching rows at all, check the name in A5 and the source range.
Work with NFL schedules in WPS

Update NFL Schedule Formulas in WPS Spreadsheet

Open the workbook in WPS Spreadsheet and update the opponent, status, and count formulas using the revised schedule ranges. Use a version that supports the dynamic-array functions in the formulas above.

  1. 1. Open the workbook: In WPS Spreadsheet, select Open and choose your Excel schedule workbook.
  2. 2. Check the schedule layout: Open YEARLY SCHEDULE and verify the week and team columns, then enter the selected team in A5 on the results sheet.
  3. 3. Enter the updated formulas: Paste the opponent formula into B5 and the home or away formula into C5, leaving the cells below them empty for the results.
  4. 4. Check counts and save: Enter the COUNTIFS formulas in cells reserved for totals, verify the results against the source schedule, and select File > Save.
Return opponents and home or away labels from the revised scheduleOpen and save Microsoft Excel XLSX filesEdit formulas in a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does the schedule formula show #REF!?

A formula may reference deleted cells or request a column outside its selected range. Check the YEARLY SCHEDULE range and the column numbers used by INDEX against the revised layout.

Why do I see #SPILL! after entering the formula?

The formulas return 18 rows. Clear any occupied cells below B5 or C5, then enter the formulas again if necessary.

What does BYE mean in the results?

BYE means XLOOKUP found no matching game for that week. Check YEARLY SCHEDULE for missing rows or week numbers before treating it as an actual bye.

How do I change the number of weeks displayed?

Change SEQUENCE(18) in both formulas to the number of weeks you need, and ensure the source schedule uses matching numeric week numbers.

What if my home team is in column C instead of column F?

In the status formula, swap the AWAY and HOME labels. For the totals, count column C as home and column F as away.