I am trying to achieve the following and wondered if it is possible.
I have a spreadsheet that contains monthly data on different worksheets with the worksheet name as the monthname "Jan", "Feb", "Mar" etc. Each of these worksheets has the same structure but different number of rows due to number of days in the month.
What I would like to be able to do is use a helper cell to input the monthname which would be used in an offset formula in a named range to determine what worksheet to look at. This named range would then be used in charts. This would allow the charts to update automatically on a month by month basis.
For example:
=OFFSET(Jan!$A$1,0,0,COUNTA(Jan!$A$A),1)
=OFFSET(Feb!$A$1,0,0,COUNTA(Feb!$A$A),1)
=OFFSET(Mar!$A$1,0,0,COUNTA(Mar!$A$A),1)
The worksheet in the formula would change dependant on the value in the helper cell.
Other than creating multiple named ranges and changing the range in charts each month, I see no other solution outside of using VBA.
I have a spreadsheet that contains monthly data on different worksheets with the worksheet name as the monthname "Jan", "Feb", "Mar" etc. Each of these worksheets has the same structure but different number of rows due to number of days in the month.
What I would like to be able to do is use a helper cell to input the monthname which would be used in an offset formula in a named range to determine what worksheet to look at. This named range would then be used in charts. This would allow the charts to update automatically on a month by month basis.
For example:
=OFFSET(Jan!$A$1,0,0,COUNTA(Jan!$A$A),1)
=OFFSET(Feb!$A$1,0,0,COUNTA(Feb!$A$A),1)
=OFFSET(Mar!$A$1,0,0,COUNTA(Mar!$A$A),1)
The worksheet in the formula would change dependant on the value in the helper cell.
Other than creating multiple named ranges and changing the range in charts each month, I see no other solution outside of using VBA.