=_xlfn.XLOOKUP not working

Dokman

New Member
Joined
Dec 6, 2023
Messages
7
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Hello,

I have Excel 2013 and this code is not working in 2013. Can someone help me. To change it so it's working in 2012

=_xlfn.XLOOKUP(E3;Mallen!C:C;Mallen!B:B;"Niet gevonden";0)

In Sheet1 in column E there is a number "2015105B" it's looks in sheet2"Mallen" in column C to that same number.
If the number is there, it's copy the info what's in column b stands. And put it in sheet1 in column G in the same row
as the number "2015105B" stands.
 

Attachments

  • info.png
    info.png
    152.4 KB · Views: 6

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
XLOOKUP didn't exist in that version, so you need different functions. You could use:

Excel Formula:
=IFERROR(INDEX(Mallen!B:B;MATCH(E3;Mallen!C:C;0));"Niet gevonden")
 
Upvote 0
I still get the same error message "#NAAM?" I think there is something wrong in the string.
can you help me to solve the problem.
 
Upvote 0
RoryA

It's working. I have a dutch version of excel. So if you say =IFERROR that's for me =ALS.FOUT
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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