looking for a Power Querry version of this Wild card formula used in Excel.

acorleto

New Member
Joined
Aug 12, 2021
Messages
1
Office Version
  1. 365
IFERROR(VLOOKUP("*"&A7&"*",'[PIP Connection_.xlsb]Comments for Crew check'!$B:$C,2,0),"No")
(A7 is n order) looking for a match inside a group of comments)
works in Excel but not so much in P.Q Help much appreciated. Thank you
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
In PQ you do not use lookup formulae, but you resort to a merge query with any of the available join types. Fuzzy match is an option you can flag, however it is recommended since it is costly on the performance site.
Also .XLSB is not the preferred Excel extension for PQ. It is slow, slower, slowest.
In PQ the preferred option would be to split the comment in words. Ths would give a list. Then use a List.Intersect(ListFromText,ListOfOrders) to find the orders inside the text. Then expand this last list.
Depending on the pattern, one would need to clean up the listFromText first. Removing uppercase or not; removing punctuations, etc.
 
Upvote 0

Forum statistics

Threads
1,223,702
Messages
6,173,961
Members
452,539
Latest member
delvey

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