Function Problems

Create an Excel Quote Sheet with Automatic Product Lookups

Adam DavisAdam Davis Nov 18, 2026 869 views

Question details

Create a quote sheet that fills in product details when an item number is entered.

Create an Excel Quote Sheet with Automatic Product Lookups
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.
Before you start

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.

Solution 1Recommended

Use XLOOKUP to fill product details in Microsoft 365

Use one formula to return the product name, price, and bundle quantity across adjacent cells.

1
Create a product table

Select the price list and choose Insert > Table. Confirm that the table has headers, then use Table Design to name it Table1.

2
Set up the quote sheet

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.

3
Enter the lookup formula

In C2, enter =IF(B2="","",XLOOKUP(B2,Table1[Item Number],Table1[[Name]:[Bundle Quantity]],"Not found")) and press Enter.

4
Add more quote lines

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 XLOOKUP to fill product details in Microsoft 365
Check the spill range: If Excel displays a #SPILL! error, clear any content blocking the result cells. Make sure Name through Bundle Quantity are consecutive columns in Table1.
Build quotes in WPS Spreadsheets

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. 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. 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. 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. 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.
Fill quote details from a product price list with VLOOKUPOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceCreate and edit spreadsheets for free
microsoft office alternative - wps office

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.