Trying to retain data in one part of my worksheet which comes from formula in another part

Murray Field

New Member
Joined
Jan 9, 2016
Messages
7
I have a worksheet setup to record household expenses and income (on a daily basis) and provide reporting at the same time. In part of the worksheet I record the daily expenses and income with totals at the bottom. I have very basic formula which adds up the daily amounts and gives a total for the month at the bottom. I then reference these cells in the part of the worksheet where I record the monthly totals. This works fine but when I come to the next month (which in my case will be February) I strike a problem. If I delete all the data for January with the idea of re-populating the worksheet with February's data then all the figures will disappear from the January month in the reporting section of the worksheet. The only way I can see around this, at the moment is to create another month section and reference those totals in the February section of the reporting part of the worksheet. You can imagine how big the worksheet would get if I had to do this for the whole 12 months of the year!

I have done the google thing and just gotten completely confused! I know what I am wanting to be done can be done but I don't have the knowledge, skill or time (for that matter) to do it without help.

Just in case any of you are wondering why don't I just get a personal accounting package off the web? Well, I have tried almost all of them and while some are very good I still keep coming back to Excel which I really love!!!

I have created a "view link" to my spreadsheet (I hope this works, this is the first time I've ever done this?) so you can see what I am trying to do (this may help in view of my above explanation may sound like rubbish) but I sure there is a way to do what I want it to do (cross fingers)...

https://onedrive.live.com/redir?page...GhB9O8gwm1Nxa8
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
This would be so much easier in what's conventionally known as a normalized database structure, like:


Excel 2010
ABCD
1DateAccountGroupAmount
21/9/2016SalaryIncome10000
31/14/2016TaxiExpense-20
42/22/2016HealthExpense-100
Sheet1


You can then present the data in the two dimensional format you currently have or any other way.
 
Last edited:
Upvote 0
This would be so much easier in what's conventionally known as a normalized database structure, like:

Excel 2010
ABCD
1DateAccountGroupAmount
21/9/2016SalaryIncome10000
31/14/2016TaxiExpense-20
42/22/2016HealthExpense-100

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1



You can then present the data in the two dimensional format you currently have or any other way.

Thank you for your response.

I will see what information I can find on "normalised database structure" as you suggest.

Murray
 
Upvote 0
Ok, and here's a longer example:


Excel 2010
ABCD
1DateAccountGroupAmount
21/9/2016SalaryIncome10000
31/14/2016TaxiExpense-20
42/22/2016HealthExpense-100
59/2/2016HealthExpense-949
63/10/2016VehiclesExpense-596
73/5/2016VacationExpense-989
82/29/2016ClothingExpense-864
92/27/2016WebsiteExpense-940
105/30/2016HealthExpense-1793
111/18/2016HealthExpense-1170
128/2/2016TaxiExpense-1576
139/22/2016SalaryIncome10000
146/10/2016VehiclesExpense-347
153/12/2016ClothingExpense-1207
164/11/2016ClothingExpense-993
179/7/2016WebsiteExpense-34
1812/21/2016SalaryIncome10000
192/5/2016VacationExpense-997
205/21/2016VacationExpense-235
218/24/2016HealthExpense-274
2212/29/2016SalaryIncome10000
234/4/2016TaxiExpense-916
247/22/2016SalaryIncome10000
255/4/2016SalaryIncome10000
Sheet1


Insert-Pivot Table-(drag Date into column label,Group and Account into row label, Amount into value labels, then right click on the first date, 1/9/2016, group, months, ok):


Excel 2010
ABCDEFGHIJKL
3Sum of AmountColumn Labels
4Row LabelsJanFebMarAprMayJunJulAugSepDecGrand Total
5Expense
6Clothing-864-1207-993-3064
7Health-1170-100-1793-274-949-4286
8Taxi-20-916-1576-2512
9Vacation-997-989-235-2221
10Vehicles-596-347-943
11Website-940-34-974
12Expense Total-1190-2901-2792-1909-2028-347-1850-983-14000
13Income
14Salary100001000010000100002000060000
15Income Total100001000010000100002000060000
16Grand Total8810-2901-2792-19097972-34710000-185090172000046000
Sheet2


(I also moved the subtotals to the bottom of each group through the subtotals section of the design menu)

There are drawbacks as well, such as having to set a custom sort order (Expense comes alphabetically before income and revenue), but you'll find this much more efficient overall. You can filter dates and other fields in place or to additional worksheets.
 
Last edited:
Upvote 0
Nice, and another word about the sorting, if you right click on Expense in the above example, sort, you can go Z-A to get income first, custom obviously isn't required for that.
 
Upvote 0
I've got the Pivot Table up and running. Now I need to be able to save the totals on a month by month basis and have the results appear in a cashflow type worksheet. I also need to add %s. I don't know if you have yet had a look at my original worksheet on onedrive but it you look at it you will see what I am trying to do.
 
Upvote 0
You can either create another pivot table filtering the desired date or group by month and year to compare sideways. For percentages, go to the pivot table tools options tab and choose from "show values as".
 
Upvote 0

Forum statistics

Threads
1,214,399
Messages
6,119,279
Members
448,884
Latest member
chuffman431a

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