I've posted an example image showing what I want to achieve. I want to match partial values from row D in row A. When there is a match it should return the value from D. I have words that can have multiple partial matches (for example 'summer dress' and 'dress' are both partial match for 'XXL Summer dress') I thought I'd order row D from most characters to least to get the best match.
Normally I'd use multiple IF functions, but in my file column A contains 30.000 values and I have 300 values in row D, which makes the formula too big I guess.
Is it possible to get the results as shown in the image for these amounts of values?
I've tried VLOOKUP / INDEX & MATCH and some macros, but none seem to return the value I want.
