Question : How sum according to column value in Excel

We would like to total or summ a column based on the value on the other column (see file attached).  In the file we placed the data at top and how we want the result at the bottom.

What function or instruction can we do to do this?
Attachments:

Answer : How sum according to column value in Excel

for e.g.

in your C18 cell put this formula

=SUMIF(B5:B11,B18,G5:G11)

Random Solutions  
 
programming4us programming4us