Yes, you can use VLOOKUP to pull data from another sheet and return values from multiple columns, but a single VLOOKUP formula returns only one column. To get multiple columns, you either write several VLOOKUP formulas (one per column) or use a single array formula with VLOOKUP or XLOOKUP. The simplest approach for Excel 2021 or Microsoft 365 is =XLOOKUP(lookup_value, lookup_array, return_array) where the return array spans multiple columns.
Understanding VLOOKUP Across Sheets
VLOOKUP searches for a value in the first column of a table and returns a value from a column you specify. When the table is on another sheet, you reference that sheet by name in the table_array argument. For example, if your data is on a sheet named Sales with product names in column A, prices in column B, and quantities in column C, a formula on another sheet looks like:
=VLOOKUP(A2, Sales!A:C, 2, FALSE)
This returns the price for the product in A2. To also get the quantity, you would write a second formula with column index 3:
=VLOOKUP(A2, Sales!A:C, 3, FALSE)
That works, but it means maintaining two separate formulas. If you add or remove columns in the source sheet, the column index numbers can break. A better way is to use an array formula that returns multiple columns at once.
Using XLOOKUP for Multiple Columns (Excel 2021 / 365)
XLOOKUP is the modern replacement for VLOOKUP and is available in Excel 2021 and Microsoft 365. It can return an entire array of columns with a single formula. Suppose you have a sheet named Products with product IDs in A2:A100, names in B2:B100, and prices in C2:C100. On another sheet, with a product ID in A2, you can retrieve both name and price with:
=XLOOKUP(A2, Products!A2:A100, Products!B2:C100)
This returns two adjacent cells horizontally. If you enter it in a single cell, Excel spills the results into the neighboring cell automatically (if you have dynamic array support). If you want the results stacked vertically instead, wrap it with TRANSPOSE:
=TRANSPOSE(XLOOKUP(A2, Products!A2:A100, Products!B2:C100))
XLOOKUP also handles missing values gracefully with its fourth argument (if_not_found), so you can display a custom message like “Not found” instead of #N/A.
Using an Array Formula with VLOOKUP
If you are on Excel 2019 or earlier (no XLOOKUP), you can still return multiple columns in one formula by using an array constant for the column index. For example, to get columns 2 and 3 from the same table:
=VLOOKUP(A2, Products!A2:C100, {2,3}, FALSE)
In Excel 365 and 2021, this spills the two results into adjacent cells. In older versions, you must enter it as an array formula by pressing Ctrl+Shift+Enter (CSE). On a Mac, press Command+Shift+Enter. If you don’t use CSE, you’ll get a #VALUE! error or only the first result. Note that array constants like {2,3} are hard-coded, so if your source column order changes, you must update the constant manually.
How to Choose Between VLOOKUP and XLOOKUP
Use XLOOKUP if you have Excel 2021 or Microsoft 365. It’s simpler, more flexible, and doesn’t require column index numbers. Use VLOOKUP if you need compatibility with older Excel versions (2016 or earlier) or if you’re working in a shared workbook where some users have older versions. Also, VLOOKUP only looks to the right; it cannot return values from columns to the left of the lookup column. XLOOKUP can look in any direction. If you need to look up based on multiple criteria (e.g., product and region), use XLOOKUP with concatenation or use INDEX/MATCH, which we’ll cover next.
INDEX/MATCH as an Alternative
INDEX/MATCH is a classic combination that works in all Excel versions and can return multiple columns as well. The formula for two columns is:
=INDEX(Products!B2:C100, MATCH(A2, Products!A2:A100, 0), 0)
Here, INDEX returns the entire row (because the column argument is 0) from the B:C range, and MATCH finds the row number where A2 matches in column A. In Excel 365, this spills the two values horizontally. In older versions, you need to select two cells, enter the formula, and press Ctrl+Shift+Enter. INDEX/MATCH is more flexible than VLOOKUP because it doesn’t care about column order and can return values from any column, including left of the lookup column.
Common Problems and How to Fix Them
- #N/A error: The lookup value isn’t found. Check for extra spaces, different data types (text vs. number), or use TRIM and TEXT functions to clean data.
- #VALUE! error with array formula: You didn’t press Ctrl+Shift+Enter in older Excel, or the array constant syntax is wrong (use curly braces { } not parentheses).
- Column index changes: If you insert a column in the source sheet, VLOOKUP’s column index becomes wrong. Use XLOOKUP or INDEX/MATCH to avoid this.
- Spill range is blocked: In Excel 365, if cells next to the formula contain data, the spill won’t work. Clear the adjacent cells or move the formula.
- Sheet name with spaces: Reference it with single quotes, like
='My Sheet'!A:C.
Frequently Asked Questions
Can I use VLOOKUP to return multiple columns without repeating the formula?
Yes, use an array formula with a column index constant like {2,3} (Excel 2019 and earlier with CSE) or use XLOOKUP with a multi-column return array (Excel 365/2021). Both return multiple columns in one formula.
How do I reference another sheet in VLOOKUP?
In the table_array argument, type the sheet name followed by an exclamation mark. For example, =VLOOKUP(A2, Sheet2!A:C, 2, FALSE). If the sheet name has spaces, enclose it in single quotes: =VLOOKUP(A2, 'My Data'!A:C, 2, FALSE).
What is the difference between VLOOKUP and XLOOKUP for multiple columns?
XLOOKUP can return multiple columns directly with a simple formula and no column index numbers. VLOOKUP requires either multiple formulas or an array constant. XLOOKUP also works with left-side lookups and has a built-in if_not_found argument.
Can I use VLOOKUP to return columns to the left of the lookup column?
No, VLOOKUP only returns values to the right of the lookup column. Use INDEX/MATCH or XLOOKUP instead.
Why does my VLOOKUP return #N/A when the value exists?
Common causes: the lookup value is text but the source is numeric (or vice versa), extra spaces in either, or the lookup column isn’t the first column in the table_array. Use TRIM and TEXT to normalize, and ensure the first column of the range is the lookup column.
Does VLOOKUP work in Google Sheets?
Yes, VLOOKUP works in Google Sheets with the same syntax. However, Google Sheets doesn’t support array constants in the same way; use =ARRAYFORMULA(VLOOKUP(...)) or use the FILTER function for multiple columns.
Final Tips for Working with Multi-Column Lookups
Always use absolute references (like $A$2:$C$100) when copying formulas to prevent range shifts. If you’re on Excel 365, consider using the LET function to define the lookup range once and avoid repetition:
=LET(lookupRange, Products!A2:A100, returnRange, Products!B2:C100, XLOOKUP(A2, lookupRange, returnRange))
This makes the formula easier to read and maintain. Also, remember that XLOOKUP and array formulas are not available in Excel 2016 or earlier, so if you share workbooks with users on old versions, stick with classic VLOOKUP or INDEX/MATCH.
Related
- Traffic Light Color Sheet: Meanings, Uses, and Printable Guide
- Google Finance Dividends: What Data Is Shown
- Select a Cell and Highlight Whole Row in Excel
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Excel Formula for Depreciation CalculationThe core Excel formula for straight-line depreciation is =(cost - salvage) / life, where cost is the asset’s…
- Excel FILTER Formula to Find Cells Containing TextTo return rows where a column contains particular text, combine Excel’s FILTER function with SEARCH: with records in…
- Excel Custom Number Format: Round Values to ThousandsTo display Excel values rounded to the nearest thousand without changing the stored numbers, apply the custom number…
- Find Lowercase Letters in Excel with Formulas and FiltersTo find cells containing at least one lowercase letter, put the text in A2 and enter =IF(A2="",FALSE,LET(chars,MID(A2,SEQUENCE(LEN(A2)),1),SUMPRODUCT(--EXACT(chars,LOWER(chars)),--NOT(EXACT(chars,UPPER(chars))))>0)) in…
- How to Get the Filter Option in Excel and Use It EasilyTo get the Filter option in Excel, click a cell in your data and select Data > Filter.…
- Date to Fiscal Year in Excel: Formulas and ExamplesTo convert a date to a fiscal year in Excel, compare its month with your fiscal year-end month.…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.