V / XLOOKUP issue

ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
795
Office Version
  1. 365
Platform
  1. MacOS
Hi,

I have a simple formula, which I cannot work why is not working. Please could someone let me know what I’m doing wrong. Seems like a simple v or xlookup solution to me.

Screenshot 2023-11-09 at 11.41.46.png


Screenshot 2023-11-09 at 11.42.06.png


I just want to search for “Chris” in B14:F15 and return the value from G14 if it is there. it works when “Chris” is in B14, but not when in B15. Strange!

Thanks in advance!

OneDrive link to file: Pool Team (Division 1, 2023-2024) WORKING.xlsx

Olly.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
It should be B14:B15 not B14:F15
Ah yes, I forgot to amend it from where I was using vlookup previously. Is there no way to get it to work without unmerging? Can I just use G14 as the reference? like this:
Excel Formula:
=XLOOKUP("Chris",'Match Card # 1'!$B$14:$B$15,'Match Card # 1'!$G$14)
Tried this, but just get a value error
 
Upvote 0
the problem is Chris is on line 15...so Excel should return the value from line 15...however, since it's merged, that's not possible.
 
Upvote 0
Try it like
Excel Formula:
=IF(ISNUMBER(XMATCH("Chris",'Match Card # 1'!$B$14:$B$15)),'Match Card # 1'!$G$14,"")
 
Upvote 0
Solution
Try it like
Excel Formula:
=IF(ISNUMBER(XMATCH("Chris",'Match Card # 1'!$B$14:$B$15)),'Match Card # 1'!$G$14,"")
Yes, that works. Superb, thanks. Caught you off-guard with a non-parkrun-related question for once! :ROFLMAO:
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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