Peltier Tech Blog

Excel Chart Add-Ins | Training | Charts and Tutorials | Peltier Tech Blog

 

Main menu:

Peltier Tech Chart Utilities for Excel Peltier Tech Panel Chart Utility Peltier Tech Waterfall Chart Utility Peltier Tech Cluster-Stack Chart Utility Peltier Tech Box and Whisker Chart Utility Peltier Tech Marimekko Chart Utility Peltier Tech Dot Plot Utility Peltier Tech Cascade Chart Utility

 
Excel Dashboards
 

 
Amazon Books
 

Subscribe

Site search

Subscribe

Site search


Recent Posts

Popular Posts

Privacy and License

Privacy Policy

Creative Commons License
Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Excel Dashboard Training

 
by Jon Peltier
Thursday, April 15th, 2010
Peltier Technical Services, Inc., Copyright © 2012.
Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Excel Charting and Dashboarding

Westborough MA, June 2

Excel Charting and Dashboarding

Jon Peltier (Peltier Technical Services) and Alex Kerin (Data Driven Consulting) have put together an intensive one-day Excel Charting and Dashboarding session. Topics include:

  • Intentions and approaches
  • Data quality
  • Effective graphic techniques
  • Designing a dashboard
  • Combination charts
  • Dynamic and interactive charts
  • Advanced chart formatting
  • Charting and dashboard tools for Excel

If you have any questions, contact Jon Peltier.

Related Posts:

Learn how to create Excel dashboards.

Comments


Comment from XL-Dennis
Time: Tuesday, April 20, 2010, 1:07 pm

Jon,

I noticed You have the topic “Data quality” which I think is very good. Just to satisfy my curiosity about it; could You have the kindess to elaborate it?

Thanks,
Dennis


Comment from Jon Peltier
Time: Tuesday, April 20, 2010, 1:41 pm

There are a few different aspects to data quality.

Partly it’s knowing where the data came from, how it was collected, whether it has been changed since it was collected, has it been filtered. What is the natural variability in such measurements. What kind of variation is appropriate for the system being measured.

Partly it’s having a sense for what the data should look like. Is the data believable, is it within the range you would expect. Does it vary as expected with other factors. Does it make sense.


Comment from CKZ
Time: Tuesday, April 27, 2010, 10:37 am

Hi Jon,

I read the following article – very informative, thank you.
Link Chart Axis Scale Parameters to Values in Cells.

Read more: http://peltiertech.com/Excel/Charts/AxisScaleLinkToSheet.html#ixzz0mJajIXkT

You say that excel automatically updates the scale based on what it thinks the scale should be. I am working in a pretty involved worksheet that pulls data to specific worksheets that would result in new graphs. The scales are not updating when new data replaces the old data. The code creates to graphs – a preview graph which is a graph on the same page as the data and a chart object as the presentation graph. It is the chart object that is not updating. The chart within the same page as the data works fine.

Any suggestions on how to reset the scale so it can automate on its own?

In the future I will attempt to link and do as you described above, but for now, I just want it to update.

thank you,
cassie


Comment from Jon Peltier
Time: Tuesday, April 27, 2010, 10:02 pm

Cassie -

Does the normal Excel update of the axis scales not work, or does the code-driven update of the scales not work?


Comment from CKZ
Time: Wednesday, April 28, 2010, 9:25 am

The normal Excel update of the axis scales does not work, so I tried to make it code-driven for the scales to work.

The code I inserted is as follows:

With ActiveChart.Axes(xlValue, xlSecondary)
.MinimumScale = 0
.MaximumScaleIsAuto = True
.MinorUnitIsAuto = True
.MajorUnitIsAuto = True
.Crosses = xlAutomatic
.ReversePlotOrder = False
.ScaleType = xlLinear
.DisplayUnit = xlNone
End With

Is this correct?


Comment from Jon Peltier
Time: Wednesday, April 28, 2010, 11:51 am

Cassie -

This code will change the secondary Y axis. Does the code actually run? How are you triggering it?


Comment from Martín
Time: Wednesday, April 28, 2010, 1:00 pm

Jon,

I was really interested in participate on the training, however costs do not allow me to do so (travel from Argentina to US). would there be a remote training chance?

Rgds.


Comment from CKZ
Time: Wednesday, April 28, 2010, 2:30 pm

A button triggers it.

The button takes data from one spreadsheet and puts it into a second spreadsheet. The code moves the data and formats the graph to be the correct colors based on the data that was put into the spreadsheet.

That code I showed you earlier was labeled as “scale” so I thought that it was updating.

Obviously I am an amateur that just fumbles in VBA with trial and error.

The data that can be called into this one spreadsheet can have a wide variety of scales.

Is there code I can add to make sure it updates the Chart Object? Why would the chart object and the chart within the spreadsheet act differently? The code I showed you earlier is not used for the graph within the spreadsheet.


Comment from CKZ
Time: Wednesday, April 28, 2010, 2:33 pm

One more thing to add – the ultimate goal would be to tell the chart to always have five gridlines, but adjust scale accordingly when the data changes.


Comment from Jon Peltier
Time: Wednesday, April 28, 2010, 6:58 pm

Hi Martín -

There will be no online versions now. I am working into this possibility for future training.


Comment from CKZ
Time: Thursday, April 29, 2010, 11:08 am

Jon,

I decided to give your code a try to tell the program to scale the y axis only based on two cell references.

This is the code:
With ActiveChart.Axes(xlValue)
.MaximumScale = Worksheets(“Preview”).Range(“$L$4″).Value
.MajorUnit = Worksheets(“Preview”).Range(“$L$5″).Value
End With
(It Works Great!- Thank you)

My goal is to always have 5 gridlines. My challenge is that the data is always a different scale in size, for example, sometimes the data will be in 100,000s other times it is in the millions.

So, in my Maximum Scale Reference, I created a formula –
$L$4 = CEILING((MAX(D29:L40)),25000)
D29:L40 – the cell reference range
25,000 – is an arbitrary number I chose for the significance

The Major Unit Reference Cell formula for $L$5 = $L$4/5

Now my question – do you know of any better formula within excel to look at the range of data and give a nice rounded number? Having 25000 as my significance for the Ceiling formula isn’t the solution because the significance can change as the data changes to thousands, hundreds of thousands, and millions.

I appreciate you help.


Comment from Jon Peltier
Time: Thursday, April 29, 2010, 1:28 pm

Cassie -

I haven’t published my own version yet, but it closely resembles the scaling algorithm Stephen Bullen wrote about in Professional Excel Development. On Stephen’s web site is a PDF file of the Advanced Charting Techniques chapter, and this algorithm is at the end of the chapter.


Comment from Matt
Time: Friday, May 7, 2010, 4:37 pm

Hi Jon
This is off topic – apologies – but I have come across an interesting formatting situation you and/or readers may be interested in commenting on.

I have to produce a report in Word that contains Excel charts. All pretty standard. Tricky bit is they want one Word file that can:

Be read on screen in Word or .pdf format – so, color chart bars and legends are OK;

AND the same file can be printed in B&W – so, colors have to be such that they differentiate in B&W

AND they want to be able to copy/paste the charts from the Word doc to a Powerpoint presentation – again, colors are ok, on a huge scale.

My solution is to use colors that print in differing shades of grey-scale e.g. light blue, mid red, dark green. It results in some hideous combinations.

But perhaps there is a smarter way?

Cheers
Matt

Write a comment

I welcome comments from my readers. If you have an opinion on this post, if you have a question or if there is anything to add, I want to hear from you. Whether you agree or disagree, please join the discussion.

If you want to include an image in your comment, post it on your own site or on one of the many free image sharing sites, and include a link in your comment. I'll download your image and insert the necessary html to display the image inline.

Read the PTS Blog Comment Policy.





Subscribe without commenting

Peltier Tech Chart Utilities for Excel Peltier Tech Waterfall Chart Utility Peltier Tech Box and Whisker Chart Utility Peltier Tech Cluster-Stack Chart Utility Peltier Tech Panel Chart Utility Peltier Tech Marimekko Chart Utility Peltier Tech Dot Plot Utility Peltier Tech Cascade Chart Utility

Create Excel dashboards quickly with Plug-N-Play reports.