Function Problems

How to Use Excel INDEX MATCH to Return Supervisor and Manager Names

Camila MilosovichCamila Milosovich Nov 3, 2026 869 views

Question details

The user needs to match an employee ID in one column against a lookup table to accurately return the corresponding supervisor and manager names.

How to Use Excel INDEX MATCH to Return Supervisor and Manager Names
Product
Excel
Device & OS
not provided
Scenario
Looking up and returning multiple related values from a separate data table based on a unique identifier.
Observed behavior
The system successfully looks up the matched ID and populates the supervisor and manager columns, returning blank cells when no match is found.
Before you start

Ensure that your lookup table contains unique IDs without duplicates, and that the columns containing the lookup IDs and the corresponding supervisor and manager names are clearly identified.

Solution 1Recommended

Use Standard INDEX MATCH Formulas to Return Names

This is the most direct method to look up and return supervisor and manager names based on a unique ID.

The INDEX MATCH combination is highly flexible for data retrieval. Unlike VLOOKUP, it allows you to look up values even when your return column is to the left or right of your search column.

1
Enter the Supervisor lookup formula

Click on the first cell in your Supervisor column (e.g., cell G2) and enter =INDEX(K:K,MATCH($A2,J:J,0)). In this example, column K contains the supervisor names and column J contains the lookup IDs.

2
Enter the Manager lookup formula

Click on the first cell in the Manager column (e.g., cell H2) and enter =INDEX(L:L,MATCH($A2,J:J,0)). Here, column L contains the manager names.

3
Apply formulas to the entire column

Select cells G2 and H2, then double-click or drag the fill handle down to copy the formulas for all corresponding rows.

Use Standard INDEX MATCH Formulas to Return Names
Absolute References: Using $A2 ensures the column reference stays locked on the ID column while allowing the row number to adjust dynamically as you copy the formula down.
Efficient Lookup Formulas

Easily perform advanced lookups using WPS Spreadsheet

WPS Spreadsheet fully supports advanced functions like INDEX, MATCH, and IFERROR, making it simple to build robust lookup tables for your employee data with zero compatibility issues.

  1. 1. Open your dataset in WPS Spreadsheet: Launch WPS Office and open your workbook containing the employee and lookup tables.
  2. 2. Input the INDEX MATCH formula: Select the target cell, type =INDEX(K:K,MATCH($A2,J:J,0)) to pull the required data, and press Enter.
  3. 3. Drag to fill: Use the intuitive fill handle to drag and copy the formula across all necessary rows instantly.
Fully compatible with Microsoft Excel formulas and file formats (.xlsx)Lightning-fast performance for handling large lookup tablesBuilt-in error checking and formula evaluation tools
microsoft office alternative - wps office

Frequently Asked Questions

Why is my INDEX MATCH formula returning an #N/A error?

The #N/A error occurs when the MATCH function cannot find the lookup value (the ID) in your lookup array. Ensure the ID exists in your source table, there are no trailing spaces, and the data types perfectly match (e.g., both are formatted as text or numbers).

Can I use VLOOKUP instead of INDEX MATCH for this task?

Yes, if the lookup ID is in the leftmost column of your lookup table, you can use VLOOKUP. However, INDEX MATCH is generally preferred as it is more flexible, allowing the ID column to be located anywhere in the dataset without breaking when columns are inserted or deleted.

Should I put my lookup table on a separate worksheet?

Yes, it is highly recommended to place your lookup table on a separate worksheet. This keeps your main dataset clean and allows the lookup table to be sorted or modified independently without affecting your active data entry view.