Here is a sample image if the setup:
https://i.imgur.com/m6NDab9_d.webp?maxwidth=760&fidelity=grand
I have a known list of items (name1, name2…) that each have a, b, c, d, e values. Then I have a list of items that has name1 and name2. This list is added manually and could be 2 names, 1 name or 50 names. List is B14:B15 but is actually like B1:B120…
I want now the sum of the a, b, c, d and e values of the listed items (name1 and name2) in that last “totals” cells. So now it would be:
a 5+2=7
b 50
c 12
d 8
e 11
Naturally the file has hundreds of names and multiple as and bs and cs so I need a smarter way to count the sum than just typing out the hundreds of vlookups as in vlookup(B14;…)+vlookup(B15…)+…
here is a sample file:
sums.ods (11.9 KB)
new sample file with dirty doubles:
sums.ods (38.5 KB)
issue I found:
sums.ods (38.5 KB)