I have a graph on Sheet1 and the data this graph is using is on Sheet2. ‘Regular’, simple data: let’s say row 1 has months, column A has peoples’ names, starting from cell B2 there are numbers going down and to the right. Basic data.
I would like to set it up the way so if the data on Sheet2 changes, the graph on Sheet1 displays the current data from Sheet2.
What I mean by: “the data on Sheet2 changes” is, I may have Months in row 1 as Jan, Feb, Mar and I change it to Jan, Feb, Mar, Apr, May . And if peoples’ names change from Andy, Tom, Susie, to Barb, Gary – the graph will display the changes without modifying the settings of the graph.
[pre]
Jan Feb Mar
Andy 12 23 34
Tom 76 65 54
Susie 34 45 32
Jan Feb Mar Apr May
Barb 12 23 34 43 32
Gary 76 65 54 45 34
[/pre]
I did try to set my data as a Table in Excel (click in the data, Insert – Table - OK), but then – how do you replace the data with the new data without wiping out the table? And how do you set the graph to read the data from the Table, and not from Sheet2.Range(“A14”)?
I’ve seen some YouTube videos about dynamic charts in Excel, but they only show how to do it when the data ‘grows’ down. No info about the changes to the data I desire.
I will be populating the data from the data base, and I know how to do it in code.
---- Andy
There is a great need for a sarcasm font.
I would like to set it up the way so if the data on Sheet2 changes, the graph on Sheet1 displays the current data from Sheet2.
What I mean by: “the data on Sheet2 changes” is, I may have Months in row 1 as Jan, Feb, Mar and I change it to Jan, Feb, Mar, Apr, May . And if peoples’ names change from Andy, Tom, Susie, to Barb, Gary – the graph will display the changes without modifying the settings of the graph.
[pre]
Jan Feb Mar
Andy 12 23 34
Tom 76 65 54
Susie 34 45 32
Jan Feb Mar Apr May
Barb 12 23 34 43 32
Gary 76 65 54 45 34
[/pre]
I did try to set my data as a Table in Excel (click in the data, Insert – Table - OK), but then – how do you replace the data with the new data without wiping out the table? And how do you set the graph to read the data from the Table, and not from Sheet2.Range(“A14”)?
I’ve seen some YouTube videos about dynamic charts in Excel, but they only show how to do it when the data ‘grows’ down. No info about the changes to the data I desire.
I will be populating the data from the data base, and I know how to do it in code.
---- Andy
There is a great need for a sarcasm font.