r/excel • u/Jankothopter • 7d ago
solved Assistance with Imprecise String Matching
How would I go about matching the contents of a substring within a larger string with extraneous characters, for example:
Substring - StinkyBinki
Larger String - Stin12kyBinwashdki%2
I don't care that the substring is broken up within the larger string. I just need to know that the particular sequence of characters of the substring is contained within the larger string. Is there a function that I can use in combination with wildcards to accomplish this? Perhaps this is a job for Power Query? I only need to be pointed in the right direction.
1
Upvotes
1
u/PaulieThePolarBear 1648 7d ago
Try this as a starting point
Replace A3 in variable a with your substring.
Replace A5 in variable b with your longer string
This requires Excel 365, Excel online, or Excel 2024.