Separate Home and Away Games in an Excel Schedule
Question details
Create separate lists of home games and away games for a selected team from a sports league schedule without repeated VLOOKUP formulas.

- Product
- Microsoft Excel schedule worksheet
- Device & OS
- not provided
- Scenario
- The schedule contains team names in Home Team and Away Team columns, and the user wants dynamic results for one selected team.
- Observed behavior
- The goal is to return every matching game in separate spilled lists for home and away games.
Format the schedule as an Excel Table and confirm that its columns include Home Team, Away Team, and the game details you want to return. Enter the team to look up in a dedicated cell, such as H2.
Use FILTER to return separate home and away game lists
Use this method in Microsoft 365 or Excel 2021 when you need every matching game to update automatically after the schedule changes.
FILTER returns all matching rows at once, making it more suitable than VLOOKUP when a team appears in multiple games. Replace the table and column names with the names used in your workbook.
Select the schedule range, then choose Insert > Table. Give the table a clear name from Table Design > Table Name, such as Schedule.
Click a blank input cell, such as H2, and type the team name exactly as it appears in the Schedule[Home Team] and Schedule[Away Team] columns.
Click the first cell for the home-game output and enter =FILTER(Schedule,Schedule[Home Team]=$H$2,"No home games found"). Press Enter to spill every matching home-game row.
Click the first cell for the away-game output and enter =FILTER(Schedule,Schedule[Away Team]=$H$2,"No away games found"). Press Enter to spill every matching away-game row.
To show only selected fields, wrap the formula with CHOOSECOLS, for example: =CHOOSECOLS(FILTER(Schedule,Schedule[Home Team]=$H$2,""),1,2,4,5). Adjust the column numbers to match the fields you need.

Filter all games for a team in one combined list
Use this option when you want one list containing both home and away games instead of two separate sections.
Use the worksheet filter for a quick non-formula view
Use this approach when you only need to review a team's schedule once and do not need an automatically generated report.
Create Home and Away Game Lists with WPS Spreadsheet
WPS Spreadsheet lets you build dynamic home and away game lists from a league schedule with FILTER formulas. Enter a team name once, then use separate formulas to return every matching home or away game in automatically expanding result ranges.
- 1. Open the schedule in WPS Spreadsheet: Open the .xlsx schedule file in WPS Office and select the worksheet that contains the league fixtures.
- 2. Convert the schedule to a table: Select the schedule data and use Insert > Table so the home and away team columns can be referenced consistently.
- 3. Set a team input cell: Click an empty cell, such as H2, and enter the team whose games you want to display.
- 4. Add the home-game formula: In a blank output area, enter =FILTER(Schedule,Schedule[Home Team]=$H$2,"No home games found") to return matching home games.
- 5. Add the away-game formula: In a separate blank output area, enter =FILTER(Schedule,Schedule[Away Team]=$H$2,"No away games found") to return matching away games.

Frequently Asked Questions
Why is VLOOKUP not suitable for listing all games for one team?
VLOOKUP returns only the first matching value it finds. FILTER can return every schedule row where the team appears, which is better for a season schedule with many games.
How can I show only the date, opponent, location, and score in the result?
Use CHOOSECOLS around the FILTER result, such as =CHOOSECOLS(FILTER(Schedule,Schedule[Home Team]=$H$2,""),1,2,4,5). Replace the column numbers with the fields you want to display.
What does the plus sign mean in a FILTER condition?
In a condition such as (Schedule[Home Team]=$H$2)+(Schedule[Away Team]=$H$2), the plus sign acts as OR. It returns rows where the selected team is listed as either the home team or the away team.
Why does my FILTER formula show a spill error?
A spill error means one or more cells in the formula's expected output range are not empty. Clear or move the blocking cells, then enter the formula again.
Can I use these formulas in older versions of Excel?
FILTER is available in Microsoft 365 and Excel 2021 or later. In older Excel versions, use Data > Filter, a PivotTable, Power Query, or helper-column formulas instead.




