logo
search
Function Problems

How to Use Excel VLOOKUP to Autofill SKU Numbers from Descriptions

Huma Ashraf ChHuma Ashraf Ch Oct 10, 2026 871 views

Question details

The user needs to retrieve SKU numbers from a secondary lookup sheet and automatically fill them into the main sheet based on matching product descriptions.

How to Use Excel VLOOKUP to Autofill SKU Numbers from Descriptions
Product
Excel
Device & OS
not provided
Scenario
Matching product descriptions across multiple worksheets to seamlessly retrieve their corresponding SKU numbers for inventory management or reporting.
Observed behavior
The user aims to implement a formula that correctly references a description on Sheet1, finds it on Sheet2, and returns the appropriate SKU into the target column.
Before you start

Verify that your lookup data on Sheet2 is organized properly, ensuring the product description column is located to the left of the SKU column when using traditional VLOOKUP.

Solution 1Recommended

Use the VLOOKUP Function to Retrieve SKUs

This is the standard and widely compatible method for finding matching data across sheets using Excel's VLOOKUP function.

VLOOKUP searches for a value in the leftmost column of a table and returns a value in the same row from a specified column. It requires the lookup value and the return value to be in a specific left-to-right order.

1
Select the target cell

Click on cell D2 on Sheet1, which is where you want the corresponding SKU to appear.

2
Enter the VLOOKUP formula

Type the formula =VLOOKUP(H2,Sheet2!A:B,2,FALSE) and press Enter. This instructs the spreadsheet to look for the description from H2 within columns A and B on Sheet2, returning the exact match from the second column.

3
Autofill the formula down the column

Hover over the bottom-right corner of cell D2 until the cursor turns into a plus icon, then click and drag down column D to apply the calculation to the rest of the rows.

Use the VLOOKUP Function to Retrieve SKUs
Relative References Update Automatically: As you drag the formula down, the reference H2 will automatically update to H3, H4, and so on, ensuring each row queries the correct description.
Advanced Spreadsheet Features

Use VLOOKUP and Autofill seamlessly in WPS Spreadsheet

WPS Spreadsheet fully supports advanced data lookup functions like VLOOKUP and XLOOKUP, allowing you to easily match descriptions and autofill SKUs across worksheets with zero hassle.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your primary and lookup data.
  2. 2. Insert the VLOOKUP formula: Click on cell D2, navigate to the Formula tab, or directly type =VLOOKUP(H2,Sheet2!A:B,2,FALSE).
  3. 3. Instantly autofill the column: Double-click the fill handle at the bottom right corner of D2 to instantly populate the SKU numbers for hundreds of rows.
Fully compatible with Microsoft Excel formulas, functions, and file formats.Features a built-in formula wizard to help you construct error-free VLOOKUP queries.Lightweight architecture ensures fast performance even when processing massive inventory lists.
microsoft office alternative - wps office

Frequently Asked Questions

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

The #N/A error means the exact product description from Sheet1 cannot be found in the lookup column of Sheet2. Check for hidden trailing spaces, typos, or ensure that you are referencing the correct lookup column.

Does the lookup column need to be the first column for VLOOKUP?

Yes. When using VLOOKUP, the value you are searching for must be located in the leftmost column of your defined table array. If it is located to the right of your return values, you should use XLOOKUP or an INDEX and MATCH combination instead.

How do I lock the table array range in my formula?

If you are selecting a specific range instead of whole columns (e.g., A2:B100), you must lock the range by selecting it in the formula bar and pressing F4. This changes the reference to $A$2:$B$100, preventing the range from shifting when you autofill down.