Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SUM row with multiple VLOOKUP

hope you can help me out!

I have a first sheet with the following information:

a 3
b 3
c 4
d 10

Then I have another sheet with the following information:

John a a c d
Joe  b d d c

I would like to display a sum of the values in front of those rows, considering the first sheet values. So it would display:

John a a c d 20
Joe  b d d c 27

Don't know how to do this exactly. would love your help. Thanks so much!

like image 757
Diogo Pinto Avatar asked Mar 04 '26 22:03

Diogo Pinto


1 Answers

Try this array formula,

=SUM(SUMIFS(B$2:B$5, A$2:A$5, E2:H2))

Enter it with ctrl+shift+enter, not just enter.

enter image description here


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!