Xlookup - Not returning expected result

psycoperl

Active Member
Joined
Oct 23, 2007
Messages
338
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
  3. Web
Good Day -
I am working on a workbook that has two sheets
FIND_PLC and UGRADADID20220608

On FIND_PLC in Column A I have a list of user ID# (they are text strings in the format of 00000000). In Column S of this sheet, I want to get their EMAIL address which is listed in the Column E of UGRADADID.

In UGRADADID the UserID#s are in Column A.

I am using the formula =XLOOKUP($A2,UGRADADID!$A$2:$A$23104,UGRADADID!$E$2:$E$23104)

However, I am getting #N/A instead of the expected value.

If I copy the USERID# and search it (CTRL+F) it exists in the UGRADADID sheet.

Guidance is welcome
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
This should work dependant on the USERID# also being in UGRADID sheet in range A1 to A9

Excel Formula:
=XLOOKUP(A1:A9,UGRADADID20220608!A1:A9,UGRADADID20220608!E1:E9,"",0)
 
Upvote 0

Forum statistics

Threads
1,216,558
Messages
6,131,400
Members
449,648
Latest member
kyouryo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top