Google Docs: Summing Currency Values by Name

I have a spreadsheet where cells E3:G100 contain currency names. A lookup table in A2:A17 (with values in B2:B17) maps each name. How can I sum these values?

I encountered a similar situation recently and found that using the SUMIF function in combination with a lookup can simplify the process. I set up a helper column that retrieves the numeric values from the lookup table with a VLOOKUP. Although I initially tried to create a directly nested formula, breaking down the problem helped me debug the issue. Once I ensured that all cell formats and text align exactly between the column and lookup table, the solution became robust and reliable for summing the values.