Excel Formulas

XLOOKUP Formula in Excel: Copy-Paste Examples

Copy, paste, and adapt XLOOKUP formula with practical spreadsheet examples.

💡 Ideas for You

Helpful resources matched to this page.

4 focused options
📚 Step-by-step booksIndependent learning resources and step-by-step books from Create & Learn.📘 Topic guideAmazon ideas related to XLOOKUP.🧮 Formula booksBooks and references for spreadsheet formulas and examples.⌨️ Productivity setupHelpful books, office tools, and productivity resources.

Quick answer

Look up a value and return a related result from another column.

=XLOOKUP(A2,E:E,F:F,"Not found")

Example data layout

Use a small table first, confirm the result, then copy the formula down the column.

InputHelper valueResult
A2B2Formula result
A3B3Copied formula result

Copy-paste examples

Beginner

Basic XLOOKUP example

=XLOOKUP(A2,E:E,F:F,"Not found")

Adjust the cell references to match your worksheet layout.

Beginner

XLOOKUP copied down rows

=XLOOKUP(A3,E:E,F:F,"Not found")

Adjust the cell references to match your worksheet layout.

Intermediate

XLOOKUP with clean fallback

=IFERROR(XLOOKUP(A2,E:E,F:F,"Not found"),"")

Adjust the cell references to match your worksheet layout.

Intermediate

XLOOKUP with structured references

=XLOOKUP([@Input],E:E,F:F,"Not found")

Adjust the cell references to match your worksheet layout.

Advanced

XLOOKUP with dynamic data

=XLOOKUP(A2,Lookup[Key],Lookup[Result],"Not found")

Adjust the cell references to match your worksheet layout.

Advanced

XLOOKUP inside a report formula

=LET(result,XLOOKUP(A2,E:E,F:F,"Not found"),result)

Adjust the cell references to match your worksheet layout.

Step-by-step tips

  1. Paste the formula into the first result cell.
  2. Replace sample references like A2, B2, or Table1 with your real cells or table columns.
  3. Test the formula on two or three rows before copying it down.
  4. Format the result column as Number, Date, Currency, or Percentage when needed.
  5. Keep a backup copy of your original data before applying formulas across a large range.

Common mistakes

  • Using text values where Excel expects numbers or dates.
  • Forgetting quotation marks around text criteria.
  • Copying a formula without locking fixed references using dollar signs.
  • Applying the wrong number format and thinking the formula is wrong.

Related formula examples