Hi All,
Nearing the end of my journey to create a Graph that updates itself based on if data exists.
Background:
I have 2 rows of finance over time. However only some of those cells have data.
I have successfully used index and address functions to work out the address of where data starts and ends.
For reference:
=CELL("address",INDEX(CT29:IQ29,MATCH(TRUE,CT29:IQ29<>0,0)))
=CELL("ADDRESS",INDEX(CT29:IQ29,MATCH(MAX(CT29:IQ29),CT29:IQ29,0)))
This practically yields me:
[TABLE="width: 253"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD] Start [/TD]
[TD] End [/TD]
[/TR]
[TR]
[TD] $DC$29 [/TD]
[TD] $DG$29
[/TD]
[/TR]
</tbody>[/TABLE]
Now I am trying to create a line graph that will plot the results of DC29:DG29.
Note that I cannot simply reference the cells directly as my results will update on a weekly basis, hence the desire to have the graph automatically update its data / timescale based on these fields.
I have tried using the indirect formula to set a range, however this does not work. Anyone have any non-VBA workarounds?
Nearing the end of my journey to create a Graph that updates itself based on if data exists.
Background:
I have 2 rows of finance over time. However only some of those cells have data.
I have successfully used index and address functions to work out the address of where data starts and ends.
For reference:
=CELL("address",INDEX(CT29:IQ29,MATCH(TRUE,CT29:IQ29<>0,0)))
=CELL("ADDRESS",INDEX(CT29:IQ29,MATCH(MAX(CT29:IQ29),CT29:IQ29,0)))
This practically yields me:
[TABLE="width: 253"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD] Start [/TD]
[TD] End [/TD]
[/TR]
[TR]
[TD] $DC$29 [/TD]
[TD] $DG$29
[/TD]
[/TR]
</tbody>[/TABLE]
Now I am trying to create a line graph that will plot the results of DC29:DG29.
Note that I cannot simply reference the cells directly as my results will update on a weekly basis, hence the desire to have the graph automatically update its data / timescale based on these fields.
I have tried using the indirect formula to set a range, however this does not work. Anyone have any non-VBA workarounds?