I'm playing with XLOOKUP with wildcards (Match_Mode 2). I believe it used to be if you want it to return results where a item in that excel it was = =XLOOKUP(""&"Text"&"",A:A,B:B,0,2)
, if it was only before =XLOOKUP("Text"&"*",A:A,B:B,0,2)
.
I'm finding now you can't get just before nor just after and you don't need "*"&
just the star. =XLOOKUP("text*",A:A,B:B,0,2)
The last comment is shown in red in the image.
Please take a look at the image below and provide thoughts
Thanks, Brad
Thought this might help.
"Beyond*"
or"*Beyond*"
or"*Beyond"
as per your needs but if you are not then you will need to use in this way -->"*"&D1&"*"
or"*"&D1
orD1&"*"
as per your requirements. But what is your question, what are you trying to accomplish ? is it only the use of*
wildcard operator within quotes while using the word hardcoded? Also usingXLOOKUP()
will return only the first occurrence while for multiple records you will needFILTER()
function, I know you are aware of this still -->=FILTER(B4:B6,ISNUMBER(SEARCH(D1,A4:A6)))
=XLOOKUP(""&D1&"",A4:A6,B4:B6,,2)
it will return an#N/A
error. You will need the wildcard operator.=XLOOKUP(D1&"*",A4:A6,B4:B6,,2)
. May be i am not understanding your requirements clearly or i am missing something.*
or?
or~
*
does not italicize the text.