New: ready-to-use spreadsheet templatesExplore the collection  →
Google Sheets · Verified tutorial

Xlookup returns #N/A in Google Sheets

G2 returns #N/A. Replace it with exactly =XLOOKUP("Missing",A2:A4,B2:B4,"Not found").

Verified by JosephineAbout 75 seconds
Quick answer

G2 returns #N/A. Replace it with exactly =XLOOKUP("Missing",A2:A4,B2:B4,"Not found").

Step-by-step

1

Select the targetG2 returns #N/A.

2

Apply the changeReplace it with exactly =XLOOKUP("Missing",A2:A4,B2:B4,"Not found").

Shortcut or faster method

Use the menu path shown in the video and keep the target range selected until the change is applied.

Expected result

G2 contains the corrected formula and displays Not found.

Common mistake

Applying the change to more rows, columns, or cells than the task specifies.

Troubleshooting

Re-select G2 and repeat the final action. G2 contains the corrected formula and displays Not found.

Example spreadsheet data

This is the clean fixture used for the verified run.

NameAmount
Alpha10
Beta20
Gamma30

Video transcript

  1. Open the prepared Formula repair spreadsheet.
  2. Select the target. G2 returns #N/A.
  3. Apply the change. Replace it with exactly =XLOOKUP("Missing",A2:A4,B2:B4,"Not found").
  4. G2 contains the corrected formula and displays Not found.