What are error bars in excel

Error bars in charts you create can help you see margins of error and standard deviations at a glance. They can be shown on all data points or data markers in a data series as a standard error amount, a percentage, or a standard deviation. You can set your own values to display the exact error amounts you want. For example, you can show a 10 percent positive and negative error amount in the results of a scientific experiment like this:

You can use error bars in 2-D area, bar, column, line, xy (scatter), and bubble charts. In scatter and bubble charts, you can show error bars for x and y values.

Note: The following procedures apply to Office 2013 and newer versions. Looking for Office 2010 steps?

Add or remove error bars

  1. Click anywhere in the chart.

  2. Click the Chart Elements button Chart Elements button next to the chart, and then check the Error Bars box. (Clear the box to remove error bars.)

  3. To change the error amount shown, click the arrow next to Error Bars, and then pick an option.

    • Pick a predefined error bar option like Standard Error, Percentage or Standard Deviation.

    • Pick More Options to set your own error bar amounts, and then under Vertical Error Bar or Horizontal Error Bar, choose the options you want. This is also where you can change the direction, end style of the error bars, or create custom error bars.

Note: The direction of the error bars depends on the type of chart you’re using. Scatter charts can show both horizontal and vertical error bars. You can remove either of these error bars by selecting them, and then pressing Delete.

Review equations for calculating error amounts

People often ask how Excel calculates error amounts. Excel uses the following equations to calculate the Standard Error and Standard Deviation amounts that are shown on the chart.

This option

Uses this equation

Standard Error

Equation

Where:

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

Standard Deviation

Equation

Where:

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

M = arithmetic mean

Add, change, or remove errors bars in a chart in Office 2010

In Excel, you can display error bars that use a standard error amount, a percentage of the value (5%), or a standard deviation.

Standard Error and Standard Deviation use the following equations to calculate the error amounts that are shown on the chart.

This option

Uses this equation

Where

Standard Error

Equation

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

Standard Deviation

Equation

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

M = arithmetic mean

  1. On 2-D area, bar, column, line, xy (scatter), or bubble chart, do one of the following:

    • To add error bars to all data series in the chart, click the chart area.

    • To add error bars to a selected data point or data series, click the data point or data series that you want, or do the following to select it from a list of chart elements:

      1. Click anywhere in the chart.

        This displays the Chart Tools, adding the Design, Layout, and Format tabs.

      2. On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

        excel ribbon image

  2. On the Layout tab, in the Analysis group, click Error Bars.

  3. Do one of the following:

    1. Click a predefined error bar option, such as Error Bars with Standard Error, Error Bars with Percentage, or Error Bars with Standard Deviation.

    2. Click More Error Bar Options, and then under Vertical Error Bars or Horizontal Error Bars, click the display and error amount options that you want to use.

      Note: The direction of the error bars depends on the chart type of your chart. For scatter charts, both horizontal and vertical error bars are displayed by default. You can remove either of these error bars by selecting them, and then pressing DELETE.

  1. On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to change, or do the following to select them from a list of chart elements:

    1. Click anywhere in the chart.

      This displays the Chart Tools, adding the Design, Layout, and Format tabs.

    2. On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

      excel ribbon image

  2. On the Layout tab, in the Analysis group, click Error Bars, and then click More Error Bar Options.

  3. Under Display, click the error bar direction and end style that you want to use.

  1. On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to change, or do the following to select them from a list of chart elements:

    1. Click anywhere in the chart.

      This displays the Chart Tools, adding the Design, Layout, and Format tabs.

    2. On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

      excel ribbon image

  2. On the Layout tab, in the Analysis group, click Error Bars, and then click More Error Bar Options.

  3. Under Error Amount, do one or more of the following:

    1. To use a different method to determine the error amount, click the method that you want to use, and then specify the error amount.

    2. To use custom values to determine the error amount, click Custom, and then do the following:

      1. Click Specify Value.

      2. In the Positive Error Value and Negative Error Value boxes, specify the worksheet range that you want to use as error amount values, or type the values that you want to use, separated by commas. For example, type 0.4, 0.3, 0.8.

        Tip: To specify the worksheet range, you can click the Collapse Dialog button Collapse button, and then select the data that you want to use in the worksheet. Click the Collapse Dialog button again to return to the dialog box.

        Note: In Microsoft Office Word 2007 or Microsoft Office PowerPoint 2007, the Custom Error Bars dialog box may not show the Collapse Dialog button, and you can only type the error amount values that you want to use.

  1. On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to remove, or do the following to select them from a list of chart elements:

    1. Click anywhere in the chart.

      This displays the Chart Tools, adding the Design, Layout, and Format tabs.

    2. On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

      excel ribbon image

  2. Do one of the following:

    1. On the Layout tab, in the Analysis group, click Error Bars, and then click None.

    2. Press DELETE.

Tip: You can remove error bars immediately after you add them to the chart by clicking Undo on the Quick Access Toolbar or by pressing CTRL+Z.

Do any of the following:

Express errors as a percentage, standard deviation, or standard error

  1. In the chart, select the data series that you want to add error bars to.

    For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

  2. On the Chart Design tab, click Add Chart Element

    On the Chart Design tab, select Add Chart Element

  3. Point to Error Bars, and then do one of the following:

Click

To

Standard Error

Apply the standard error, using the following formula:

s = series number
I = point number in series s
m = number of series for point y in chart
n = number of points in each series
y is = data value of series s and the I th point
n y = total number of data values in all series

Percentage

Apply a percentage of the value for each data point in the data series

Standard Deviation

Apply a multiple of the standard deviation, using the following formula:

s = series number
I = point number in series s
m = number of series for point y in chart
n = number of points in each series
y is = data value of series s and the I th point
n y = total number of data values in all series
M = arithmetic mean

Express errors as custom values

  1. In the chart, select the data series that you want to add error bars to.

  2. On the Chart Design tab, click Add Chart Element, and then click More Error Bars Options.

  3. In the Format Error Bars pane, on the Error Bar Options tab, under Error Amount, click Custom, and then click Specify Value.

  4. Under Error amount, click Custom, and then click Specify Value.

  5. In the Positive Error Value and Negative Error Value boxes, type the values that you want for each data point, separated by commas (for example, 0.4, 0.3, 0.8), and then click OK.

    Note: You can also define error values as a range of cells from the same Excel workbook. To select the range of cells, in the Custom Error Bars dialog box, clear the contents of the Positive Error Value or Negative Error Value box, and then select the range of cells that you want to use.

Add up/down bars

  1. In the chart, select the data series that you want to add up/down bars to.

  2. On the Chart Design tab, click Add Chart Element, point to Up/Down Bars, and then click Up/down Bars.

    Depending on the chart type, some options may not be available.

See Also

Create a chart

Change the chart type of an existing chart

Graphical representations of data variability in Excel

What are Error Bars in Excel?

Error bars in Excel[1] are graphical representations of data variability. They show the precision of a measurement. The bars usually represent standard deviation and standard error. They indicate how far from the determined value the true value is.

Error bars on charts provide a more comprehensive view of the data set and allow users to see the margins or errors in the data.

How to Add Error Bars in Excel?

Microsoft Excel allows you to add error bars to certain types of charts, including line charts, bar charts, and scatter charts.

The following steps will help you to add errors bars to your Excel charts:

1. Click on your chart.

2. Click the Chart Elements (plus sign).

Error Bars in Excel

3. Check the box Error Bars and click the arrow next to it. You will see a list of items that you can add to your chart.

You can add the following errors bars to your chart:

  • Standard Error: Indicates the standard error for all values in the dataset.
  • Percentage: Determines a percentage error range and error amount for each value.
  • Standard Deviation: Displays a standard deviation for all values.

You can also modify the default error bars to suit your needs:

  1. Click More Options in the Error Bars.

  1. The Format Error Bars menu will pop-up on the right side of your screen. Here, you can modify the style of the error bars, as well as the error amounts for the bars.

More Resources

Thank you for reading CFI’s guide to adding error bars in Excel. CFI offers a library of resources and training materials designed to help you learn Excel in the most efficient way possible. To learn more, check out these additional resources:

  • Advanced Excel Formulas
  • Excel for Finance
  • List of Excel Shortcuts for PC/Mac
  • Free Excel Crash Course
  • See all Excel resources

When you represent data in a chart, there can be cases when there is a level of variability with a data point.

For example, you can not (with 100% certainty) predict the temperature of the next 10 days or the stock price of a company in the coming week.

There will always be a level of variability in the data. The final value could be a little higher or lower.

If you have to represent this kind of data, you can use Error Bars in the Charts in Excel.

What are Error Bars?

Error bars are the bars in an Excel chart that would represent the variability of a data point.

This will give you an idea of how accurate is the data point (measurement). It tells you how far the actual can go from the reported value (higher or lower).

For example, in the below chart, I have the sales estimates for the four quarters, and there is an error bar for each of the quarter bar. Each error bar indicates how much less or more the sales can be for each quarter.

Error Bars in a Column Chart in Excel

The more the variability, the less accurate is the data point in the chart.

I hope this gives you an overview of what is an error bar and how to use an error bar in Excel charts. Now let me show you how to add these error bars in Excel charts.

How to Add Error Bars in Excel Charts

In Excel, you can add error bars in a 2-D line, bar, column or area chart. You can also add it to the XY scatter chart or a bubble chart.

Suppose you have a dataset and the chart (created using this dataset) as shown below and you want to add error bars to this dataset:

Data to add error bars

Below are the steps to add data bars in Excel (2019/2016/2013):

  1. Click anywhere in your chart. It will make available the three icons as shown below.Three Icons when you select a chart in Excel
  2. Click on the plus icon (the Chart Element icon)Click on the Chart Elements icon
  3. Click on the black triangle icon at the right of ‘Error bars’ option (it appears when you hover the cursor on the ‘Error Bars’ option)Click on the Error Bars Show more icon
  4. Choose from the three options (Standard Error, Percentage, or Standard Deviation), or click on ‘More Options’ to get even more options. In this example, I am clicking on Percentage optionSelect the error bar type that you want to add to the chart

The above steps would add the Percentage error bar to all the four columns in the chart.

Percentage Error Bars added

By default, the value of the percentage error bar is 5%. This means that it will create an error bar that goes a maximum of 5% above and below the current value.

Types of Error Bars in Excel Charts

As you saw in the steps above that there are different types of error bars in Excel.

So let’s go through these one-by-one (and more on these later as well).

‘Standard Error’ Error Bar

This shows the ‘standard error of the mean’ for all values. This error bar tells us how far the mean of the data is likely to be from the true population mean.

This is something you may need if you work with statistical data.

‘Percentage’ Error Bar

This one is simple. It will show the specified percentage variation in each data point.

For example, in our chart above, we added the percentage error bars where the percentage value was 5%. This would mean that if your data point value is 100, the error bar will be from 95 to 105.

‘Standard Deviation’ Error Bar

This shows how close the bar is to the mean of the dataset.

The error bars, in this case, are all in the same position (as shown below). And for each column, you can see how much is the variation from the overall mean of the dataset.

By default, Excel plots these error bars with a value of standard deviation as 1, but you can change this if you want (by going to the More Options and then changing the value in the pane that opens).

‘Fixed Value’ Error Bar

This, as the name suggests, shows the error bars where the error margin is fixed.

For example, in the quarterly sales example, you can specify the error bars to be 100 units. It will then create an error bar where the value can deviate from -100 to +100 units (as shown below).

‘Custom’ Error Bar

In case you want to create your own custom error bars, where you specify the upper and lower limit for each data point, you can do that using the custom error bars option.

You can choose to keep the range the same for all error bars, or can also make individual custom error bars for each data point (example covered later in this tutorial).

This could be useful when you have a different level of variability of each data point. For example, I may be quite confident about sales numbers in Q1 (i.e, low variability) and less confident about sales numbers in Q3 and Q4 (i.e., high variability). In such cases, I can use custom error bars to show the custom variability in each data point.

Now, let’s dive into more into how to add custom error bars in Excel charts.

Adding Custom Error Bars in Excel Charts

Error bars other than the custom error bars (i.e., fixed, percentage, standard deviation, and standard error) are all quite straightforward to apply. You need to just select the option and specify a value (if needed).

Custom error bars need a little more work.

With custom error bars, there could be two scenarios:

  1. All data point have the same variability
  2. Every data point has its own variability

Let’s see how to do each of these in Excel

Custom Error Bars – Same Variability for all Data Points

Suppose you have the data set as shown below and a chart associated with this data.

Data to add error bars

Below are the steps to create custom error bars (where the error value is the same for all data points):

  1. Click anywhere in your chart. It will make available the three chart option icons.
  2. Click on the plus icon (the Chart Element icon)
  3. Click on the black triangle icon at the right of ‘Error bars’ option
  4. Choose on ‘More Options’Click on More Options in the Error Bars options
  5. In the ‘Format Error Bars’ pane, check the Custom optionCustom Error Bars option
  6. Click on the ‘Specify Value’ button.Click on Specify value button
  7. In the Custom Error dialog box that opens, enter the positive and negative error value. You can delete the existing value in the field and enter the value manually (without any equal to sign or brackets). In this example, I am using 50 as the error bar value.enter the Custom error bar value
  8. Click OK

This would apply the same custom error bars for each column in the column chart.

Custom Error Bars with 50 as the value

Custom Error Bars – Different Variability for all Data Points

In case you want to have different error values for each data point, you need to have these values in a range in Excel and then you can refer to that range.

For example, suppose I have manually calculated the positive and negative error values for each data point (as shown below) and I want these to be the plotted as error bars.

Positive and Negative Error Bar for each data point

Below are the steps to do this:

  1. Create a column chart using the sales data
  2. Click anywhere in your chart. It will make available the three icons as shown below.
  3. Click on the plus icon (the Chart Element icon)
  4. Click on the black triangle icon at the right of ‘Error bars’ option
  5. Choose on ‘More Options’Click on More Options in the Error Bars options for custom value
  6. In the ‘Format Error Bars’ pane, check the Custom option
  7. Click on the ‘Specify Value’ button.Click on Specify value button
  8. In the Custom Error dialog box that opens, click on the range selector icon for the Positive Error Value and then select the range that has these values (C2:C5 in this example)
  9. Now, click on the range selector icon for the Negative Error Value and then select the range that has these values (D2:D5 in this example)Custom Error Bar Values for each data point
  10. Click OK

The above steps would give you custom error bars for each data point based on the selected values.

Custom erorr bar for each datapoint

Note that each column in the above chart has a different size error bar as these have been specified using the values in the ‘Positive EB’ and ‘Negative EB’ columns in the dataset.

In case you change any of the values later, the chart would automatically update.

Formatting the Error Bars

There are a few things you can do to format and modify the error bars. These include the color, thickness of the bar, and the shape of it.

To format an error bar, right-click on any of the bars and then click on ‘Format Error bars’. This will open the ‘Format Error Bars’ pane on the right.

Format Error Bars

Below are the things you can format/modify in an error bar:

Color/width of the Error bar

This can be done by selecting the ‘Fill and Line’ option in then changing the color and/or width.

Line and Fill option

You can also change the dash type in case you want to make your error bar look different than a solid line.

One example where this could be useful is when you want to highlight the error bars and not the data points. In that case, you can make everything else light in color to make the error bars pop-out

Direction/Style of the Error bar

You can choose to show error bars that go both sides of the data point (positive and negative), you can choose to only show the plus or minus error bars.

These options can be changed from the Direction option in the ‘Format Error Bars’ pane.

Error Bar Options to change the direction

Another thing you can change is whether you want the end of the bar to have a cap or not. Below is an example where the chart on the left has the cap and one on the right doesn’t

Cap vs No Cap in error bars

Adding Horizontal Error Bars in Excel Charts

So far, we have seen the vertical error bars. which are the most common in Excel charting (and can be used with column charts, line charts, area charts, scatter charts)

But you can also add and use horizontal error bars. These can be used with bar charts as well as the scatter charts.

Below is an example, where I have plotted the quarterly data into a bar chart.

Adding Horizontal Error Bars in bar Chart in Excel

The method of adding the horizontal error bars is the same as that of vertical error bars that we saw in the sections above.

You can also add horizontal (as well as vertical error bars) to scatter charts or bubble charts. Below is an example where I have plotted the sales and profit values in a scatter chart and have added both vertical and horizontal error bars.

Error bars in a scatter plot

You can also format these error bars (horizontal or vertical) separately. For example, you may want to show a percentage error bar for horizontal error bars and custom error bars for vertical ones.

Adding Error Bars to a Series in a Combo Chart

If you work with combo charts, you can add error bars to any one of the series.

For example, below is an example of a combo chart where I have plotted the sales values as columns and profit as a line chart. And an error bar has only been added to the line chart.

Error Bars in a combo chart

Below are the steps to add error bars to a specific series only:

  1. Select the series for which you want to add the error bars
  2. Click on the plus icon (the Chart Element icon)
  3. Click on the black triangle icon at the right of ‘Error bars’ option
  4. Choose the error bar that you want to add.

If you want, you can also add error bars to all the series in the chart. Again, follow the same steps where you need to select the series for which you want to add the error bar in the first step.

Note: There is no way to add an error bar only to one specific data point. When you add it to a series, it’s added to all the data points in the chart for that series.

Deleting the Error bars

Deleting the error bars is quite straightforward.

Just select the error bar that you want to delete, and hit the delete key.

When you do this, it will delete all the error bars for that series.

If you have both horizontal and vertical error bars, you can choose to delete only one of these (again by simply selecting and hitting the Delete key).

So this is all that you need to know about adding error bars in Excel.

Hope you found this tutorial useful!

You may also like the following Excel tutorials:

  • How to Create a Timeline / Milestone Chart in Excel
  • How to Create a Dynamic Chart Range in Excel
  • Creating a Pareto Chart in Excel
  • Creating an Actual vs Target Chart in Excel
  • How to Make a Histogram in Excel
  • How to Find Slope in Excel?

Содержание

  1. Add, change, or remove error bars in a chart
  2. Add or remove error bars
  3. Review equations for calculating error amounts
  4. Add, change, or remove errors bars in a chart in Office 2010
  5. Express errors as a percentage, standard deviation, or standard error
  6. Express errors as custom values
  7. Add up/down bars
  8. Error Bars in Excel
  9. How to add error bars in Excel?
  10. How to add custom error bars in Excel?
  11. How to make individual error bars in Excel?
  12. How to add horizontal error bars in Excel?
  13. How to make error bars for a specific data series?
  14. How to modify error bars in Excel?
  15. How to delete error bars in Excel?

Add, change, or remove error bars in a chart

Error bars in charts you create can help you see margins of error and standard deviations at a glance. They can be shown on all data points or data markers in a data series as a standard error amount, a percentage, or a standard deviation. You can set your own values to display the exact error amounts you want. For example, you can show a 10 percent positive and negative error amount in the results of a scientific experiment like this:

You can use error bars in 2-D area, bar, column, line, xy (scatter), and bubble charts. In scatter and bubble charts, you can show error bars for x and y values.

Note: The following procedures apply to Office 2013 and newer versions. Looking for Office 2010 steps?

Add or remove error bars

Click anywhere in the chart.

Click the Chart Elements button next to the chart, and then check the Error Bars box. (Clear the box to remove error bars.)

To change the error amount shown, click the arrow next to Error Bars, and then pick an option.

Pick a predefined error bar option like Standard Error, Percentage or Standard Deviation.

Pick More Options to set your own error bar amounts, and then under Vertical Error Bar or Horizontal Error Bar, choose the options you want. This is also where you can change the direction, end style of the error bars, or create custom error bars.

Note: The direction of the error bars depends on the type of chart you’re using. Scatter charts can show both horizontal and vertical error bars. You can remove either of these error bars by selecting them, and then pressing Delete.

Review equations for calculating error amounts

People often ask how Excel calculates error amounts. Excel uses the following equations to calculate the Standard Error and Standard Deviation amounts that are shown on the chart.

Uses this equation

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

M = arithmetic mean

Add, change, or remove errors bars in a chart in Office 2010

In Excel, you can display error bars that use a standard error amount, a percentage of the value (5%), or a standard deviation.

Standard Error and Standard Deviation use the following equations to calculate the error amounts that are shown on the chart.

Uses this equation

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

s = series number

i = point number in series s

m = number of series for point y in chart

n = number of points in each series

yis = data value of series s and the ith point

ny = total number of data values in all series

M = arithmetic mean

On 2-D area, bar, column, line, xy (scatter), or bubble chart, do one of the following:

To add error bars to all data series in the chart, click the chart area.

To add error bars to a selected data point or data series, click the data point or data series that you want, or do the following to select it from a list of chart elements:

Click anywhere in the chart.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

On the Layout tab, in the Analysis group, click Error Bars.

Do one of the following:

Click a predefined error bar option, such as Error Bars with Standard Error, Error Bars with Percentage, or Error Bars with Standard Deviation.

Click More Error Bar Options, and then under Vertical Error Bars or Horizontal Error Bars, click the display and error amount options that you want to use.

Note: The direction of the error bars depends on the chart type of your chart. For scatter charts, both horizontal and vertical error bars are displayed by default. You can remove either of these error bars by selecting them, and then pressing DELETE.

On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to change, or do the following to select them from a list of chart elements:

Click anywhere in the chart.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

On the Layout tab, in the Analysis group, click Error Bars, and then click More Error Bar Options.

Under Display, click the error bar direction and end style that you want to use.

On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to change, or do the following to select them from a list of chart elements:

Click anywhere in the chart.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

On the Layout tab, in the Analysis group, click Error Bars, and then click More Error Bar Options.

Under Error Amount, do one or more of the following:

To use a different method to determine the error amount, click the method that you want to use, and then specify the error amount.

To use custom values to determine the error amount, click Custom, and then do the following:

Click Specify Value.

In the Positive Error Value and Negative Error Value boxes, specify the worksheet range that you want to use as error amount values, or type the values that you want to use, separated by commas. For example, type 0.4, 0.3, 0.8.

Tip: To specify the worksheet range, you can click the Collapse Dialog button , and then select the data that you want to use in the worksheet. Click the Collapse Dialog button again to return to the dialog box.

Note: In Microsoft Office Word 2007 or Microsoft Office PowerPoint 2007, the Custom Error Bars dialog box may not show the Collapse Dialog button, and you can only type the error amount values that you want to use.

On a 2-D area, bar, column, line, xy (scatter), or bubble chart, click the error bars, the data point, or the data series that has the error bars that you want to remove, or do the following to select them from a list of chart elements:

Click anywhere in the chart.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

On the Format tab, in the Current Selection group, click the arrow next to the Chart Elements box, and then click the chart element that you want.

Do one of the following:

On the Layout tab, in the Analysis group, click Error Bars, and then click None.

Tip: You can remove error bars immediately after you add them to the chart by clicking Undo on the Quick Access Toolbar or by pressing CTRL+Z.

Do any of the following:

Express errors as a percentage, standard deviation, or standard error

In the chart, select the data series that you want to add error bars to.

For example, in a line chart, click one of the lines in the chart, and all the data marker of that data series become selected.

On the Chart Design tab, click Add Chart Element.

Point to Error Bars, and then do one of the following:

Apply the standard error, using the following formula:

s = series number
I = point number in series s
m = number of series for point y in chart
n = number of points in each series
y is = data value of series s and the I th point
n y = total number of data values in all series

Apply a percentage of the value for each data point in the data series

Apply a multiple of the standard deviation, using the following formula:

s = series number
I = point number in series s
m = number of series for point y in chart
n = number of points in each series
y is = data value of series s and the I th point
n y = total number of data values in all series
M = arithmetic mean

Express errors as custom values

In the chart, select the data series that you want to add error bars to.

On the Chart Design tab, click Add Chart Element, and then click More Error Bars Options.

In the Format Error Bars pane, on the Error Bar Options tab, under Error Amount, click Custom, and then click Specify Value.

Under Error amount, click Custom, and then click Specify Value.

In the Positive Error Value and Negative Error Value boxes, type the values that you want for each data point, separated by commas (for example, 0.4, 0.3, 0.8), and then click OK.

Note: You can also define error values as a range of cells from the same Excel workbook. To select the range of cells, in the Custom Error Bars dialog box, clear the contents of the Positive Error Value or Negative Error Value box, and then select the range of cells that you want to use.

Add up/down bars

In the chart, select the data series that you want to add up/down bars to.

On the Chart Design tab, click Add Chart Element, point to Up/Down Bars, and then click Up/down Bars.

Depending on the chart type, some options may not be available.

Источник

Error Bars in Excel

Excel error bars are graphical representations of data variability. They demonstrate the precision of a measurement. Typically, the bars represent the standard deviation and standard error. They indicate how far the true value is from the determined value.

Error bars on charts provide a more comprehensive view of the data set and allow users to see the data’s margins or errors.

How to add error bars in Excel?

You can add error bars to certain types of charts in Microsoft Excel, such as line charts, bar charts, and scatter charts.

The steps below will assist you in adding error bars to your Excel charts:

  • Select your chart by clicking on it.
  • Select the Chart Elements option (plus sign).
  • Check the Error Bars box and then click the arrow next to it. You will be presented with a list of items that you can include in your chart.
  • You can incorporate the following error bars into your chart:
  1. Standard Error: This value represents the average error for all values in the dataset.
  2. Percentage: Calculates the percentage error range and amount for each value.
  3. Standard Deviation: This shows the standard deviation for each value.

How to add custom error bars in Excel?

In most cases, the standard error bars provided by Excel are sufficient. However, if you want to display your own error bars, you can do so as well.

To create custom error bars in Excel, follow these steps:

  • Select a location in your chart by clicking anywhere on it. It will make the three chart option icons available.
  • Select the plus sign (the Chart Element icon)
  • To the right of the ‘Error bars’ option, click the black triangle icon.
  • Select ‘More Options’.
  • Check the Custom box in the ‘Format Error Bars’ pane and click on ‘Specify Value’ button.
  • Enter the positive and negative error values in the Custom Error dialogue box that appears. You can delete the existing value in the field and manually enter the value (without any equal to sign or brackets). In this example, the error bar value is set to 50. Click ok.

How to make individual error bars in Excel?

Follow the below steps to make individual error bars in Excel:

  • Perform steps 1 – 5 described above(How to add custom error bars in Excel?).
  • Delete the contents of the Positive Error Value box in the Custom Error Bars dialogue box, place the mouse pointer in the box (or click the Collapse Dialog icon next to it), and select a range in your worksheet(C2:C5 in for example).
  • Apply the same logic to Negative Error Value. If you don’t want to see negative error bars, enter 0.
  • Click the OK button.

How to add horizontal error bars in Excel?

So far, we’ve only seen vertical error bars. Which are the most frequently used in Excel charting (and can be used with column charts, line charts, area charts, scatter charts)

However, horizontal error bars can be added and used. These can be used with both bar charts and scatter charts.

Here’s an example of how we plotted quarterly data into a bar chart.

The method for adding horizontal error bars is the same as the method for adding vertical error bars that we saw in the previous sections.

How to make error bars for a specific data series?

Adding error bars to all data series in a chart can make it appear cluttered and messy. In a combo chart, for example, it is common practice to assign error bars to only one series. This can be accomplished by taking the following steps:

  • Select the data series to which you want to add error bars in your chart.
  • Select the Chart Elements option.

The following screenshot demonstrates how to create error bars for a data series represented by a line:

As a result, only the Estimated data series that we choose has standard error bars inserted:

How to modify error bars in Excel?

Follow these steps to change the type or appearance of the existing error bars:

  • To access the Format Error Bars pane, do one of the following:
  1. Select Chart Elements > Error Bars > More Options…
  2. Select Format Error Bars from the context menu by right-clicking the error bars.
  3. In your chart, double-click the error bars.
  • Change the type, direction, and end style of the error bars by going to the Options tab (the last one).
  • Go to the Fill & Line tab to modify the color, transparency, width, cap, join, and arrow type (the first one).

How to delete error bars in Excel?

It’s simple to get rid of the error bars. Simply select the error bar you want to delete and press the delete key.

This will delete all the error bars for that series. If you have both horizontal and vertical error bars, you can select only one of them to delete (again by simply selecting and hitting the Delete key).

Источник

Excel error bars are graphical representations of data variability. They demonstrate the precision of a measurement. Typically, the bars represent the standard deviation and standard error. They indicate how far the true value is from the determined value.

Error bars on charts provide a more comprehensive view of the data set and allow users to see the data’s margins or errors.

How to add error bars in Excel?

You can add error bars to certain types of charts in Microsoft Excel, such as line charts, bar charts, and scatter charts.

The steps below will assist you in adding error bars to your Excel charts:

  • Select your chart by clicking on it.
  • Select the Chart Elements option (plus sign).

  • Check the Error Bars box and then click the arrow next to it. You will be presented with a list of items that you can include in your chart.

  • You can incorporate the following error bars into your chart:
  1. Standard Error: This value represents the average error for all values in the dataset.
  2. Percentage: Calculates the percentage error range and amount for each value.
  3. Standard Deviation: This shows the standard deviation for each value.

How to add custom error bars in Excel?

In most cases, the standard error bars provided by Excel are sufficient. However, if you want to display your own error bars, you can do so as well.

To create custom error bars in Excel, follow these steps:

  • Select a location in your chart by clicking anywhere on it. It will make the three chart option icons available.
  • Select the plus sign (the Chart Element icon)
  • To the right of the ‘Error bars’ option, click the black triangle icon.
  • Select ‘More Options’.

  • Check the Custom box in the ‘Format Error Bars’ pane and click on ‘Specify Value’ button.

  • Enter the positive and negative error values in the Custom Error dialogue box that appears. You can delete the existing value in the field and manually enter the value (without any equal to sign or brackets). In this example, the error bar value is set to 50. Click ok.

How to make individual error bars in Excel?

Follow the below steps to make individual error bars in Excel:

  • Perform steps 1 – 5 described above(How to add custom error bars in Excel?).
  • Delete the contents of the Positive Error Value box in the Custom Error Bars dialogue box, place the mouse pointer in the box (or click the Collapse Dialog icon next to it), and select a range in your worksheet(C2:C5 in for example).
  • Apply the same logic to Negative Error Value. If you don’t want to see negative error bars, enter 0.
  • Click the OK button.

How to add horizontal error bars in Excel?

So far, we’ve only seen vertical error bars. Which are the most frequently used in Excel charting (and can be used with column charts, line charts, area charts, scatter charts)

However, horizontal error bars can be added and used. These can be used with both bar charts and scatter charts.

Here’s an example of how we plotted quarterly data into a bar chart.

The method for adding horizontal error bars is the same as the method for adding vertical error bars that we saw in the previous sections.

How to make error bars for a specific data series?

Adding error bars to all data series in a chart can make it appear cluttered and messy. In a combo chart, for example, it is common practice to assign error bars to only one series. This can be accomplished by taking the following steps:

  • Select the data series to which you want to add error bars in your chart.
  • Select the Chart Elements option.

The following screenshot demonstrates how to create error bars for a data series represented by a line:

As a result, only the Estimated data series that we choose has standard error bars inserted:

How to modify error bars in Excel?

Follow these steps to change the type or appearance of the existing error bars:

  • To access the Format Error Bars pane, do one of the following:
  1. Select Chart Elements > Error Bars > More Options…
  2. Select Format Error Bars from the context menu by right-clicking the error bars.
  3. In your chart, double-click the error bars.
  • Change the type, direction, and end style of the error bars by going to the Options tab (the last one).
  • Go to the Fill & Line tab to modify the color, transparency, width, cap, join, and arrow type (the first one).

How to delete error bars in Excel?

It’s simple to get rid of the error bars. Simply select the error bar you want to delete and press the delete key.

This will delete all the error bars for that series. If you have both horizontal and vertical error bars, you can select only one of them to delete (again by simply selecting and hitting the Delete key).

Error Bar in Excel

Excel Error Bar (Table of Contents)

  • Error Bars in Excel
  • How to Add Error Bars in Excel?

Error Bars in Excel

Error bars is one of the graphical representation of data which is used to denote the errors. Also, error bars can have plus, minus or both types of direction with Cap and No Cap style of bars. To insert error bars, first, create a chart in Excel using any Bars or Columns charts, mainly from the Insert menu tab. Then click on the Plug button located at the right top corner of the chart and select Error Bars from there. To further customize the error bars choose More Options from the same menu list.

Error Bar 1

In Error Bar, we have three options which are listed as follows:

  • Errors Bars with Standard Error.
  • Error Bars with Percentage.
  • Error Bars with Standard Deviation.

Error Bar 2

How to Add Error Bars in Excel?

To add error bars in excel is very simple and easy. Let’s understand how to add error bars in Excel with a few different examples.

You can download this Error Bar Excel Template here – Error Bar Excel Template

Example #1

In Microsoft excel standard error bar is the exact standard deviation. The standard error is a statistical term that measures the accuracy of the specific data. In statistics, a sample means deviates from the actual mean of the population, and therefore this deviation is called the standard error.

In this example, we will learn how to add error bars to the chart. Let’s consider the below example where it shows the sales actual figure and forecasting figure.

Error Bar Example 1-1

Now we will apply excel error bars by following the below steps as follows.

  • First, select the Actual and Forecast figure along with the month to get the graph as shown below.

Error Bar Example 1-2

  • Go to the Insert menu and choose the Line chart.

Error Bar Example 1-3

  • We will get the below line chart with an actual and forecasting figure as follows.

Error Bar Example 1-4

  • Now click on the forecast bar so that the actual line will get selected with a dotted line, as shown below.

Error Bar Example 1-5

  • Once we can click on the forecast, we can see the layout menu. Click on the Layout menu, where we can see the Error bar option.

Error Bar Example 1-6

  • Click on the Error Bars option so that we will get the below option as shown below.
  • In the error bar, click on the second option, “Error Bar with Standard Error“.

Error Bar Example 1-7

  • Once we click on the standard error bar, the graph will get changed, as shown below. In the below screenshot, we can see the standard error bar, which shows fluctuation statistic measurement of Actual and forecast report.

Error Bar Example 1-8

Example #2

This example will learn how to add an Excel Error bar with a percentage in the graphical chart.

Let’s consider the below example, which shows a chemistry lab trial test shown as follows.

Error Bar Example 2-1

Now calculate the Average and standard deviation to apply for the error bar by following the below steps.

  • Create two new columns as Average and Standard Deviation
  • Insert Average formula =AVERAGE(B2:F2) by selecting B2: F2.

Example 2-2

  • We will get the average output as follows.

Example 2-3

  • Now calculate the Standard Deviation by using the formula =STDEVA(B2:F2)

Example 2-4

  • We will get the standard deviation as follows.

Example 2-5

  • Now select the Sucrose Concentration Column and AVG column by holding the CTRL-key.

Example 2-6

  • Go to the Insert menu. Select the Scatter Chart that needs to be displayed. Click on the scatter chart.

Example 2-7

  • We will get the result as follows.

Example 2-8

  • We can notice that dotted lines show the average trails figure.
  • Now click on the blue dots so that we will get the layout menu.
  • Click on the Layout Menu, and we can find the error bar option as displayed in the below screenshot.

Example 2-9

  • Click on the Error Bar, and we will get error bar options. Click on the third option called “Error Bar with Percentage”.

Example 2-10

  • Once we click on the Error Bar with the percentage, the above graph will get changed, as shown below.

Example 2-11

  • In the above screenshot, we can see that Error Bar with 5 Percentage measurement.
  • By default, Error Bar with Percentage takes as 5 Percentage. We can change the Error Bar Percentage by applying custom values in excel, as shown below.
  • Click on the Error Bar where we can see More Error Bar Option as shown below.
  • Click on the “More Error Bar option”.

Example 2-12

  • So that we will get the below dialogue box, we can see in the percentage column by default, excel will take as 5 Percent.

Example 2-13

  • Here In this example, we are going to increase the Error Bar Percentage by 15 %, as shown below.

Example 2-14

  • Close the dialogue box so that the above Error bar with percentage will be get increased by 15 percentage.
  • In the below screenshot, Error Bar with Percentage shows 15 percentage Error Bar measurement of 1.0, 1.0, 0.0, -1.3 and at last with value -1.4 in blue color dots as shown in the below screenshot.

Example 2-15

Example #3

In this example, we are going to see how to add an Error Bar with Standard Deviation in Excel.

Consider the same example where we have already calculated Standard deviation as shown in the below screenshot where it shows chemistry labs test trails with average and standard deviation.

Example 3-1

We can apply an Error Bar with a Standard Deviation by following the below steps.

  • First, select the Sucrose Concentration column and Standard deviation Column.
  • Go to the Insert menu to choose the chart type and select the Column chart as shown below.

Example 3-2

  • We will get the below chart as follows.

Error Bar Example 3-3

  • Now click on the Blue Colour bar so that we will get the dotted lines as shown below.

Error Bar Example 3-4

  • Once we click on the selected dots, we will get the chart layout with the Error Bar option. Choose the fourth option, “Error Bars with Standard Deviation”.

Error Bar Example 3-5

  • So that we will get the below standard deviation measurement chart as shown in the below screenshot.

Error Bar Example 3-6

  • To show the Error bar in Red Bar, follow the same process as illustrated above.

Error Bar Example 3-7

As we can notice that error bars showing a standard deviation of 0.5, 0.1, 0.2, 0.4 and 1.0

Things to Remember 

  • Error Bars in Excel can be applied only for chart formats.
  • In Microsoft excel, error bars are mostly used in chemistry labs and biology, which are used to describe the data set.
  • While using Error bars in excel, make sure that you are using the full axis, i.e. numerical values must start at zero.

Recommended Articles

This has been a guide to Error Bars in Excel. Here we discuss how to add Error Bars in Excel along with excel examples and a downloadable excel template. You can also go through our other suggested articles –

  1. Excel Clustered Column Chart
  2. Excel Scatter Plot Chart
  3. Histogram Chart Excel
  4. Excel Waterfall Chart

How to Add Error Bars in Excel? (Step by Step)

Below are the steps to add error bars in Excel:

  1. First, we must select the data and the line graph from the “Insert” tab.

    Errors bar Step 1

  2. Next, we will get the following line graph by clicking the line graph.

    Errors bar Step 2

  3. We can find the “Error Bars” option under the “Layout” tab under the “Analysis” group. For example, the following screenshot shows the same.

    Errors bar Step 4

  4. There are various “Error Bars” options available.

    Errors bar Step 3

  5. “Error Bars with Standard Error.” “Standard Error,” i.e., SE, is the standard deviation of a sampling distribution. The magnitude of SE helps give an index of the precision of the estimate of the parameter. The standard error is inversely proportional to the size of the sample. That means that the smaller the sample size, the greater the standard errors.

    Errors bar Step 5

    In the below screenshot, the error bars with standard errors are given. All the data points in the series display the amount of error in the same height for Y error bars and the same width for X error bars.

    Errors bar Step 6

    The below screenshot shows that the straight line is drawn from the minimum of the maximum value, i.e., “Red maple” overlaps with the outermost value of the species “Black maple.” It signifies that the data for one group is not different from the other.

    Errors bar Step 7

  6. Error bars with Percentage

    It uses the percentage specified in the “Percentage” box to calculate the error amount for each data as a percentage of the value of that particular data point. The Y error bars and X error bars are based on a percentage of the value of the data points and vary in size as per the percentage value. By default, it takes the percentage as 5%.

    Errors bar Step 6

    Errors bar Step 6-1

    The default 5% value can be seen from the “More Error Bars Options” given in the screenshot below.

    Errors bar Step 6-2

    Errors bar Step 6-3

  7. Error bars with Standard Deviation

    “Error Bars with Standard Deviation” is the average difference between the data points and their mean. Usually, a one-point standard deviation is considered while creating the error bars. The standard deviation is used when the data is normally distributed, and the pointers are usually at equal distances.

    Errors bar Step 7

    A line is drawn on the maximum data point, i.e., “Red maple” coincides with the maximum error point of “Black maple.” It signifies that the data for one group is not different from the other.

    Errors bar Step 7-1

Table of contents
  • How to Add Error Bars in Excel? (Step by Step)
    • How to Add Custom Error Bars in Excel?
    • Things to Remember
    • Recommended Articles

How to Add Custom Error Bars in Excel?

We can also make custom error bars apart from the three error bars, i.e., error bars with standard error, error bars with standard deviation, and error bars with percentage.

Custom Bars 1

The minus display is the error to the lower side of the actual value. So, click on the “minus” tab.

Custom Bars 2

Custom Bars 3

Similar to minus, the plus can also be taken, representing the error to the upper side of the actual value. Therefore, click on the “plus” tab.

Custom Bars 4

Custom Bars 5

We can also visualize the error bars without the cap. For example, in the vertical error bars tab, we need to click or select direction as an end style and no cap.

Custom Bars 6

Custom Bars 7

You can download this Error Bars Excel Template here – Error Bars Excel Template

Things to Remember

  1. The error bars in Excel are the graphical representation that helps visualize the variability of data given on a two-dimensional framework.
  2. It helps indicate the estimated error or uncertainty to give a general sense of how accurate a measurement is.
  3. The accuracy is understood by the marker drawn over the original graph and its data points.
  4. The Excel error bars display the standard error, standard deviation, or percentage value.
  5. Error bars are usually by drawing cap-tipped lines extending from the center of the plotted data point.
  6. The error bars’ length usually helps reveal the uncertainty of a data point.
  7. Depending on the length of the error bars, we can estimate the error. For example, a short error bar shows that the values are more concentrated, directing that plotted average value is more likely to be reliable. On the other hand, the error bar indicates that the values are more spread out and are less likely to be reliable.
  8. We can customize error bars through the more error bars option.
  9. In the case of skewed data, the length on each side of the error bars would be unbalanced.
  10. The error bars usually run parallel to the quantitative scale axis. Therefore, the error bars can be visualized horizontally or vertically depending on whether the quantitative scale is on the X-axis or the Y-axis.

Recommended Articles

This article has been a guide to Error Bars in Excel. Here, we discuss adding error bars in Excel (standard deviation, percentage error, and custom error bars), practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –

  • VBA Status Bar
  • Status Bar in Excel
  • Scroll Bars in Excel
  • Slicers in Excel

Reader Interactions

Purpose — to add error bars to an Excel chart using custom data

Links to topics on this page
  • What are error bars?
  • Error bars in Excel
  • Video — plot custom error bar data on an Excel chart
  • Calculate custom error bar data to plot on an Excel chart
  • Description — plot custom error bar data on an Excel chart
Excel chart showing error bars
What are error bars?

Error bars show the degree of error or variation in a variable or parameter. They are also referred to as confidence intervals or confidence levels. Error bars plot the range of values for which there is a specified probability that the true value of a parameter lies within that range.

Error bar options in Excel charts
Error bars in Excel

There are standard options to choose from when adding error bars to Excel charts: Standard Error, Percentage, Standard Deviation, or a Fixed Value.

There is also the option to add custom error bar data, by selecting on More Options… from the Error Bars dropdown in the Chart Elements selector.

The custom error bar option is the method shown below.


Method — plot custom error bar or confidence interval data on an Excel chart


Custom Error Bars dialog box in Excel
Calculate custom error bar data

The key to adding custom error bar or confidence interval data to an Excel chart is to calculate the difference between the upper and lower error values and the series values to be plotted. Include these values in your data table to load into the chart.

In the data table example below, the data table contains the variable (series) values (Rate), and Lower and Upper confidence levels (CL). The error values to plot in the error bars have been calculated as follows:

  • Positive Error Value = Upper CL minus Rate
  • Negative Error Value = Rate minus Lower CL.

These are the values that are selected into the error values fields in the Custom Error Bars dialog box.

  • Excel takes the Positive Error Value and adds it back to the series value to plot the right-hand end of the error bar.
  • Excel takes the Negative Error Value and subtracts it from the series value to plot the left-hand end of the error bar.
Screenshot of data table and bar chart with error bars
Format Error Bars pane in Excel charts
Chart Elements selector in Excel
Add custom error bars to a chart in Excel
  • Add the error bar data to your data table for the chart — see calculate error bar data above for more details.
  • Select the chart and click on the big plus (+) sign (which appears at the top right hand corner of the chart) to open the Chart Elements options.
  • Select Error Bars | More options…
  • In the Format Error Bars pane, on the tab with the bars symbol, scroll down to find the ‘Custom‘ radio button, and click in the ‘Specify Value‘ box.
  • The Custom Error Bars dialog opens, and you can then select the error values to plot in the error bars. The positive and negative error values go into the separate selection fields.

Понравилась статья? Поделить с друзьями:
  • What are designed word processors for
  • What are denotational and connotational meanings of a word
  • What are databases in excel
  • What are data types in excel
  • What are data tables in excel used for