You can use several SUMIF () functions to place these amounts anywhere in the table. Assuming column A is a TimeStamp, column B is a category and column C is a cost:
Shopping -> =SUMIF(B:B, "Shopping", C:C)
Charity -> =SUMIF(B:B, "Charity", C:C)
Dining -> =SUMIF(B:B, "Dining", C:C)
Mortgage -> =SUMIF(B:B, "Mortgage", C:C)