How to Fix Excel Array Formulas with VLOOKUP Returning Only the First Match
Question details
The user needs to resolve an issue where multi-cell VLOOKUP array formulas only return the first match and understand how Excel table references behave.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Using VLOOKUP within an array formula to calculate multiple lookup results or using structured table references.
- Observed behavior
- The array formula may only return the first match instead of multiple lookup results, and some 2D combinations of lookup values and return columns fail to calculate.
Verify your Excel version to ensure compatibility with array formulas, and check if modern functions like XLOOKUP or FILTER are available on your system.
Use SUM with VLOOKUP Array Combinations
Combine SUM with VLOOKUP to handle arrays effectively when dealing with single-dimension lookups.
A formula cannot automatically perform every combination of lookup values and return columns without the correct array structure. You must structure the formula to handle either multiple lookup values or multiple return columns, but not both simultaneously.
To sum multiple lookup values in a column, enter the formula =SUM(VLOOKUP($B3:$G3,Items,J$71)).
To sum results from multiple return columns for a single lookup value, use =SUM(VLOOKUP($B3,Items,J$71:V$71)).
If you are using an older version of Excel, click into the formula bar and press Ctrl+Shift+Enter to confirm the formula so it correctly calculates as an array.

Convert Table References to Absolute Ranges
Change structured table references to standard ranges if you need to lock fixed cell references during formula dragging.
Use XLOOKUP and FILTER Functions
Switch to XLOOKUP or FILTER for more robust array handling if your Excel version supports them.
Master Array Formulas with WPS Spreadsheet
WPS Spreadsheet fully supports advanced array formulas, VLOOKUP, XLOOKUP, and dynamic arrays. You can easily process complex data lookups with high performance and full compatibility with Microsoft Excel formats.
- 1. Open your workbook: Launch WPS Spreadsheet and open your existing Excel file.
- 2. Enter the array formula: Type your VLOOKUP or XLOOKUP formula into the target cell.
- 3. Confirm the array: Press Ctrl+Shift+Enter to execute traditional array formulas, or simply press Enter for dynamic arrays.

Frequently Asked Questions
Why does my VLOOKUP array formula only return the first match?
Standard VLOOKUP is designed to return only the first matching record it finds. To return multiple matches or calculate an array, you need to structure the formula with functions like SUM and confirm it with Ctrl+Shift+Enter, or switch to modern functions like FILTER or XLOOKUP.
Can I use a 2D array in a VLOOKUP formula?
No, Excel cannot process a two-dimensional matrix lookup like =SUM(VLOOKUP($B3:$G3,Items,J$71:V$71)). You must limit the array to either multiple lookup values or multiple return columns, not both simultaneously.
Why do my table references change when I copy the formula?
Excel tables use structured references that adjust automatically when dragged horizontally or vertically. If you need fixed references, you should convert the table to a normal range and use absolute cell references (like $A$1).
Which versions of Excel support XLOOKUP and FILTER?
XLOOKUP and FILTER are dynamic array functions available only in Microsoft 365, Office 2021, and Excel for the web. Older versions like Excel 2019 or 2016 do not support them.




