Hello,
First just wanted to apologize if below formatting is bad. I'm new here and not quite sure how to format tables yet!
Anyways!
I am currently trying to use a formula which checks for a list of names, and if the name is in the list, then to sum that value. For example on a separate sheet I have a list similarly as below.
x1 x2 x3
1A 5A 62B
2A 6A 97A
3A 13B 99A
4A 14B 98A
9B 21C 107B
10B 22C 106B
11B 26A 113C
12B 25A 115C
17C 33B 114C
18C 34B 102A
19C 41C 103A
20C 42C 110B
7A 30A 111B
8A 38B 118C
15B 40B 130B
On another sheet I have a ton of different combinations of these numbers and letters. Next to these numbers and letters is a value. I need to sum all the values that match my list in x1.
Currently I am using a formula such as this.
=SUM(SUMIF(A157:A329,{"1A";"2A";"3A";"4A";"9B";"10B";"11B";"12B";"17C";"18C";"19C";"20C";"7A";"8A";"15B"},B157:B329))
The issue is this requires me to go into each different equation I have and manually add the additional number/value every time I add something to the above x1,x2,x3 lists. Is there a way to dynamically do these sums so that it will check the column, and if a number/letter is added to the column it will also add that one?
Thanks for any help!
Bookmarks