ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Automatically Update Chart (https://www.excelbanter.com/charts-charting-excel/266311-automatically-update-chart.html)

sirexcel7

Automatically Update Chart
 
I am trying to create a chart that will automatically update as new data is added.

My spreadsheet is laid out like below

Column A // Column B // Column C // Column D // Column E
Row 43 Cost Data // 2/14/2010 // 2/28/2010 // 3/14/2010 // 3/18/2010
Row 44 GS // 1.00 // 1.25
Row 45 SW // 1.15 // 1.20
Row 46 SE // 1.10 // 1.21

// indicates seperate columns

I am trying to create a dynamic name range that I can use for the chart that will update the X and Y Values as new rows are filled in.

Here is what I have done so far.

XValues =OFFSET('CostData.xls'!YValues,-1,-1)
YValues =OFFSET('CostData'!$A$43,0,0,COUNTA('CostData'!$A: $A),COUNTA('CostData'!$1:$1))

I can not seem to get the name ranges setup correctly.


All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com