Forum Discussion
Kristin2185
Dec 08, 2022Copper Contributor
XLOOKUP partial match text
Hi, I'm having an issue with partial matching text in the lookup cell of my X lookup function. Formula: =XLOOKUP("*"&A2&"*";$I$6:$I$13;$J$6:$J$13;"not found";2) A2 = app:android:sv:cod...
- Dec 08, 2022
Hi Kristin2185
Slightly different approach that should work if your Source strings are as consistant as those you shared where there's a semi-column following the keywords you want to match
in C2:
=FILTER(TBL_Lookup[Mapping], ISNUMBER(SEARCH(TBL_Lookup[Keyword],A2)), "No match")
farukyazar
May 12, 2024Copper Contributor
Hi,
What do the rightmost 2 and -2 do in the XLOOKUP formula?
=XLOOKUP(A6,A2:A3,B2:I3,"--",1,-2)
What do the rightmost 2 and -2 do in the XLOOKUP formula?
=XLOOKUP(A6,A2:A3,B2:I3,"--",1,-2)
Lorenzo
May 13, 2024Silver Contributor
Hi farukyazar
Take a look at the https://support.microsoft.com/en-us/office/xlookup-function-b7fd680e-6d10-43e6-84f9-88eae8bf5929. where the 6th and last (optional) argument is search_mode
- farukyazarMay 13, 2024Copper ContributorL.z. I couldn't find the answer in this link for =XLOOKUP(A6,A2:A3,B2:I3,"--",1,-2)