Create an Excel Quote Sheet with Automatic Product Lookups
Question details
Create a quote sheet that fills in product details when an item number is entered.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to look up product names, prices, and bundle quantities from a price list while preparing quotes.
- Observed behavior
- Entering an item number should return the matching product details automatically.
Arrange your price list with Item Number, Name, Price, and Bundle Quantity in consecutive columns, and make sure item numbers are unique. Check your Excel version: Microsoft 365 supports the spilling XLOOKUP formula below, while older versions can use VLOOKUP.
Use XLOOKUP to fill product details in Microsoft 365
Use one formula to return the product name, price, and bundle quantity across adjacent cells.
Select the price list and choose Insert > Table. Confirm that the table has headers, then use Table Design to name it Table1.
On the quote sheet, enter an item number in B2 and add the headings Name, Price, and Bundle Quantity in C1:E1. Leave C2:E2 empty for the results.
In C2, enter =IF(B2="","",XLOOKUP(B2,Table1[Item Number],Table1[[Name]:[Bundle Quantity]],"Not found")) and press Enter.
Copy the formula in C2 down column C, then enter other item numbers in column B. Keep the corresponding cells in columns D and E empty so the results can spill.

Use VLOOKUP for older versions of Excel
Use separate lookup formulas when your Excel version does not support XLOOKUP.
Create a Product Lookup Quote Sheet in WPS Spreadsheets
Use VLOOKUP in WPS Spreadsheets to pull product names, prices, and bundle quantities into a quote from an item number.
- 1. Prepare the price list: Open WPS Spreadsheets and create a sheet named Products. Put Item Number, Name, Price, and Bundle Quantity in columns A through D.
- 2. Set up the quote: Create a quote sheet, enter an item number in B2, and add Name, Price, and Bundle Quantity headings in C1:E1.
- 3. Enter the lookup formulas: In C2, enter =IFERROR(VLOOKUP($B2,Products!$A$2:$D$1000,2,FALSE),"Not found"). Repeat in D2 and E2, changing the column index to 3 and 4 respectively.
- 4. Fill and save the quote: Select C2:E2 and drag the fill handle down for more items. Choose Menu > Save As and select XLSX if you want to share the workbook in Excel format.

Frequently Asked Questions
Why does my XLOOKUP formula show #SPILL!?
The cells needed for the results may contain data. Clear the cells to the right of the formula, including D2:E2 in the example, and try again.
How do I make the price list include new products?
Select the price list and choose Insert > Table. Add products in rows directly below the table; the table and formulas that reference it can expand to include them.
Why does the lookup return Not found for an existing item?
Check that the item number in the quote matches the price list exactly. Remove extra spaces and check whether one value is stored as text while the other is stored as a number.
Can I use VLOOKUP if my Excel version does not have XLOOKUP?
Yes. Use VLOOKUP with FALSE for an exact match and a separate formula for each product detail. The item number must be in the first column of the lookup range.




