PivotTable is the best global answer, especially if you're building a full chart of all categories anyway, you get the work done all at once.

If you only want a couple of answers, then perhaps a SUMIF() will suffice:

=SUMIF(A:A,"Fuel",C:C)