ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. How to Make a Control Chart in Excel With Control Limits

How to Make a Control Chart in Excel With Control Limits

By ExcelReady Team·Updated November 3, 2026·6 min read

The short answer

To make a control chart in Excel, calculate the mean and the control limits, then plot the data and all three lines on a line chart. For an individuals chart, the limits are mean ± 2.66 × the average moving range, where a moving range is the gap between neighbouring values. Points outside the limits need a look.

Key takeaways

  • A control chart plots data over time with a centre line (the mean) and upper and lower control limits.
  • For an individuals chart, UCL = mean + 2.66 × average moving range and LCL = mean − 2.66 × average moving range.
  • A moving range is the absolute gap between each value and the one before: =ABS(B3-B2).
  • Mean ± 3 × STDEV.S is a common shortcut, but one unusual point widens those limits.
  • Lock the limit cells with $ so the chart's flat lines fill down correctly.
On this page+
  1. What a control chart shows
  2. Step 1: Calculate the moving ranges
  3. Step 2: Calculate the mean and the control limits
  4. Step 3: Add the limit columns for the chart
  5. Step 4: Plot the control chart
  6. STDEV.S limits or moving range limits?
  7. How to read a control chart
  8. Practise it

A control chart in Excel shows your data over time with three extra lines: the average in the middle and an upper and lower control limit on either side. Points that land outside the limits, or odd patterns inside them, signal that something changed and is worth investigating. Excel has no built-in control chart, but you can build one in a few minutes with AVERAGE, ABS and a line chart. This guide makes an individuals chart, the most common type for one measurement per day, batch or week.

What a control chart shows#

A control chart separates normal, everyday variation from unusual changes. Every process varies a little: delivery times, fill weights and call lengths never repeat exactly. The control limits mark how far the data normally wanders. Inside them, the variation is routine. Outside them, something probably happened, such as a new supplier, a broken machine or a staff shortage.

The chart has four parts:

PartWhat it is
Data lineYour measurements in time order
Centre lineThe mean (average) of the data
UCLUpper control limit, above the mean
LCLLower control limit, below the mean

The examples use twelve days of average delivery times in minutes, in A1:B13:

Day123456789101112
Minutes312932302831333029443130

Day numbers are in column A and minutes in column B, from row 2 to row 13.

Step 1: Calculate the moving ranges#

A moving range is the size of the jump from one value to the next, ignoring direction. In C3, type and fill down to C13:

Excel formula
=ABS(B3-B2)

ABS removes the minus sign, so a drop of 2 and a rise of 2 both count as 2. Row 2 stays empty because day 1 has no previous day. The eleven moving ranges add up to 47.

Step 2: Calculate the mean and the control limits#

Put the summary numbers in their own cells so the chart can refer to them:

CellLabelFormulaResult
I1Mean=AVERAGE(B2:B13)31.5
I2Average moving range=AVERAGE(C3:C13)4.27
I3UCL=I1+2.66*I242.87
I4LCL=I1-2.66*I220.13

The 2.66 is a standard constant for individuals charts. The average moving range divided by 1.128 estimates the standard deviation of the process, and control limits sit three standard deviations from the mean: 3 ÷ 1.128 ≈ 2.66. If the LCL comes out below zero for something that can't be negative, such as a count, use 0. The AVERAGE function guide covers the first two formulas.

Step 3: Add the limit columns for the chart#

A chart needs each line as a column of values, so repeat the mean and limits on every row. In D2, E2 and F2, type these and fill down to row 13:

Excel formula
=$I$1
=$I$3
=$I$4

The $ signs lock the references. Without them, filling down would shift I1 to I2, I3 and so on, and the "flat" lines would jump about. If the dollar signs are new, read how absolute references work.

Add headers in row 1: Mean, UCL and LCL. Now columns B, D, E and F hold everything the chart needs.

Step 4: Plot the control chart#

Build an ordinary line chart from the data and the three limit columns:

  1. Select A1:B13, then hold Ctrl (Mac: ⌘) and select D1:F13.
  2. Choose Insert > Line > Line with Markers.
  3. Right-click the UCL line, choose Format Data Series, and make it a dashed red line with no markers. Do the same for the LCL.
  4. Make the mean line solid grey with no markers.
  5. Add a chart title, such as "Delivery time, minutes".

The result is a line of daily points between two dashed limits. Day 10, at 44 minutes, sits above the UCL of 42.87. For more on formatting lines, see the line chart guide. The technique of drawing a flat line from a column of repeated values is the same one used to add a target line to a chart.

To make out-of-control points stand out, add one more column. In G2, fill down:

Excel formula
=IF(OR(B2>$I$3,B2<$I$4),B2,NA())

It repeats the value only when it's outside the limits. NA() gives #N/A, which a line chart skips. Add column G to the chart, and format it with large red markers and no line.

STDEV.S limits or moving range limits?#

A common shortcut is to set the limits at the mean ± 3 × STDEV.S. On this data, that gives a UCL of about 44.00 and an LCL of about 19.00, wider than the moving range limits. Day 10 is now just inside the upper limit, and the unusual day disappears into "normal".

That happens because STDEV.S measures the spread of all twelve values together, so the unusual day itself pushes the standard deviation up. The moving range method looks only at neighbouring days, so one unusual point affects it less. That's why textbook individuals charts use the moving range. The standard deviation guide explains STDEV.S itself.

How to read a control chart#

Look for points outside the limits first, then for patterns inside them.

  • A point beyond a limit. Find out what happened on that day. Here, day 10 needs a look.
  • A long run on one side of the mean. Many rule sets flag about 8 points in a row above or below the centre line as a shift.
  • A steady trend. Several points in a row rising or falling can signal wear or drift.

Once you find and fix the cause of an unusual point, many teams recalculate the limits without it and keep those limits fixed for future data. Limits describe the process, not a target. If the process is in control but still too slow for customers, the process itself has to change.

Practise it#

Try the exercise on this page to calculate an upper control limit from moving ranges. Then practise AVERAGE, MIN and MAX in a live spreadsheet and lock cells correctly in the relative vs absolute references lesson. For quick summary statistics around your chart, see AVERAGE, MIN and MAX explained.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Work out the upper control limit for these fill weights. Click E2 and type =AVERAGE(B2:B8)+2.66*AVERAGE(C3:C8), then press Enter.

fx
ABCDEF
1
Sample
Weight (g)
Moving range
2
1
52
UCL
3
2
49
3
4
3
51
2
5
4
50
1
6
5
53
3
7
6
48
5
8
7
51
3
9
10
11

Tip: The centre line is the average of the weights. Add 2.66 times the average of the moving ranges, which start in row 3.

Practise this in a lesson

LessonAVERAGE, MIN and MAXSummarize a list with its average, smallest and largest values.LessonRelative vs absolute references ($)Lock a cell with $ so it doesn't move when you copy a formula, one of the most-tested Excel skills.Function guideAVERAGECalculate the mean in Excel with AVERAGE. See how it treats blanks and zeros, avoid common errors, and practice in a live sheet.

Frequently asked questions

How do you calculate control limits in Excel?

+

Find the mean with AVERAGE, then the average moving range with AVERAGE of =ABS(B3-B2) filled down. The upper limit is the mean plus 2.66 times the average moving range, and the lower limit is the mean minus the same amount.

Where does the 2.66 come from?

+

It is 3 divided by 1.128. The average moving range divided by 1.128 estimates the standard deviation, and control limits sit 3 standard deviations from the mean. So 3 ÷ 1.128 is about 2.66.

Can I use STDEV.S for control limits?

+

Many people do: mean plus or minus 3 times STDEV.S. It is a reasonable rough version, but an unusual point or a shift in the process inflates STDEV.S and widens the limits, so real problems can stay hidden. The moving range method is less affected.

Is a control limit the same as a specification limit?

+

No. Control limits come from your own data and describe what the process normally does. Specification limits come from the customer or a standard and describe what is acceptable. A process can be in control and still miss its specification.

Does Excel have a built-in control chart?

+

No. Excel has no control chart type, so you calculate the mean and limits in cells and plot them with an ordinary line chart, as this guide shows.

Sources

  • AVERAGE function - Microsoft Support
  • ABS function - Microsoft Support
  • Create a chart from start to finish - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What a control chart shows
  2. Step 1: Calculate the moving ranges
  3. Step 2: Calculate the mean and the control limits
  4. Step 3: Add the limit columns for the chart
  5. Step 4: Plot the control chart
  6. STDEV.S limits or moving range limits?
  7. How to read a control chart
  8. Practise it

Keep reading

Math· 7 min read

How to Calculate Standard Deviation in Excel

To calculate standard deviation in Excel, use =STDEV.S(B2:B7) when your data is a sample, or =STDEV.P(B2:B7) when it covers the whole group you care about. Standard deviation measures how far values typically sit from the average. A small result means the values are close together; a large one means they are spread out.

Data tools· 6 min read

How to Make a Line Chart in Excel

To make a line chart in Excel, put dates or months in the first column and values in the next, with headers in row 1. Select the data, go to Insert > Insert Line or Area Chart, and pick Line or Line with Markers. Add a chart title and axis titles, and use one line per series to compare trends over time.

Data tools· 5 min read

Add a Target or Average Line to an Excel Chart

To add a target line to an Excel chart, put the target in a helper column next to your data, for example =$E$1 in every row, and include it in the chart. Then right-click that series, choose Change Series Chart Type and make it a Line. For an average line, fill the helper column with =AVERAGE($B$2:$B$7) instead.

More on data tools

  • Custom Sort in Excel: Sort by Your Own Order
  • Data Bars, Color Scales and Icon Sets in Excel
  • Create a Drop-Down List in Excel
  • Data Validation Rules in Excel: Limit What Users Can Enter
  • How to Make a Dependent Drop-Down List in Excel
  • Excel Doughnut Chart: Show Parts of a Whole With a Total
All data tools articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free