In google sheets I need to create a formula, that will calculate the sum based on the selection from the multiple selection drop down list.
Lets assume that we have sheets "names" and "values" in Sheet "names" we have column A with multiple selection dropdown lists A a,b a,b,c a,c b,c
On sheet "values" I have that a=1, b=2, c=10 ... So in sheet "names" I need to create column B, that will automatically calculate the sum of selected in column A letters.
A. B
a,b. 1+2=2
a,b,c. 1+2+10=13
a,c. 1+10=11
b,c. 2+10=12
etc
And drag it down. This assumes that all values in
Aare separated by "," and no other characters and also assumes0if letter is not found. Result:Or
To spill result at once.