Function Problems

How to Fix Excel Array Formulas with VLOOKUP Returning Only the First Match

Chanuka GeekiyanageChanuka Geekiyanage Nov 11, 2026 869 views

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.

How to Fix Excel Array Formulas with VLOOKUP Returning Only the First Match
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.
Before you start

Verify your Excel version to ensure compatibility with array formulas, and check if modern functions like XLOOKUP or FILTER are available on your system.

Solution 1Recommended

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.

1
Apply vertical array lookup

To sum multiple lookup values in a column, enter the formula =SUM(VLOOKUP($B3:$G3,Items,J$71)).

2
Apply horizontal array lookup

To sum results from multiple return columns for a single lookup value, use =SUM(VLOOKUP($B3,Items,J$71:V$71)).

3
Execute as an array formula

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.

Use SUM with VLOOKUP Array Combinations
Limitation: Excel cannot automatically process a 2D matrix combination like =SUM(VLOOKUP($B3:$G3,Items,J$71:V$71)). You must restrict the array lookup to one dimension.
Advanced Spreadsheet Alternative

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. 1. Open your workbook: Launch WPS Spreadsheet and open your existing Excel file.
  2. 2. Enter the array formula: Type your VLOOKUP or XLOOKUP formula into the target cell.
  3. 3. Confirm the array: Press Ctrl+Shift+Enter to execute traditional array formulas, or simply press Enter for dynamic arrays.
Fully compatible with Microsoft Excel (.xlsx) formatsNatively supports VLOOKUP, XLOOKUP, and FILTER functionsHandles complex array formulas efficientlyFree and lightweight alternative to Microsoft Office
QA img-9

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.