If Substring from a List contains Subtring, return that item from the list

donkey shrek

New Member
Joined
Nov 15, 2022
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I have a column containing broken/good domains
1675934110475.png



I want to compare it to a list containing all the correct domains, and return those from this list that partial matches with [Email Domain]
1675934402426.png
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I'm not sure if that can be done, with as exact as Power Query feels the need to be. Someone might have a better solution to match exactly the how you are looking to achieve this.

But as a meantime, the route I would take is to use a Translation and Fallout approach. Create a table of all of the domains you have entries (broken and clean) for in one column and the clean translations that you will want to change them to. Add that table to your Query Editor. Then create a Fallout query that shows if not on the Translation table but in the data table then fallout. Those would be the ones that you would need to add to the translation table.

I hope this makes sense.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,117
Members
453,021
Latest member
Justyna P

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