Function Problems

How to Combine Two Excel Tables by Article Number in WPS Spreadsheets

Camila MilosovichCamila Milosovich Nov 13, 2026 869 views

Question details

The user needs to add system information to a sales table by matching article numbers between two tables.

How to Combine Two Excel Tables by Article Number in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
One table contains article numbers and total units sold, while another contains article numbers and system information. Some articles appear in only one of the tables.
Observed behavior
System information needs to be added to the first table, but the article numbers do not align row by row.
Before you start

Open both tables in WPS Spreadsheets and confirm that the article numbers use the same format, such as both text or both numbers, with no extra spaces. If needed, format each article number column consistently before applying the lookup formula.

Solution 1Recommended

Use XLOOKUP to Match Article Numbers and Return System Information

Use this solution when your version of WPS Spreadsheets supports XLOOKUP and you want a flexible lookup with a custom result for missing article numbers.

XLOOKUP searches for an article number in the system table and returns the system information from the same row. It does not require the return column to be to the right of the lookup column, which makes it more flexible than VLOOKUP.

1
Select the target cell

In the first table, click the first cell in the System Information column where the result should appear.

2
Enter the XLOOKUP formula

Type =XLOOKUP([@[Article Number]],SystemTable[Article Number],SystemTable[System Information],"Not found") and press Enter.

3
Apply the formula to the remaining rows

Drag the fill handle down or double-click it to copy the formula through the System Information column.

4
Review missing article numbers

Check that rows with no matching article number display "Not found" instead of an error.

Use XLOOKUP to Match Article Numbers and Return System Information
Recommended method: XLOOKUP is the most direct way to combine the two tables by article number when it is available in your WPS Spreadsheets version.
Use WPS Spreadsheets lookup functions

Combine Excel Tables by Article Number in WPS Spreadsheets

Use XLOOKUP, VLOOKUP, or INDEX MATCH in WPS Spreadsheets to match article numbers and pull system information from one table into another without manual copying.

  1. 1. Download WPS Office: Download and install WPS Office from the official WPS website, then open WPS Spreadsheets.
  2. 2. Open the workbook with both tables: Open the workbook that contains the article number sales table and the system information table.
  3. 3. Enter the lookup formula: Select the first System Information cell in the first table and enter the XLOOKUP formula using the structured table references.
  4. 4. Apply and verify results: Copy the formula down the column and confirm that matching system information appears and missing article numbers display "Not found".
Match article numbers across tables with built-in lookup formulasSupports Excel workbook formats including .xlsx and .xlsFree, lightweight Office suite with a familiar ribbon interfaceHandles missing matches cleanly with IFERROR or XLOOKUP's not-found argument
microsoft office alternative - wps office

Frequently Asked Questions

What formula can I use in WPS Spreadsheets to combine two tables by article number?

You can use =XLOOKUP([@[Article Number]],SystemTable[Article Number],SystemTable[System Information],"Not found") if XLOOKUP is supported. In older versions, use VLOOKUP with exact match or INDEX and MATCH.

Why does my VLOOKUP formula return #N/A even when the article number exists?

This usually happens because one article number is stored as text and the other as a number, or because there are extra spaces. In VLOOKUP, the lookup value must also be in the first column of the selected range.

How do I prevent #N/A errors when an article number is missing from one table?

Wrap the lookup formula in IFERROR, or use the XLOOKUP fourth argument to return a custom value such as "Not found" when no match exists.

Can WPS Spreadsheets open Excel files that contain XLOOKUP formulas?

Yes, WPS Spreadsheets opens .xlsx and .xls workbooks and supports XLOOKUP in versions that include it. For maximum compatibility with older versions, use VLOOKUP or INDEX and MATCH.

Does WPS Spreadsheets support Excel table structured references like SystemTable[Article Number]?

Yes. You can create a table by selecting the range and choosing Insert > Table in WPS Spreadsheets, then use structured references such as SystemTable[Article Number] in formulas.