I've got a problem I'm trying to work out in excel, and I've only been able to find the solution to the opposite problem.
I've got a list of data in a form similar to the following:
A  | 10
B  | 15
C  | 12
D  | 17
And I want to be able to make a string of any of those strings once and get the sum. The results table would look something like this:
A         |   10
A, B      |   25
A, C      |   22
A, C, D   |   39
In all I've been able to find, I haven't been able to find a way to check if a string contains other strings as substrings, then adds an associated value to a total if that is true.
