Create a tolerance chart in Excel

How to create a tolerance chart

A tolerance chart shows how a result compares to a maximum and minimum permitted range.  These charts are often used in industry to check whether a process is working correctly and within permitted limits.

The image below shows the type of chart we will be creating.

Excel Screenshot - Completed Tolerance Chart

The data

This chart requires various values:

  • Minimum value – the lowest acceptable value
  • Maximum value – the highest acceptable value
  • Range – the difference between the highest and lowest values
  • Result – the actual result

The example data below uses 15 periods of data.

Excel Screenshot - tolerance chart data

Generate accurate VBA code in seconds with AutoMacro

AutoMacroExample

AutoMacro is a powerful VBA code generator that comes loaded with an extensive code library and many other time-saving tools and utilities.

Whether you’re an experienced coder looking to save time, or a newbie just trying to get things to work, AutoMacro is the tool for you.

Create the chart

A tolerance chart is a combination of two chart types, a stacked area chart and 3 line charts.

  • Area Chart – Minimum and Range
  • Line Charts – Minimum, Maximum and Result

This example is created using Excel 2016.  The principles for other versions of Excel will be the same, but the menus may be in slightly different locations.

Select cells A1-P5

Click: Insert -> Charts -> All Charts -> Area -> Stacked Area

Then click OK.

Excel screenshot insert stacked area chart

We now need to add the minimum result into the chart again (this will form one of the thick borders of the acceptable range).  To do this select Cells A2-P2

Home -> Copy (or Ctrl + C)

Select the chart

Home -> Paste (or Ctrl + V)

Next, delete the title and the legend (unless you specifically require them).  The chart should look like this:

Excel screen shot - tolerance stacked areas

Next, right-click the data series relating to the Result (yellow in the screenshot above).  From the menu select “Change Series Chart type . . .”.  Change the chart types as follows:

  • Max – Line
  • Min – Line
  • Result – Line with Markers

The Min and Range should remain as Stacked Area charts

Excel screenshot - tolerance chart data series

Please note, in other versions of Excel it is necessary to right click on the data series you wish to change, then changing the data series one by one to the chart type you wish.

Next, right click on the bottom area (the Min).  From the menu select “Format Data Series”.  Change the fill for this section to ‘No Fill’.

Excel screenshot format data series

Right-click on the bottom axis.  Select “Format Axis”

Excel screen shot format axis

Within the Format Axis window select Axis Options -> Position Axis: – On tick marks

Excel screen shot on tick marks

You may now format the left axis, Min, Max and Result on the chart to display as you wish.  The final tolerance chart should look something like this:

Excel Screenshot - Completed Tolerance Chart

Notes

Some recommend using a Stacked Column chart to create the highlighted tolerance area.  However, I prefer the Stacked Area chart method.  Whilst both methods enables the highlighted tolerance area to be different for each period, the Stacked Area chart can provide a smooth change, rather than a stepped change.

Don’t forget:

If you’ve found this post useful, or if you have a better approach, then please leave a comment below.

Do you need help adapting this to your needs?

I’m guessing the examples in this post didn’t exactly meet your situation.  We all use Excel differently, so it’s impossible to write a post that will meet everybody’s needs.  By taking the time to understand the techniques and principles in this post (and elsewhere on this site) you should be able to adapt it to your needs.

But, if you’re still struggling you should:

  1. Read other blogs, or watch YouTube videos on the same topic.  You will benefit much more by discovering your own solutions.
  2. Ask the ‘Excel Ninja’ in your office.  It’s amazing what things other people know.
  3. Ask a question in a forum like Mr Excel, or the Microsoft Answers Community.  Remember, the people on these forums are generally giving their time for free.  So take care to craft your question, make sure it’s clear and concise.  List all the things you’ve tried, and provide screenshots, code segments and example workbooks.
  4. Use Excel Rescue, who are my consultancy partner.   They help by providing solutions to smaller Excel problems.

What next?
Don’t go yet, there is plenty more to learn on Excel Off The Grid.  Check out the latest posts:

Leave a Reply

Your email address will not be published. Required fields are marked *