FormulaCraft

How to return multiple columns with XLOOKUP in Excel and Google Sheets

Topic:XLOOKUP
Excel & Google Sheets
=XLOOKUP(A2, A$2:A$4, B$2:D$4)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Identify the lookup value in your dataset.
  2. 2Define the range where the lookup value exists.
  3. 3Specify the range containing the columns you want to return.
  4. 4Enter the XLOOKUP formula using the identified lookup value, lookup range, and return range.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Can XLOOKUP return multiple columns?

Yes, XLOOKUP can return multiple columns by specifying a range of columns as the return range.

What if my lookup value is not found?

XLOOKUP will return #N/A by default if the lookup value is not found. You can specify an alternative return value using the fourth argument.

Is XLOOKUP available in all versions of Excel?

No, XLOOKUP is available in Excel 2019 and later versions, as well as in Google Sheets.

More on XLOOKUP

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: