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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
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,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

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