Hi Team,
Need some help / assistance.
To date, i have extracted all the email domains in our db against a given company and created a unique output (As shown below)
Example
| Id | Company Name | Email Domain | Total Count Record | Records assigned | % |
| 1111 | Mason Ltd | MASON.COM | 19 | 16 | 84 |
| 1111 | Mason Ltd | HOTMAIL.COM | 19 | 2 | 11 |
| 1111 | Mason Ltd | MASONLTD.COM | 19 | 1 | 5 |
| 222 | Alteryx | Alteryx.com | 100 | 98 | 98 |
| 222 | Alteryx | Atkeryx.com | 100 | 2 | 2 |
For a next step, i would like to compare Company Name against Email Domain , to determine if the email domain contains the name of the company
Expected out come
| Id | Company Name | Email Domain | Total Count Record | Records assigned | % | Match |
| 1111 | Mason Ltd | MASON.COM | 19 | 16 | 84 | yes |
| 1111 | Mason Ltd | HOTMAIL.COM | 19 | 2 | 11 | No |
| 1111 | Mason Ltd | MASONLTD.COM | 19 | 1 | 5 | yes |
| 222 | Alteryx | Alteryx.com | 100 | 98 | 98 | yes |
| 222 | Alteryx | Atkeryx.com | 100 | 2 | 2 | No |
I tired doing contains if statement, however it wasnt returning any values, and not sure if a fuzzy match, would provide a good outcome ?
Looking forward to your suggestions