No, VLOOKUP cannot return values from more than one column in a single formula. To pull data from multiple columns, you need to use multiple VLOOKUP formulas (one per column), or switch to a more flexible function like INDEX/MATCH or XLOOKUP.
Why VLOOKUP Only Returns One Column
VLOOKUP is designed to search for a lookup value in the first column of a table, then return a value from a column you specify with the col_index_num argument. That argument is a single number, so the function inherently returns just one cell’s value. For example, =VLOOKUP(A2, B2:D100, 2, FALSE) returns the value from the second column of the range (column C), and =VLOOKUP(A2, B2:D100, 3, FALSE) returns from the third column (column D). To get both, you write two separate formulas.
Using Multiple VLOOKUP Formulas
The simplest workaround is to write one VLOOKUP for each column you need. Suppose you have a product ID in cell A2, and a lookup table with product ID in column B, product name in column C, and price in column D. To get both name and price, you would enter:
- In cell B2:
=VLOOKUP($A$2, $B$2:$D$100, 2, FALSE) - In cell C2:
=VLOOKUP($A$2, $B$2:$D$100, 3, FALSE)
This works, but it means duplicating the lookup logic. If you have many columns, the formulas become repetitive and hard to maintain. Also, if you change the lookup table range, you must update every formula.
Using INDEX and MATCH for Multiple Columns
INDEX/MATCH is a more flexible alternative. The MATCH function finds the row number where the lookup value appears, and INDEX returns the value at that row in a specified column. You can use the same MATCH result for multiple INDEX formulas. For example:
- In cell B2:
=INDEX($C$2:$C$100, MATCH($A$2, $B$2:$B$100, 0)) - In cell C2:
=INDEX($D$2:$D$100, MATCH($A$2, $B$2:$B$100, 0))
This still requires multiple formulas, but the MATCH part is identical, making it easier to copy and edit. You can also put the MATCH in a helper column (e.g., column E) and reference it: =INDEX($C$2:$C$100, $E$2).
Using XLOOKUP for a Cleaner Solution
If you use Excel 2021 or Microsoft 365, XLOOKUP is the best choice. It can return a single value or an array of values from multiple columns in one formula. For example, to return both name and price from the table above:
- In cell B2:
=XLOOKUP($A$2, $B$2:$B$100, $C$2:$D$100)
This returns two adjacent cells (name and price) that spill into B2 and C2 automatically. If you only want specific columns that are not adjacent, you can use the return_array with a combination like CHOOSECOLS (available in Excel 2024 or Microsoft 365): =XLOOKUP($A$2, $B$2:$B$100, CHOOSECOLS($C$2:$D$100, 1, 2)).
How to Choose the Right Method
Your choice depends on your Excel version and the complexity of your lookup:
- Excel 2019 or older: Use multiple VLOOKUP or INDEX/MATCH. INDEX/MATCH is more robust if you insert or delete columns.
- Excel 2021 or Microsoft 365: Use XLOOKUP for a single formula that returns multiple columns. It also handles lookups to the left and does not require sorted data (when using exact match).
- Large datasets: INDEX/MATCH and XLOOKUP are generally faster than VLOOKUP because VLOOKUP can be slower with large tables.
Also consider using a helper column that concatenates multiple criteria if you need to match on more than one condition—VLOOKUP cannot handle that directly.
Common Problems and Misconceptions
One common misconception is that VLOOKUP can return multiple columns if you use an array formula. That is not true; VLOOKUP only returns a single value. Another issue is that VLOOKUP requires the lookup column to be the first column in the table array. If your data has the lookup column elsewhere, you must reorder the columns or use INDEX/MATCH.
Another frequent problem is that VLOOKUP with FALSE for exact match returns the first exact match, but if there are duplicates, you only get the first one. If you need all matches, you must use FILTER (available in Excel 2021/365) or a pivot table.
Frequently Asked Questions
Can I use VLOOKUP to return values from two columns at once?
No, VLOOKUP only returns a single value. You need separate formulas or use XLOOKUP with a multi-column return array.
What is the best replacement for VLOOKUP to get multiple columns?
XLOOKUP is the best in Excel 2021 and Microsoft 365. For older versions, use INDEX/MATCH with a helper column for the row number.
Does INDEX/MATCH work better than VLOOKUP for multiple columns?
Yes, because you can reuse the MATCH part, and it is not limited to the leftmost column. It is also faster on large datasets.
Can I use VLOOKUP with an array constant to return multiple columns?
No, VLOOKUP does not support array returns. You could use a combination of VLOOKUP and CHOOSE, but it is messy and not recommended.
How do I get all matching rows, not just the first one?
Use the FILTER function in Excel 2021/365: =FILTER(A2:D100, B2:B100=A2). This returns all rows where the lookup value matches.
Final Thoughts on Multi-Column Lookups
While VLOOKUP is a classic function, its single-column limitation is a real drawback. For most modern use, XLOOKUP is the recommended solution because it is simpler and more powerful. If you are stuck with an older Excel version, INDEX/MATCH is a solid alternative. Whichever method you choose, always use exact match (FALSE or 0) unless you have a specific reason for approximate matching, and be aware of duplicate values in your lookup column.
Related
- Mac fn Shortcuts: What the fn Key Actually Does
- Oxford Dictionary Last Updated? Key Dates
- By Means of an Update? Meaning & Real Usage
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Formulas & functions
- Excel Named Range vs Table: How to Choose the Right ToolAn Excel named range gives a cell or formula a memorable name; an Excel table organizes related records…
- Excel INDIRECT: Reference Cells on Another SheetYes. In Excel for Microsoft 365, INDIRECT can turn a text reference into a reference to a cell…
- Combine SUMIF and SUBTOTAL in ExcelYou can combine SUMIF and SUBTOTAL by using the SUMPRODUCT function with SUBTOTAL and OFFSET, or by using…
- SUMIF with Two Criteria in Excel (3 Ways)To sum values based on two criteria in Excel, use SUMIFS (the plural version of SUMIF), which is…
- SUBSTITUTE and REPLACE in Excel: Differences ExplainedIn Excel, use SUBSTITUTE to find specified text and replace it, or use REPLACE to change characters at…
- Excel Formula for Listing Items: 5 Real MethodsThe fastest way to list items in Excel is to use the =UNIQUE(range) formula to extract distinct values,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.