Okay, so here is what I managed to create:
In your case, you cannot use VLOOKUP for searching combinations of certain values (for example "d" as a color index), because it is a part of a larger text in a cell. VLOOKUP can't find exact text in bigger text string.
Solution? You have to extract text that you are interested in to another, sigle cells. For that, you have to use function for text extracion - MID:
You start in the SEARCH sheet. The problem is, the position of text we want to extract is variant, so we have to make formula more inteligent, using functions like FIND, LEN and SUBSTITUTE.
First I had to replace some of "," signs in your entered text with some unique symbols. For that, I used SUBSTITUTE function to replace "," in the middle of text to "*" and "&" symbols in the column C ("Helper"). Why I did that?
The explanation is the next step. For example colour symbol - it helps a lot, that your text has some pattern: before that information, there is always text "Colour". That gives me a start point to use in FIND function.
But to find the end of a text I want to extract, symbols "," wouldn't be enough - there is too much of them. That is why I replaced some of them in a first place.
Thanks to that, FIND function doesn't have a problem with finding it. So I extracted needed informations into single cells in colums D:G (Carats wasn't necessary).
Final step - after an extraction of every information I need, I concantenated them into single string in column H and then used VLOOKUP in SEARCH sheet to look for values in MATCH sheet using combinations from COMBINATIONS sheet (I created that combination in colums REF_COMBINED).
Hope, that solution Workbook will clarify what I said and hope that is what you needed
You can also build whole formula in just one column, but displaying it in separate colums is more practical IMO, because you can use it later for another searches. In single column it would look like that:
Bookmarks