XLOOKUP Error

Jones1413

New Member
Joined
Jul 26, 2019
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have two sheets of data where I want to lookup a value using XLOOKUP. The first sheet is called July Hires and the second sheet, where I want to use the lookup array and lookup return value is called Sheet1.

I can't figure out why it is not returning the email address in cell B152 and is showing up as #N/A.

Please see screenshot attached.
 

Attachments

  • 2022-08-04_11-19-40.jpg
    2022-08-04_11-19-40.jpg
    109.4 KB · Views: 9

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Probably because that number is entered as text on the one sheet (note the blue triangle in the upper right-hand corner) and is entered as a number on the other.
In other for the Lookup functions to work, you can only match text-to-text or number-to-number, never text-to-number.
So you will need to fix your data so they are both the same data type.
 
Upvote 0
You could try formula +ABS(A152) this converts a text number to a number, the reverse of that is =Text(A152,"00000000") the number of noughts is how ever long the string is!
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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