Google Sheets VLOOKUP Multiple Columns: How To

How-to basics · Updated November 23, 2026

To return values from multiple columns with VLOOKUP in Google Sheets, you cannot make a single VLOOKUP return an array of columns directly; instead, you use multiple VLOOKUP formulas (one per column) with the same search key, or switch to INDEX/MATCH or XLOOKUP for a single formula solution. The simplest approach is to write =VLOOKUP($A2, $F$2:$H$10, 2, FALSE) for the first column and =VLOOKUP($A2, $F$2:$H$10, 3, FALSE) for the second, adjusting the column index number each time.

Why VLOOKUP Only Returns One Column

VLOOKUP is designed to search for a key in the first column of a range and return a value from a single column you specify with the index number. It cannot output multiple columns at once. When users say they want to “VLOOKUP multiple columns,” they usually mean they need to pull data from two or more adjacent columns for the same lookup value—for example, retrieving both a product name and its price from a product table. Because VLOOKUP’s third argument is a single number, you must call the function once per column you need. This is not a limitation of Google Sheets; it is how the function is defined in both Google Sheets and Excel.

Method 1: Multiple VLOOKUP Formulas (Easiest)

Suppose you have a lookup table with product IDs in column F, product names in column G, and prices in column H. Your search key is in cell A2. To get the name and price:

  • In cell B2, enter =VLOOKUP($A2, $F$2:$H$100, 2, FALSE) to return the name.
  • In cell C2, enter =VLOOKUP($A2, $F$2:$H$100, 3, FALSE) to return the price.

Copy both formulas down. Using FALSE for the fourth argument forces an exact match, which is almost always what you want. If you use TRUE, VLOOKUP will return approximate matches, which can cause silent errors unless your data is sorted.

Method 2: INDEX/MATCH for a Single Formula

If you prefer one formula that returns multiple columns, use INDEX and MATCH together. With the same layout (IDs in F, names in G, prices in H), enter this formula in B2:

=INDEX($G$2:$H$100, MATCH($A2, $F$2:$F$100, 0), 0)

This returns both the name and price as a two-cell spill range (in Google Sheets, it will automatically fill B2:C2). The MATCH finds the row number, and INDEX returns the entire row from columns G and H. This works because INDEX can return a whole row or column when you use 0 for the row or column argument. Note: this formula returns an array, so if you need it in separate cells, ensure there is enough space to the right.

Method 3: XLOOKUP (Modern Alternative)

Google Sheets added XLOOKUP in 2022. It is more flexible than VLOOKUP and can return multiple columns directly. With the same data, enter in B2:

=XLOOKUP($A2, $F$2:$F$100, $G$2:$H$100)

This returns the name and price for the matching ID. XLOOKUP defaults to exact match, so you don’t need a fourth argument. It also handles missing values with an optional “if not found” argument. If you use Excel, XLOOKUP is available in Excel 2021 and Microsoft 365, but not in older versions—there you’d stick with INDEX/MATCH.

How to Choose the Right Approach

  • Multiple VLOOKUPs are best when you only need 2–3 columns and want maximum compatibility with older spreadsheets.
  • INDEX/MATCH is ideal when you need many columns or when your lookup column is not the first column of the table (VLOOKUP cannot look to the left).
  • XLOOKUP is the cleanest for new spreadsheets, especially if you plan to share them with others using modern versions of Sheets or Excel.

All three methods require your lookup key to be unique in the lookup column. If there are duplicates, VLOOKUP and XLOOKUP return the first match; INDEX/MATCH returns the first match as well. For multiple matches, you would need FILTER or QUERY.

Common Problems and How to Fix Them

  • #N/A errors mean the lookup value is not found. Check for extra spaces, text vs. number formatting, or that the ranges are correct.
  • Wrong column returned happens when the index number is off. Count columns from the first column of the range, not from the sheet’s column A.
  • Dragging formulas breaks them if you don’t use absolute references. Use $A2 (lock column) and $F$2:$H$100 (lock range) to prevent shifts.
  • Performance issues with large datasets (thousands of rows) can occur. Use array formulas like INDEX/MATCH or XLOOKUP sparingly, or consider using QUERY to pull all needed columns at once.

Comparison with Excel

Google Sheets and Excel handle VLOOKUP identically in syntax. The main differences are: Excel’s VLOOKUP cannot return an array without using CSE (Ctrl+Shift+Enter) in older versions; Google Sheets automatically spills arrays. Excel’s XLOOKUP is available in Excel 2021/365, but not in Excel 2019 or earlier. For INDEX/MATCH, both work the same. If you are using Excel for the web, it also supports dynamic arrays, so the INDEX/MATCH formula above works there too.

Frequently Asked Questions

Can I use VLOOKUP to return multiple columns at once?

No, VLOOKUP itself cannot return multiple columns. You must either use multiple VLOOKUP formulas or switch to INDEX/MATCH or XLOOKUP, which can return arrays.

Why does my VLOOKUP return #N/A even though the value exists?

Often it’s due to formatting: the lookup value might be text while the table has numbers, or there are trailing spaces. Use TRIM and ensure both are the same data type. Also, check that the range’s first column contains the lookup value.

What is the difference between VLOOKUP and INDEX/MATCH?

VLOOKUP can only look to the right of the first column, while INDEX/MATCH can look in any direction. INDEX/MATCH is also more flexible for returning multiple columns and is less likely to break if columns are inserted.

Is XLOOKUP better than VLOOKUP?

For most cases, yes. XLOOKUP is simpler, supports exact match by default, can return multiple columns, and handles missing values gracefully. However, VLOOKUP is still widely used because it’s familiar and works in all versions.

How do I return multiple columns with QUERY?

You can use QUERY to select multiple columns based on a condition, e.g., =QUERY(F:H, "select G, H where F = '"&A2&"'", 0). This returns all matching rows, not just the first. It’s useful when you have duplicates.

Practical Example with Steps

Let’s say you have a sheet with employee IDs in column A (starting A2) and a lookup table in columns D, E, F (ID, Name, Department). To fill B2 with Name and C2 with Department:

  1. In B2, type =VLOOKUP($A2, $D$2:$F$100, 2, FALSE) and press Enter.
  2. In C2, type =VLOOKUP($A2, $D$2:$F$100, 3, FALSE) and press Enter.
  3. Select B2:C2, then double-click the small blue square in the bottom-right corner to fill down.

If you want a single formula, use =INDEX($E$2:$F$100, MATCH($A2, $D$2:$D$100, 0), 0) in B2—it will spill to C2 automatically.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

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

Spotted an error in this guide? Let us know.