XLOOKUP + VLOOKUP error

Cookdem

New Member
Joined
Jun 11, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi all!

I am having an issue with XLOOKUP and VLOOKUP and can't figure out if it is a formatting error with the text, specifically the 'XH' at the start of the text

To my eyes, I have checked the data set both sides and the format is the same for both so the lookup's should work

The formula presenting as #VALUE is =IFNA(IF(XLOOKUP(B26,'New Timesheet'!C:C,'New Timesheet'!C:C,0,0,1),"Y","N"),"N")
The formula next to it is =IFNA(IF(AND(XLOOKUP(B26,'New Timesheet'!C:C,'New Timesheet'!C:C,0,0,1),'New Data Tab'!G26=40),"Y","N"),"N")

Is there something really obvious I'm missing? The other really odd thing is that the 2nd formula presents correctly, even though it is exactly the same as the first but with more criteria!

Please let me know if you need more info and thanks in advance!
 

Attachments

  • Screenshot 2024-06-11 151104.png
    Screenshot 2024-06-11 151104.png
    26.4 KB · Views: 16

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(ISNUMBER(XMATCH(B26,'New Timesheet'!C:C)),"Y","N")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,931
Messages
6,175,465
Members
452,646
Latest member
tudou

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