Budgeting

thepartydj

Active Member
Joined
Sep 23, 2004
Messages
261
Office Version
  1. 365
Platform
  1. Windows
I am making a simple budget spreadsheet. I copied all my banking transactions to excel and have all the transactions dollar amounts in column D and in column E I put them in the categories. For example.

I would like a formula that will add up all the categories in the sheet. What is an easy way to do this?

-42.72groceries
-34.55groceries
-23.66groceries
-159.74miss
-178.91utlities
-20.72miss
-38.32miss
-1,203.12mortgage
-167.38restaurant
-78.41restaurant
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
put you categories into another list - then use a SUMIF()
Or a Pivot Table

cat-etaf.xlsx
ABCDEFGHIJK
1AmountCat
2-42.72groceriesCatergoryTotalRow LabelsSum of Amount
3-34.55groceriesgroceries-100.93groceries-100.93
4-23.66groceriesmiss-218.78miss-218.78
5-159.74missutlities-178.91mortgage-1203.12
6-178.91utlitiesmortgage-1203.12restaurant-245.79
7-20.72missrestaurant-245.79utlities-178.91
8-38.32missGrand Total-1947.53
9-1,203.12mortgage
10-167.38restaurant
11-78.41restaurant
12
Sheet1
Cell Formulas
RangeFormula
F3:F7F3=SUMIF(B:B,E3,A:A)
 
Upvote 0
another way
AmountCategoryCategoryTotal
-42.72groceriesgroceries-100.93
-34.55groceriesmiss-218.78
-23.66groceriesutlities-178.91
-159.74missmortgage-1203.12
-178.91utlitiesrestaurant-245.79
-20.72miss
-38.32miss
-1,203.12mortgage
-167.38restaurant
-78.41restaurant

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Group = Table.Group(Source, {"Category"}, {{"Total", each List.Sum([Amount]), type number}})
in
    Group
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top