Need helping summing with vlookup or index/match.
I am trying to add values that come up multiple times in the same column. Column A are the numbers that come up multiple times, and each has a value to the right of it in Column B. The bottom example is what I am trying to do. I just need a formula that sums up the numbers in Column B based off of Column A. To reiterate, I am trying to obtain a formula for Column D. An example is the number 3 in Column A appears 2 times, and has values to the right of it of 7 and 2. So the formula I would need would give me 9, as found in Column D.
I am trying to add values that come up multiple times in the same column. Column A are the numbers that come up multiple times, and each has a value to the right of it in Column B. The bottom example is what I am trying to do. I just need a formula that sums up the numbers in Column B based off of Column A. To reiterate, I am trying to obtain a formula for Column D. An example is the number 3 in Column A appears 2 times, and has values to the right of it of 7 and 2. So the formula I would need would give me 9, as found in Column D.
Column A | Column B |
1 | 5 |
3 | 7 |
3 | 2 |
4 | 5 |
5 | 3 |
4 | 7 |
7 | 8 |
Column C | Column D |
1 | 5 |
3 | 9 |
4 | 12 |
5 | 3 |
7 | 8 |