Forum Discussion
Multiple lookup values on XLOOKUP formula
- Apr 17, 2023
Hi ydlazkov
Prefix "_xlfn." means a function (in use) isn't found/available to you and the picture you shared shows that you don't have TEXTSPLIT
According to the doc. the function is available on Windows Version 2208 Build 15601 but you're not at that stage yet (Version 2008 Build 13127.21624)
In the meantime you can replace TEXTSPLIT with FILTERXML as follow (sample attached):
=TEXTJOIN(", ",, XLOOKUP( FILTERXML("<t><w>" & SUBSTITUTE(Change[@[Linked Issues]], ";", "</w><w>") & "</w></t>", "//w"), Incident[Key], Incident[Type], "Not found" ) )
NB: FILTERXML won't work on Mac and Excel Web/Online
Hi L z.
thanks for your reply and suggestion. what am I doing wrong when I got a "#NAME?" error?
i checked all the variables in the formula and I can't seem to find what causing the error.
The formula looks like this...
=TEXTJOIN(", ",,XLOOKUP(TEXTSPLIT(Change[@[Linked issues]],";"),Incident[Key],Incident[Type], "Not found"))
😞
Hi ydlazkov
You did not mention the version of Excel you run, I assumed 365...
If you run 2021 TEXTSPLIT isn't available to you, probably the reason of the #NAME? error you get
Could you clarify your version of Excel + if, in principle, the above proposal does what you expect?
- ydlazkovApr 14, 2023Copper ContributorHi L z,
Apologies for not mentioning the excel version.
Yes, it is MS 365. Excel version 2008 (Build 13127.21624))- LorenzoApr 14, 2023Silver Contributor
Hi ydlazkov
If you run 365 what I shared must work. Please download the sample I shared & check
- ydlazkovApr 16, 2023Copper Contributor
Hi L z,
First of all, I thank you for your patience and help.
I downloaded the file you shared and recreated it on my own actual file. Just a question though,...
What is the prefix "_xlfn." means? I think this is the keyword that's causing the syntax error.Regards,
ydlazkov