Hello everybody,
I ran into a problem where I'm unfortunately currently stuck. Maybe the community can help me here. I would like to create a matching over several lines with the contains function. For example:
Input:
| Fruits | total | text |
| Apple | 5 | Apples tastes great with pears |
| pear | 1 | Pears tastes great with apples |
| strawberry | 7 | Strawberrys tastes great with cherrys |
| orange | 3 | Oranges tastes great with limes |
| cherry | 6 | Cherrys tastes great with strawberrys |
| lime | 6 | Limes tastes great with oranges |
Output:
| Fruits | total | text | fruits Match | total |
| Apple | 5 | Apples tastes great with pears | pear | 1 |
| pear | 1 | Pears tastes great with apples | Apple | 5 |
| strawberry | 7 | Strawberrys tastes great with cherrys | cherry | 6 |
| orange | 3 | Oranges tastes great with limes | lime | 6 |
| cherry | 6 | Cherrys tastes great with strawberrys | strawberry | 7 |
| lime | 6 | Limes tastes great with oranges | orange | 3 |
Thanks,
Michael