Caleeco
Well-known Member
- Joined
- Jan 9, 2016
- Messages
- 980
- Office Version
- 2010
- Platform
- Windows
Hello,
I'm struggling with an Excel chart problem, which Im hoping the community can help me solve!
I have a chart which I wish to make dynamic eg. if the current month is November, the chart axis should display data for Sept, Oct, Nov, Dec, Jan (2 months before & 2 months ahead).
I have the following formula to work out which month we are in, and what the matching date should be:
However, How can I get the chart to use the formula to pick out the correct range from cells B3:B26?
Trying a few things with names ranges, and the OFFSET function.. but not luck yet!
Any help is appreciated (sorry I cannot currently post/upload a picture of my current worksheet)
Thanks
Caleeco
I'm struggling with an Excel chart problem, which Im hoping the community can help me solve!
I have a chart which I wish to make dynamic eg. if the current month is November, the chart axis should display data for Sept, Oct, Nov, Dec, Jan (2 months before & 2 months ahead).
- The Data is on sheet called "Summary Sheet"
- Cells B3:B26 contain dates, 01/01/2016, 01/02/2016, 01/03/2016.... all the way to 01/12/2017
I have the following formula to work out which month we are in, and what the matching date should be:
Code:
=DATE(YEAR(TODAY()),MONTH(TODAY()), 1)
However, How can I get the chart to use the formula to pick out the correct range from cells B3:B26?
Trying a few things with names ranges, and the OFFSET function.. but not luck yet!
Any help is appreciated (sorry I cannot currently post/upload a picture of my current worksheet)
Thanks
Caleeco