"Best" way is hard to know. Neglecting the basic formula method, such as =B2+B7+B8+B15 (or whatever). Some ways - pivot table, SUMIF formula, auto subtotals (after sorting on column A), parameterised query table. Without know too much about your situation, a pivot table is likely to be very suitable.
HTH
Fazza