A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
If the countries are the same row for row in each table, you could simply use =SUM(F2:F9), =SUM(F10:F12) etc.
If they are not in the same order, you could use
=SUMPRODUCT($F$3:$F$200*ISNUMBER(MATCH($E$3:$E$200,B3:B9,0)))
in C3,
=SUMPRODUCT($F$3:$F$20*ISNUMBER(MATCH($E$3:$E$20,B10:B12,0)))
in C10 etc.