Forum Discussion
laundryguy
Aug 12, 2025Copper Contributor
Using data
I have DATA in sheet 1 and DATA in sheet 2. I am trying to bring the data from the Pods column in sheet 2 that corresponds to the Comment column in sheet 1 and i can't seem to figure out the correct...
HansVogelaar
Aug 12, 2025MVP
Option 1:
In D2 on Sheet1:
=XLOOKUP(C2, Sheet2!$A$2:$A$10000, Sheet2!$B$2:$B$10000, "")
and then fill down.
Option 2:
Assuming that the data on Sheet1 extend to row 250, enter the following formula in D2 on Sheet1:
=XLOOKUP(C2:C250, Sheet2!$A$2:$A$10000, Sheet2!$B$2:$B$10000, "")
This will spill to D2:D250.
laundryguy
Aug 12, 2025Copper Contributor
when i do as you suggest, i get this error:
- HansVogelaarAug 13, 2025MVP
XLOOKUP is only available in recent versions of Excel. If you have an older version, try
=IFERROR(VLOOKUP(C2, Sheet2!$A$2:$B$10000, 2, FALSE), "")