How to Make a Run Chart in Excel
In this article
A run chart is a simple line graph that plots data points over time to reveal trends, shifts, or cycles. You can make one in Excel by entering your time-based data into two columns, inserting a line chart, and then adding a median line to distinguish between random variation and actual shifts in the process. The chart visually highlights whether a process is stable or if a specific change (like a new policy or machine repair) has caused a lasting effect.
What You'll Need
- A computer with Microsoft Excel installed (2016, 2019, or 365 are recommended for the best chart tools).
- A dataset consisting of two columns: one for the time or sequence order (e.g., days, hours, batches) and one for the measured value (e.g., temperature, defect count, sales).
- A basic understanding of how to open a blank workbook and insert a chart.
Step-by-Step
- Prepare your data. Open a new Excel workbook. In the first column (A), list your time periods or sequence numbers. In the adjacent column (B), list the corresponding measurements. Ensure there are no blank rows within your data set, as this will break the chart. For example, if you are tracking daily sales, Column A might be dates, and Column B the sales figures.
- Calculate the median. Select an empty cell where you want the median value to appear. Type
=MEDIAN(B2:B100)(adjust the cell range B2:B100 to match the actual data in your second column). Press Enter. This value will be used to draw the center line on your run chart. - Select your data. Click and drag to highlight the entire range of your data, including both the time labels and the measurement values. The selection should cover columns A and B from row 1 down to the last data point.
- Insert the chart. Go to the top menu and click the Insert tab. In the Charts group, click the Recommended Charts icon. On the left side of the dialog box, select the All Charts tab. Choose Line and select the first option, which is a simple line chart. Click OK to generate the basic plot.
- Verify the axes. Check the resulting chart. The horizontal (x) axis should represent your time periods, and the vertical (y) axis should show the magnitude of your data. If the axes are reversed, right-click on the data series, choose Select Data, and ensure the horizontal labels match your time column.
- Add the median line. Double-click on the median value cell you calculated in Step 2. Copy the value (Ctrl+C). Click anywhere on the chart to select it. Go to the Insert tab, click Shapes, and select a horizontal line from the Line group. Drag the line across the chart until it aligns with the median value on the vertical axis.
- Format the line. Click on the new line you just added to open the Format Shape pane on the right side of the screen. Change the line color to a contrasting color, such as red or black, and increase the thickness to make it clearly visible. Right-click the line and choose Send to Back if it obscures any data points.
- Customize the chart title. Click on the default chart title (“Chart Title”) at the top of the chart. Delete the placeholder text and type a descriptive title, such as “Daily Defect Counts.”
- Add axis labels. Click on the horizontal axis title and type the label for your time variable (e.g., “Date”). Click on the vertical axis title and type the label for your measurement variable (e.g., “Number of Defects”).
- Remove gridlines (optional). If the gridlines are cluttering the view, click on any gridline to select them all. Press Delete on your keyboard. This makes it easier to see the trend of the data points relative to the median line.
Common Mistakes
One of the most common errors when making a run chart is failing to sort the data by time before plotting. If the data is random or sorted by value rather than chronology, the chart will not reveal the true trend over time. Always ensure the first column represents a logical, chronological progression.
Another mistake is using the mean (average) instead of the median. The median is the middle value when all data points are ordered, while the mean is the mathematical average. The median is more robust because it is not affected by extreme outliers (like one very high or low number). Using the median provides a more accurate center line for detecting shifts in the process.
Users also often forget to remove the legend when they only have one data series. A legend is useful for distinguishing between multiple lines (e.g., “Before” and “After”), but it is unnecessary and takes up space when plotting a single stream of data. You can delete the legend by clicking on it and pressing Delete.
Tips
When interpreting a run chart, look for non-random patterns. A process is considered stable when there are no obvious trends, cycles, or shifts. A shift is defined as six or more consecutive data points that are all above or all below the median line. A trend is a consistent rise or fall over time, while a cycle is a repeating up-and-down pattern.
To make the chart easier to read, consider adding data labels. Data labels show the exact numerical value of each point on the line. To add them, right-click on the data series and choose Add Data Labels. Be cautious with this tip if you have a very large dataset, as the labels may overlap and become unreadable.
Finally, keep the chart simple. Avoid adding unnecessary 3D effects, shadows, or fancy fonts. The goal of a run chart is clarity and insight. A clean, two-dimensional chart allows stakeholders to quickly grasp the process behavior and make informed decisions.
Troubleshooting
If your data points are not appearing on the chart, check your selection in Step 3. The selection must include both the labels and the values. If you only selected the values, Excel will try to plot the sequence numbers as the data series.
If the median line is not vertically aligned with the calculated median value, verify the cell reference used in Step 2. If you added or deleted rows in your data set after calculating the median, the reference in the formula will be incorrect. Recalculate the median based on the final data range.
If the line chart is not updating when you change a data value, check if the chart is linked to a specific range. Right-click on the chart and choose Select Data. In the “Chart data range” box, ensure the range includes the new data points. If the range is static, you must update it manually or use a dynamic table (e.g., an Excel Table) for automatic updates.
Frequently Asked Questions
What is the difference between a run chart and a control chart?
A run chart is a basic line graph that plots data over time and includes a median line. A control chart is more advanced and uses statistical rules (like the Upper Control Limit and Lower Control Limit) to identify when a process is statistically unstable. Control charts are generally used in quality control environments.
Why is the median better than the mean for the center line?
The median is less sensitive to extreme values (outliers) than the mean. If you have a process that is generally stable but experiences a one-time massive spike, the mean will be dragged upward, making the process look unstable. The median will remain relatively unaffected, giving a more accurate picture of the process's typical performance.
How do I handle missing data points in my run chart?
Excel will automatically skip a missing data point in a line chart, drawing a straight line from the previous point to the next. However, this can sometimes mislead interpretation. If you have a period where no data was collected, it is often better to leave the cell blank rather than entering a zero or a dash, as a zero might incorrectly suggest that the process output was intentionally zero during that period.
Can I create a run chart with multiple data series?
Yes, you can create a run chart with multiple series, such as comparing the performance of two different machines. To do this, simply include the additional data columns in your initial data selection in Step 3. Excel will automatically generate a separate line for each series.
How often should I update my run chart?
The frequency of updates depends on the nature of your process. For high-speed manufacturing lines, data might be updated hourly. For sales tracking, it might be updated daily or weekly. The key is to update the chart regularly enough to detect trends or shifts in a timely manner so that corrective actions can be taken if necessary.
Is a run chart useful for financial data?
While run charts are commonly used in quality management, they are also useful for financial data. For example, you can create a run chart of daily expenses to identify unusual spending spikes or to track the effectiveness of a cost-cutting initiative over time. The principles of identifying trends and shifts apply to any time-series data.