Vlookup Multi Column: How to Return Any Column

Formulas & functions · Updated November 23, 2026

The direct answer: standard VLOOKUP can only return a value from one column, but you can make it work across multiple columns by using the COLUMN() function inside the column index argument, or by switching to XLOOKUP (Excel 2021/Microsoft 365) which handles multi-column returns natively. For example, =VLOOKUP(A2, $A$1:$D$100, COLUMN(B1), FALSE) returns the value from column B when dragged right, and =XLOOKUP(A2, $A$1:$A$100, $B$1:$D$100) returns an entire row of values.

Why VLOOKUP Seems Limited to One Column

VLOOKUP’s third argument, col_index_num, is a single number that tells Excel which column to pull from within the table array. That number is fixed unless you make it dynamic. The function was designed for one lookup value and one return column—it never had an option to return several columns at once. This is a common frustration because real-world data often needs multiple related fields, like a customer’s name, email, and phone number from an ID.

Method 1: Using COLUMN() to Drag Across Columns

If you need to return values from several adjacent columns, you can write one VLOOKUP formula and copy it horizontally. The trick is to replace the static column number with COLUMN(), which returns the column number of the cell where the formula sits.

Example layout: lookup values in A2:A10, table in A1:D100 with ID in column A, Name in B, Email in C, Phone in D. In cell F2, enter:

=VLOOKUP($A2, $A$1:$D$100, COLUMN(B1), FALSE)

When you drag F2 to the right, COLUMN(B1) becomes COLUMN(C1) (returns 3), then COLUMN(D1) (returns 4), pulling Name, Email, and Phone respectively. The $A2 locks the column so the lookup value stays fixed as you drag right. This works in all Excel versions, including Excel for the web and Mac.

Method 2: Using XLOOKUP to Return Multiple Columns at Once

If you have Excel 2021 or Microsoft 365, XLOOKUP is the cleaner solution. Its third argument can be a multi-column range, and it returns the entire corresponding row as a spill range.

Example: same layout as above. In F2, enter:

=XLOOKUP($A2, $A$1:$A$100, $B$1:$D$100)

This returns three adjacent cells (Name, Email, Phone) that spill into F2:H2. You only need to enter the formula once—no dragging. If you want the results in a single column stacked vertically, wrap it with TRANSPOSE:

=TRANSPOSE(XLOOKUP($A2, $A$1:$A$100, $B$1:$D$100))

Note: XLOOKUP is not available in Excel 2019 or earlier. For those versions, use the COLUMN() method or the INDEX/MATCH combo below.

Method 3: INDEX and MATCH for Full Control

INDEX/MATCH is the classic alternative that works in every Excel version and gives you flexibility for non-adjacent columns. The formula returns a value from any column you specify, even if it’s not next to the lookup column.

Example: lookup ID in A2, table in A1:D100, you want the Email in column C. In F2:

=INDEX($A$1:$D$100, MATCH($A2, $A$1:$A$100, 0), 3)

To return multiple columns, you can enter an array constant like {2,3,4} as the column argument, but that requires entering as an array formula (Ctrl+Shift+Enter in older Excel). Better: use the COLUMN() trick with INDEX too:

=INDEX($A$1:$D$100, MATCH($A2, $A$1:$A$100, 0), COLUMN(B1))

Drag right to get Name, Email, Phone. This method is more robust than VLOOKUP because it doesn’t break if you insert or delete columns in the table.

How to Choose the Right Method

  • Use XLOOKUP if you have Microsoft 365 or Excel 2021 and want the simplest formula that returns multiple columns at once.
  • Use VLOOKUP + COLUMN() if you’re on an older Excel version and your return columns are adjacent and in the same order as the table.
  • Use INDEX/MATCH if you need to return columns that are not adjacent, or if you want to avoid the left-to-right limitation of VLOOKUP (VLOOKUP can only look in the leftmost column of the table).
  • Use Power Query (Get & Transform Data) if you need to merge tables regularly and want a refreshable query—it’s not a formula but a data transformation tool.

Common Problems and Fixes

One frequent issue: when dragging VLOOKUP with COLUMN(), the reference COLUMN(B1) changes correctly, but if you insert a column in the table, the formula’s table array may shift and break. Always use absolute references like $A$1:$D$100 to lock the range.

Another problem: VLOOKUP returns #N/A if the lookup value isn’t found. Wrap it in IFERROR to show a friendly message:

=IFERROR(VLOOKUP($A2, $A$1:$D$100, COLUMN(B1), FALSE), "Not found")

Also, VLOOKUP requires the lookup column to be the first column in the table array. If your ID is in column C and you want to look it up, you must rearrange the table or use INDEX/MATCH.

Frequently Asked Questions

Can VLOOKUP return multiple columns without dragging? No, standard VLOOKUP returns only one value per formula. You need to copy the formula to adjacent cells, or use XLOOKUP which spills results automatically.

Why does my VLOOKUP return #REF! when I drag it? This happens when the col_index_num exceeds the number of columns in the table array. For example, if your table has 3 columns and you drag to COLUMN(D1) (which is 4), you’ll get #REF!. Check your table range and adjust.

What is the difference between VLOOKUP and XLOOKUP for multiple columns? XLOOKUP can return an entire row or column of values in one formula, while VLOOKUP requires a separate formula for each column. XLOOKUP also allows lookup to the left, has a built-in if_not_found argument, and doesn’t require the lookup column to be first.

Can I use VLOOKUP to return values from non-adjacent columns? Yes, but you must specify each column number individually in separate formulas, or use an array constant with INDEX/MATCH. VLOOKUP itself cannot skip columns in a single formula.

Does this work in Google Sheets? The COLUMN() and INDEX/MATCH methods work the same in Google Sheets. XLOOKUP is also available in Google Sheets as of 2022, but the syntax is slightly different: =XLOOKUP(lookup_value, lookup_range, result_range) works similarly. For multiple columns, Google Sheets also supports FILTER and ARRAYFORMULA.

Safety and Accuracy Notes

Always double-check that your lookup values are unique. If there are duplicates, VLOOKUP and XLOOKUP return the first match, which may not be the one you want. Use COUNTIF to verify uniqueness before relying on results. Also, be careful with approximate match (the fourth argument in VLOOKUP set to TRUE or omitted); it requires sorted data and can give incorrect results if not used properly. For exact matches, always use FALSE or 0.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.