Dynamic graph showing last x months of financial data

bujaman

Board Regular
Joined
Apr 2, 2009
Messages
56
I have a spreadsheet that tracks my small business income and expenses. I have programmed a dynamic graph that charts this information, but I would like to make it more useful by being able to define the amount of months shown by changing the value in D8. Is this possible?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
So, you have already a function like OFFSET I presume? (since you are talking about a dynamic chart)
 
Upvote 0
Yeah, i am already using offset. Here is what I have so far for named ranges with the offset command:
Code:
=OFFSET(Income!$A$2,,,COUNT(Income!$A$2:$A$200)) - Dates
=OFFSET(Expenses!$E$2,,,COUNT(Expenses!$E$2:$E$200)) - Expenses
=OFFSET(Income!$E$2,,,COUNT(Income!$E$2:$E$200)) - Income
 
Upvote 0
Jon,
Thanks for the reply. I have seen that tutorial and I have gotten it to work, but the problem is is that my data is structured differently. I don't have costs or expenses totaled for each month, but as I spend money on an item, I enter it into the spreadsheet, so some months there are 20 entries, and others there are 5, it just depends.
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,214
Members
448,874
Latest member
b1step2far

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