Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

How to use SUMIF to add values by unique Reference ID?

$
0
0

I am trying to write a formula that adds cell values by matching the reference ID in a separate column. For example, cells G2 and G3 have the same ID, so the amounts in cell H2 and H3 would be added together, and that total, $21.12, would appear in both I2 and I3.

enter image description here

I've been trying to use SUMIF for this, but have only been successful when specifying the exact reference ID in the formula. I need the formula to automatically match based on any Reference ID. Is there any way to use a SUMIF (or another function altogether) to match strings to calculate values?


Viewing all articles
Browse latest Browse all 9786

Trending Articles



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