Forum Discussion
JaseBass
May 05, 2021Copper Contributor
Double Xlookup with Wildcards
Hi, I am having trouble with adding a wildcard to my Xlookup formula. When it is using the exact text "Deliver" or a cell reference it works fine but as soon as I try to add a * wildcard before or ...
- May 05, 2021
You should specify the desired results.
=XLOOKUP(1,(Dates>=$E$1)*ISNUMBER(SEARCH($G$1,C4:Q4)),Dates,"no match",0,-1)
JaseBass
May 05, 2021Copper Contributor
Your solution helped with the wildcard after "Deliver" but nothing for before. It also returns a combined total if more than one instance is observed. I will see if I can tweak it.
Detlef_Lewin
May 05, 2021Silver Contributor
You should specify the desired results.
=XLOOKUP(1,(Dates>=$E$1)*ISNUMBER(SEARCH($G$1,C4:Q4)),Dates,"no match",0,-1)
- JaseBassMay 05, 2021Copper ContributorHi Detlef, with a couple of tweaks I managed to get your solution to work exactly how we need it to. Many thanks.