XLOOKUP formula generator

Write an XLOOKUP formula with the right lookup and return ranges.

Describe the lookup, paste your table headers, and get a modern Excel or Google Sheets formula with a readable fallback.

Request

Formula request

2 guest tries left
Mode
Spreadsheet
Upgrade $9

Purpose-built inputs

A focused workflow for everyday spreadsheet work.

Structured formula builder

Task, table context, target range, and function hint keep the request specific.

Write / Explain / Fix modes

Generate a new formula, translate a pasted one, or diagnose common syntax issues.

Excel and Sheets toggle

Compatibility notes call out modern functions and platform-specific behavior.

Formula-bar output

The result is formatted for scanning and placed next to a copy button.

Common formulas

Pick the formula you came for.

Percentage formulas

Build percent of total, percent change, discount, markup, tax, tip, and completion-rate formulas.

Date formulas

Create due dates, workday counts, month-end dates, date differences, and overdue checks.

FILTER formulas

Return matching rows for status, region, date, text, and threshold conditions.

Text formulas

Split, extract, join, trim, clean, and replace text from messy imported cells.

Data validation formulas

Block bad IDs, duplicate values, missing fields, and invalid entries with custom TRUE/FALSE rules.

XLOOKUP formulas

Return matching values with separate lookup and return ranges.

INDEX MATCH formulas

Build flexible lookup formulas for left lookups, two-way lookups, and older Excel files.

SUMIFS formulas

Total rows that match status, date, category, customer, or region rules.

Use case

XLOOKUP formula generator for spreadsheet work.

Create a modern exact-match lookup with separate lookup and return ranges.

What this page gives you

  • A draft XLOOKUP with separate lookup and return ranges.
  • A readable fallback for missing matches.
  • Checks that the lookup range and return range line up.

When to use it

Use this page when the workbook supports XLOOKUP and you want a lookup that is easier to read than VLOOKUP, especially when returning values from either side of the key.

Do not choose XLOOKUP for workbooks that must open cleanly in older Excel versions. Use VLOOKUP or INDEX/MATCH when compatibility is the main constraint.

Worked example

For a customer ID in E2, XLOOKUP can search IDs in column A and return emails from column C.

=XLOOKUP(E2,$A$2:$A$500,$C$2:$C$500,"Not found")

The formula searches the ID list, returns the matching email, and uses Not found instead of a raw lookup error.

Check before you paste

  • Confirm the lookup range and return range have the same height.
  • Keep the not-found fallback meaningful for downstream reports.
  • Use modern Excel or Google Sheets before choosing XLOOKUP.

Upgrade when the work piles up

Keep going when the sheet gets complicated.

Try twice as a guest. Free accounts get 3 runs per week plus a monthly product email. Upgrade when formula work becomes a recurring part of the week.

Founding access

$9

500 formula runs per month in this browser, early access pricing, and account access as it ships. Stripe redirects you back after payment.

Upgrade with Stripe