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.
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.
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.
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:
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
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’.
Right-click on the bottom axis. Select “Format Axis”
Within the Format Axis window select Axis Options -> Position Axis: – 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:
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.
About the author
Hey, I’m Mark, and I run Excel Off The Grid.
My parents tell me that at the age of 7 I declared I was going to become a qualified accountant. I was either psychic or had no imagination, as that is exactly what happened. However, it wasn't until I was 35 that my journey really began.
In 2015, I started a new job, for which I was regularly working after 10pm. As a result, I rarely saw my children during the week. So, I started searching for the secrets to automating Excel. I discovered that by building a small number of simple tools, I could combine them together in different ways to automate nearly all my regular tasks. This meant I could work less hours (and I got pay raises!). Today, I teach these techniques to other professionals in our training program so they too can spend less time at work (and more time with their children and doing the things they love).
Do you need help adapting this post to your needs?
I'm guessing the examples in this post don't exactly match 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:
- Read other blogs, or watch YouTube videos on the same topic. You will benefit much more by discovering your own solutions.
- Ask the 'Excel Ninja' in your office. It's amazing what things other people know.
- 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.
- Use Excel Rescue, who are my consultancy partner. They help by providing solutions to smaller Excel problems.
Don't go yet, there is plenty more to learn on Excel Off The Grid. Check out the latest posts: