Solved

Dynamic Chart Source Data

Posted on 2013-01-04
3
377 Views
Last Modified: 2013-01-04
Hello,

I am pretty close, but I have something messed up in my name range, so my chart is wrong. My Data is listed in a worksheet, while my chart will be part of a mini dashboard on another worksheet. The top chart (chart!) is my attempt to create a dynamic source for the chart. The bottom chart is a simple example of what I am trying to do.

my name range:

=OFFSET(Data!$F$2,0,0,COUNTA(Data!$F:$F)+1,COUNTA(Data!$2:$2)+1)

Then I set my chart data source to:

=data!ChartTest

But, I am still getting the formulas listed in my chart.

I am not certain if I need to create an offset for each series (test score, average), then assign each series as the chart source data. In my reading, I have seen it both ways. The examples are always a bit different, so hard to know exactly what fits.

**After more reading, I think I might need to set up a name range for the data labels and each series (score and average). I can see my formula above is looking for both  the column and the rows, but I found many more examples on how to do it separately. Ideally, I would like to learn how to combine the function, so I can be more versatile in my approach. I totally get what I am trying to do,  but just missing something to make it click.

Thanks,
Brent
EE-dyanmic-chart-range.xlsm
0
Comment
Question by:bvanscoy678
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 38744405
You do need to set up a named range for each series.
0
 

Author Comment

by:bvanscoy678
ID: 38745008
Okay, I'll give that a try. Thanks
0
 

Author Comment

by:bvanscoy678
ID: 38745402
I think I have it figured  out with some help from chandoo.org

X Axis      =OFFSET(Data!$F$3,,,COUNT(Data!$F:$F))
Score      =OFFSET(Data!$G$3,,,ROWS(X_axis))
Average      =OFFSET(Data!$H$3,,,ROWS(X_axis))

The name range is created for the labels in the X-Axis. Then my Score and Average series counts the rows in my X_Axis range with values.  My biggest confusion had to do with fact I did not comprehend that each column needed a name range. I thought I only needed to create one name range that would dynamically expand for the columns and the rows. I kept reading the syntax for offset and countA with the confusion of the parameters of height and width just messed me up.

thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question