Hi,
In the first green cell on Sheet1 (E17), enter this formula:
Formula:
=SUMIF($B$5:$B$14,$C17,$E$5:$E$14)
Then fill this formula down as far as you need to.
If you are using a version of Excel prior to 2007 (which I assume you aren't, as your workbook is in the .xlsx format introduced in Excel 2007), then you will need to use the following array formula instead, as SUMIF isn't recognised:
Formula:
=SUM(IF($B$5:$B$14=$C17,$E$5:$E$14))
NB: array formulas are entered using Ctrl + Shift + Enter, not just Enter.
I hope this helps
Bookmarks