I am already working on this for quite a few hours. Since I assume it to be a standard use case, I would like to ask for the help of the forum to give me a hint…
I have a list of “allowed values” in a given range on my worksheet.
I would like to use the Data Validation function to guarantee, that a certain cell contains a comma-separated list containing only values from this list.
In an example:
Cells with allowed values contain: “Val1”, “Val2”, “Val3”, … (each value in a separate cell, let’s say A1:A3).
The data validation should allow the value “Val1; Val3” but not “Val2; Val4; Val3”.
I already did some macro writing (using the Split+Trim function), but wasn’t successful in the end. Furthermore, it seems a bit of an “overkill” in my eyes… Isn’t there an easier way to realize this that does not require the use of macros?
Many thanks and best regards,
Dominik
Bookmarks