Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Creating a total score for values in a concatenated and comma separated list

$
0
0

 

My data source is in Excel and it contains responses to a list of questions, many of which involve selecting multiple values from a list of values.  In the Excel output, these multiple responses are recorded in a single cell as a concatenated, comma separated list.  Each value has a weighted score and I need to calculate the total score for all the selected responses, ideally by looking up the score from a table.  See example below:

 

Desired result = Total score column shown in first table.  The lookup table for the scores for each 'fruit value' is set out below that.  Is there any way to do this in a fairly easy way?

 

FruitTotal score
Apple, Lemon, Pear, Orange21
Lemon, Pear6
Apple10
Orange5

 

Lookup tableScore
Apple10
Lemon4
Pear2
Orange5

Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>