Function Problems

How to Automatically Fill Supplier Details for Part Numbers in Excel

Olivia MillerOlivia Miller Nov 10, 2026 868 views

Question details

The user needs a reliable method to automatically populate supplier information, such as names and numbers, whenever a specific part number is entered in a spreadsheet.

How to Automatically Fill Supplier Details for Repeated Part Numbers in Excel
Product
Excel
Device & OS
not provided
Scenario
Managing product inventories, purchase orders, or supplier databases where part numbers are repeatedly entered.
Observed behavior
Instead of typing details manually or relying on Excel's inconsistent autocomplete feature, the user requires an automated lookup solution to ensure data consistency.
Before you start

Ensure you have a dedicated reference table where each unique part number is listed exactly once alongside its correct supplier details to prevent lookup errors.

Solution 1Recommended

Use XLOOKUP to Auto-Fill Supplier Details

XLOOKUP is the most robust and modern function to search for a part number and return multiple supplier details simultaneously.

Creating a lookup table is more reliable than using Excel's autocomplete, especially for repetitive data across different sheets.

1
Create a Reference Table

On a separate sheet (e.g., 'Suppliers'), list unique part numbers in column A, and supplier names and numbers in columns B and C.

2
Select the Target Cell

In your working sheet, click the cell where you want the supplier name to automatically appear when a part number is entered.

3
Enter the XLOOKUP Formula

Type the formula =XLOOKUP(A2, Suppliers!A:A, Suppliers!B:B) assuming A2 contains the entered part number.

4
Apply to Other Rows

Press Enter to apply the formula, then click and drag the fill handle down to apply it to the remaining rows.

Use XLOOKUP to Auto-Fill Supplier Details
Return Multiple Columns: XLOOKUP can return an array of values. By changing the return array to Suppliers!B:D, you can fill the supplier name, number, and part number across multiple columns with a single formula.
Efficient Data Management

Easily Auto-Fill Supplier Details with WPS Spreadsheet

WPS Spreadsheet fully supports advanced functions like XLOOKUP and VLOOKUP, making it incredibly easy to automate your data entry and manage inventory tables.

  1. 1. Open your data file: Launch WPS Spreadsheet and open your inventory or supplier workbook.
  2. 2. Organize reference data: Keep your unique part numbers and supplier data neatly organized in a dedicated reference sheet.
  3. 3. Select the target cell: In your main order sheet, click the cell where the automated detail should appear.
  4. 4. Insert the lookup formula: Use =XLOOKUP() or the 'Insert Function' (fx) tool to quickly build your lookup formula and drag it down.
Fully compatible with Microsoft Excel formulas and formats (.xlsx).Lightweight software with rapid startup times.Intuitive tabbed interface for managing multiple reference sheets.Free built-in data validation and lookup tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my XLOOKUP formula return an #N/A error?

This error occurs when the entered part number cannot be found in your reference table. Ensure there are no extra spaces, hidden characters, or typos in either the source data or the searched value. Using Data Validation for part number entry can prevent this.

Can I auto-fill multiple columns of supplier details at once?

Yes. With XLOOKUP, you can select a return array that spans multiple columns (e.g., Suppliers!B:D), and the spreadsheet will spill the corresponding supplier name, number, and part number into adjacent cells automatically.

Why is Excel's autocomplete not suggesting my supplier names?

Excel's autocomplete only works for contiguous data within the same column. If there are blank rows, or if the data is on a different worksheet, autocomplete will not function. Using a lookup table is highly recommended for cross-sheet referencing.