What custom error bars do and when you need them
Custom error bars in Excel let you show the range of uncertainty around each data point in your chart — the margin of error, standard deviation, or any other measurement that represents how much your actual values might vary. Instead of using Excel's built-in error bar formulas, you supply your own numbers, which means you control exactly how far the bars extend above and below each point.
You need custom error bars when your error amounts differ from point to point, or when you want to display something other than what Excel's standard options offer. For example, if you measured five samples and got different confidence intervals for each one, or if you want to show the actual range of values you observed rather than a calculated standard deviation, custom bars let you do that.
The process involves creating a helper column with your error values, then telling Excel to use that column as the source for your error bars. It takes a few steps, but once you understand the structure, you can reuse it for any chart.
Key Takeaways
- Custom error bars require a separate column in your spreadsheet containing the error amount for each data point.
- You add error bars through the chart itself, not the data table — right-click the data series and select "Format Data Series".
- Excel's error bar dialog offers a "Custom" option that lets you point to your helper column for both positive and negative error values.
- If your error amounts are the same above and below each point, you can use a single column; if they differ, you need two columns.
Setting up your data with a helper column
Before you touch the chart, prepare your spreadsheet with the error values you want to display. Create a new column next to your data — or several columns if you need different error amounts for positive and negative directions.
For example, if your main data is in columns A through C (categories, values, and labels), put your error amounts in column D. If your error bars should extend differently above and below the points — say, +5 and −3 — create two columns: one for the positive error (column D) and one for the negative error (column E). Each row in these columns should hold the error value for the corresponding data point in that row.
Make sure your error values are numbers, not formulas that reference other cells (unless those formulas resolve to numbers). Excel needs to read actual numeric values from these cells when you point the error bars to them.
Creating or selecting your chart
Build your chart as you normally would: select your data range including categories and values, then insert a chart from the Insert menu. Choose a chart type that supports error bars — column, bar, line, scatter, and bubble charts all work. Pie charts and doughnut charts do not.
Once your chart appears on the worksheet, you are ready to add the error bars. The chart does not need to be perfect yet; you can adjust colors, labels, and other formatting after the error bars are in place. What matters is that the chart recognizes your data series correctly.
Adding error bars through the Format Data Series dialog
Click on your chart to select it, then right-click directly on one of the data points or the line/bars representing your data series. A context menu appears. Select "Format Data Series" — this opens a panel on the right side of the screen (in Excel 2016 and later) or a dialog box (in older versions).
Look for the "Error Bars" option in this panel or dialog. Click it to expand the error bar settings. You will see a dropdown menu that offers choices like "None", "Standard Error", "Percentage", "Standard Deviation", and "Custom". Select "Custom".
When you choose Custom, Excel shows you two input fields: one for positive error values and one for negative error values. Click the small icon next to each field — it looks like a shrink button or a range selector. This lets you point to the cells containing your error amounts.
Pointing to your error value columns
After you click the range selector icon next to "Positive Error Value", your dialog shrinks and the spreadsheet comes into focus. Click and drag to select the column (or range) containing your positive error amounts. If your errors are in column D, rows 2 through 6, select D2:D6. Then click the range selector icon again to return to the dialog.
Repeat the same process for "Negative Error Value" if you have a separate column for downward error amounts. If your error bars should be symmetrical — the same distance above and below each point — you can use the same column for both positive and negative values. Just point to the same range twice.
After you have entered both ranges, click OK or Apply. Excel draws the error bars on your chart, extending from each data point by the amounts you specified in your helper columns.
Adjusting the appearance of your error bars
Once the error bars appear, you can change their color, width, and style. Right-click on one of the error bars themselves (not the data points), and select "Format Error Bars". A new panel or dialog opens with options for line color, line width, and line style (solid, dashed, dotted).
You can also control the end cap — the small horizontal line at the top and bottom of each error bar. In the Format Error Bars panel, look for "End Style" or "Cap Style" and choose whether you want a cap, no cap, or a different cap size. These visual tweaks help your error bars stand out or blend in, depending on your chart's purpose.
If you need to change the error values themselves after the bars are drawn, go back to your helper column, edit the numbers, and the chart updates automatically. You do not need to re-enter the error bar ranges.
Common mistakes and how to avoid them
The most frequent problem is selecting the wrong range when you point to your error columns. Make sure you select only the cells with numeric error values, not the column header. If your data starts in row 2, your error range should be D2:D6 (or however many rows you have), not D1:D6.
Another issue is forgetting to create a helper column at all and trying to type error values directly into the dialog. Excel's Custom option requires you to point to cells, not type single numbers. If all your error bars should be the same size, create a helper column with that value repeated in every row.
If your error bars do not appear after you click OK, check that your helper column contains actual numbers. Formulas are fine, but they must calculate to numbers. Text that looks like a number (like "5" stored as text) will not work.
Frequently Asked Questions
Can I use different error bar styles for different data series in the same chart?
Yes. Each data series can have its own error bars with its own formatting. Right-click each series separately, add error bars to each one, and point to different helper columns if needed. You can make one series' bars red and another's blue, or give them different widths.
What if I want error bars only on some of my data points, not all of them?
Put zero in your helper column for the points where you do not want bars. Excel will draw a bar of zero length, which appears as no bar at all. This is cleaner than deleting rows or creating multiple charts.
Do I have to use the same error column for positive and negative bars?
No. If your uncertainty is asymmetrical — for example, +10 but −5 — create two separate columns and point the positive and negative fields to different ranges. This is common in scientific data where confidence intervals are not symmetrical.
Can I copy a chart with custom error bars to another workbook?
Yes, but the error bar ranges will break if the helper columns do not exist in the new workbook. Copy both the chart and the data columns together, or recreate the helper columns in the new workbook before pasting the chart.
What happens if I delete or change the helper column after I have added error bars?
The error bars disappear or show an error. Excel maintains a live link to the cells you pointed to. If you need to reorganize your spreadsheet, update the error bar ranges first by going back to Format Data Series and pointing to the new location of your helper column.