The Wayback Machine - https://web.archive.org/web/20240529014545/https://www.geeksforgeeks.org/how-to-add-error-bars-in-google-sheets/
Open In App

How to Add Error Bars in Google Sheets

Last Updated : 29 Dec, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Google Sheets is the popular online spreadsheet editor from the house of Google. It provides a simple, decluttered interface and a wide range of features. Also, you can easily create charts and graphs in Google Sheets from the entered data.

Error bars are the visual representation of errors in a graph. If we are creating a chart of data, that has a specific error rate, then to represent that error in the graphs, we use Error bars. You can easily add Error bars to graphs in the Google Sheets.

This article will discuss how to add error bars in Google Sheets.

How-to-add-Error-Bars-in-Google-Sheets

Add Error Bars in Google Sheets

It is very simple to add error bars in Google Sheets. The option to enable the error bar in Google Sheets is present in the Customise tab of the Chart editor of Google Sheets. The step-by-step procedure to add error bars in Google Sheets is given below.

Step 1: Highlight the data to be included

Open the spreadsheet to which you want to add the chart. Then, select the data to be included in the chart.

sc1

Highlight the data

Step 2: In the File Menu Select Insert followed by Chart

After selecting the data, click on the Insert from the top bar and then click on the chart from the Insert menu. It will insert a chart corresponding to the selected data.

sc2

Insert chart

Step 3: Go to the Customise Tab in the Chart Editor and Click Series

Now, a chart will be inserted and on the right side, you can see Chart Editor. From the chart editor, open the Customise tab and click on series to expand the series menu.

sc3

Open series menu

Step 4: Select the Checkbox Next to Error Bars in the Series Dropdown Menu

Scroll down a little in the series menu and find a checkbox option named “Error bars”. Then select the checkbox next to “Error bars” to enable the error bar in the chart.

sc4

Enable error bars

Step 5: Set the Error Bar Type and Value Input

After enabling the Error bars, you can choose the type of error bar and set the value of the error bar. The option for selecting types and setting values will appear right below the error bar checkbox after you enable it.

By default, the error bar type is Percentage, clicking on it will show a dropdown menu consisting of four options: None, Percentage, Constant, and Standard deviation. You can require an error bar type from the dropdown menu.

sc5

Set error bar type and value

Step 6: Preview Error Bars on the Column Chart

Now you can see the chart with an error bar enabled in it.

sc7

Chart with error bars

How to Add Vertical/Horizontal Error Bars In Google Sheets

To add an error bar in vertical or horizontal charts, the same method described above is used. If you want to add a vertical error bar in Google Sheets, insert a vertical chart, then go to the chart editor and enable the error bar.

sc7

Chart with vertical error bar

Similarly, to add a horizontal error bar in Google Sheets, insert a horizontal chart, then go to the chart editor and enable the error bar.

sc8

Chart with horizontal error bar

How to Add Error Bars To a Column Chart in Excel

Microsoft Excel is also a feature-rich tool for making spreadsheets. Unlike Google Sheets, which is online-only, Excel is available online and offline. It is very easy to enable error bars in Excel. The step-by-step procedure to enable error bars in Excel is given below.

Step 1: Select the Chart and Add the Error Bar

Open your Excel file and select a column chart. Then click on the “Plus” button to open the chart elements menu. On the chart elements list, you can see the checkbox option next to “Error bars”. Click on it to enable the error bars in the edge.

sc9

Add error bar in Excel

Step 2: Open More Options

Now, to modify the values of the error bar, select the arrow next to “Error Bars” and then select more options. You can also change the error bar type from the same menu.

sc10

Open “More options” of the Error bar

Step 3: Set the Error Bar Types and Value

Now you can see the Format options of the error bar on the right side of the window. There you can find the options to change the type of error bars and also options to set the value of error. Select your desired error bar type and value.

sc11

Modify error bar type and value

Step 4: Error bars are displayed

Now you can see the error bar in your chart in Microsoft Excel.

sc12

Column chart with error bar in Excel

Types of Error Bars in Google Sheets

There are three types of error bars in Google Sheets. They are explained below:

Percentage

In percentage error bars, a specific percentage of a data point is considered a possible error, and it is marked. For example, if a 10% error is given for a value of 50, then an error bar is drawn from 45-55 (90%-110% of the value).

Constant

In constant error bars, a specific value is considered an error. For example, if 5 is considered a constant error for a value of 100, then the error bar is drawn for Âą5. That is, the error bar is drawn from 95-105.

Standard deviation

Standard deviation refers to the average variability of a dataset. Unlike constant and percentage error bars, which are drawn at the end points of a bar, Standard deviation error bars are drawn from the mean value of the dataset. For example, if the mean value is 42 and the standard deviation is 7, then the error bar is drawn from the range 35-49. Another thing to note is that, what you enter in the value column of standard deviation, is multiplied by the standard deviation of the dataset and an error bar will be drawn in that range. Considering the previous example, if you enter value 2, then the range is 28-56, if your value is 0.5, then the range is 38.5-45.5 and if the value is 1, then the range is 35-49, that is how it works.

Conclusion

Error bars play an important role in charts and graphs. It shows the possible error or uncertainty of a measurement. And you can use Google Sheets to easily add error bars to your graphs. We hope the article was insightful for you, and feel free to share your thoughts in the comments!

Frequently Asked Questions (FAQs)

Can I format the error bars in the Google Sheets?

You cannot format the error bar created in Google Sheets.

What are constant error bars in Google Sheets?

Constant error bars are those error bars who have a constant value as its error.

How do you insert error bars?

To add error bars, go to Chart editor>Customise>Series and click on error bars checkbox.
 


Similar Reads

How to Add Bullet Points in Google Sheets
Insert Bullets Into Google SheetsSelect the Cell to Insert Bullet PointPress F2 to enter Edit mode.Press ALT + 7 to enter a bullet into the cell.Add Text in the CellAre you ready to take your Google Sheets skills to the next level? Whether you're a spreadsheet novice or a seasoned pro, there's always something new to learn that can enhance your pro
7 min read
How to Add and Use Checkbox in Google Sheets
How to Insert a Checkbox in Google Sheets - Quick StepsOpen your document.Click the cell.Go to "Insert" > "Checkbox."In the ever-evolving landscape of data management and collaboration, Google Sheets continues to be a trusted ally for users worldwide. However, it's not just about numbers and formulas – sometimes, it's the little checkboxes that
8 min read
How to Add Trendline in Google Sheets
In general, a trendline is a straight or curved line that provides a visual representation of the data points of the data. The trendlines are used in various industries like finance, science, and Data Analysis Companies. The uses of trendlines are as follows They are used to identify the whole trend direction of the data. Whether it's upward, downw
5 min read
How to Add Dropdown List in Google Sheets
A drop-down list is a very handy tool for someone who is collaborating with other people for data entry in Google Sheets. Why? Well, not only does a drop-down save time and make the data entry process faster, but it also reduces errors and helps in maintaining the uniformity of a Google sheet. If you are also looking to use a drop-down in Google Sh
8 min read
How to Add Borders in Google Sheets
How to Add Borders in Google Sheets - Quick StepsOpen Google SheetsSelect dataSelect BorderSelect Border Style >> Click "Apply" Ready to level up your Google Sheets game? Adding borders isn't just about looks – it's a neat way to organize and highlight your data. Imagine your info neatly framed and sections clearly defined. In this guide, we'
5 min read
How to Add Date and Time in Google Sheets
How to Add Time in Google Sheets- Quick StepsOpen your Google Sheets document.Click on the cell where you want to insert the time.Type the time in the desired format (e.g., 3:30 PM).Press Enter, and the time will be inserted into the cell.Time management is crucial, both in daily life and in spreadsheet mastery. In the dynamic world of spreadsheet
12 min read
How to Add Date in Google Sheets
How to Add Date Automatically in Google Sheets - Quick StepsOpen Google SheetsEnter Date >> Select CellDrag DownRelease when Date enteredGoogle Sheets is a web-based spreadsheet offered by Google Docs Editor suite. Google Sheets provides you with many features such as real-time collaboration in projects with your friends, you can build a cont
6 min read
How to Add Filter in Google Sheets
Google Sheets is a powerful tool for organizing and analyzing data, but its capabilities extend far beyond simple spreadsheet functions. One of its most useful features is the ability to add filters, which can dramatically change the way you view and manage your information. Adding a filter in Google Sheets helps in organizing and analyzing data mo
9 min read
Best Google Sheets Add-ons and Extensions to Use in 2024
Google Sheets add-ons are tools that you can plug into your spreadsheet to give it extra superpowers. They let you do things that aren't possible with the regular Sheets program. There are add-ons for all sorts of tasks like automating boring stuff, bringing in data, making data shine, sending personalized emails, and many more. [caption width="800
7 min read
Create a BMI Calculator using Google Forms and Google Sheets
How to Create BMI Calculator in Google Forms What is BMI?How to Create a Google Form for BMI CalculationCreating a Google Form for BMI CalculationEstablishing the BMI calculatorBMI Calculations in Google SheetsConclusionFAQS on BMI Calculator Tired of those confusing weight charts and old-fashioned BMI calculators? Want a quick and easy way to see
6 min read