Graphing individual error bars on scatter plot in Google Sheets (new)

  Рет қаралды 153,272

Ben Paulson

Ben Paulson

Күн бұрын

Google sheets has a new graphing interface. Many people have been frustrated by the limited options for adding error bars on scatter plots. Here I show a workaround that will allow you to put error bars with a different magnitude on each data point on your graph.
Update: To add a trendline to the same graph, go back to Data section of the chart editor, and select "add series" then select your mean values in a column, including the header 'mean' ie in my video, I'd select G1:G6 as series 6. It will just overlay another set of dots on top of your existing ones. Then Customize, Series, click the Apply To: dropdown menu and select the series that you just added, and you should be able to add a trendline to that series

Пікірлер: 163
@Anna-vx4qi
@Anna-vx4qi 5 жыл бұрын
Thank you! I'm currently writing my IB Biology HL IA and this is soooooo helpful!!!!
@catherineziegler9498
@catherineziegler9498 5 жыл бұрын
What the heck I'm writing mine now too!! lol how is this video helping us all out!? But mine is due tomorrow and it's like midnight so honestly I might give up
@Anonymous-vn8ik
@Anonymous-vn8ik 4 жыл бұрын
IB BIO HL as well, but it's the start of the year though and my teacher is reviewing statistics and data
@pola9733
@pola9733 4 жыл бұрын
I guess we all end up here eventually... currently writing my bio hl ia as well
@alessandromatrone3134
@alessandromatrone3134 4 жыл бұрын
here for Physics IA lol
@mariawang7619
@mariawang7619 4 жыл бұрын
ahahaha same i chocked when he said "ib"
@truthsmiles
@truthsmiles Жыл бұрын
It's 2023 and sadly this video is still very much needed. Thanks for the help!
@isaakvandaalen3899
@isaakvandaalen3899 4 жыл бұрын
There is a special place in heaven for this man. Thank you.
@isaakvandaalen3899
@isaakvandaalen3899 4 жыл бұрын
Okay guys, let's be real. Who else is here because they put their data into Spreadsheets even though the lecturer recommended Excel, and you thought "Pfft it'll be fine they're practically identical except one is saved in the cloud", only to try and make your graph to find that you can't assign custom error values, and you just don't have the time or patience to copy your entire dataset into Excel you needed to emergency google search how to do this???
@BenPaulson
@BenPaulson 4 жыл бұрын
Happy you found it useful! Good luck to all the IB students out there, especially now that your IAs are extra important :)
@gamestown3019
@gamestown3019 5 жыл бұрын
Thank you! this video was a big help. Also, thanks to those in the comments who helped me figure out how to add a trendline.
@summerwebb7618
@summerwebb7618 4 жыл бұрын
Thanks so much for this, having to switch an Excel based stats class to online format because of COVID and many students don't have paid Excel access! This was super helpful and straight forward.
@aaronmcgowan5444
@aaronmcgowan5444 2 жыл бұрын
This is a nice workaround for five data points. But how would you deal with 1,000 data points? Or the need to have asymmetrical error bars, with a different + and - value? It's sad that Google hasn't done anything about this for years.
@user-sd3mc5px6r
@user-sd3mc5px6r 4 жыл бұрын
Thank you!! I am editing my Bio EE and this was soo helpful!
@rachelfranklin4440
@rachelfranklin4440 5 жыл бұрын
I have been struggling to teach my IB biology kids how to do this for years and every new year brings new swear words (in my head, of course). I finally resorted to having them plot error bars in pencil on printed graphs. Thanks for helping us all out.
@MrCommentor2
@MrCommentor2 5 жыл бұрын
facts literally using this video for ib bio
@catherineziegler9498
@catherineziegler9498 5 жыл бұрын
aww that's so nice that you actually teach your kids things!! My teacher doesn't teach us anything and I have to watch this video and figure it out for myself. Oh and he also just told us today, the day before our IA is due, that we need to have std dev bars.... like okkkkkkk
@raysdesk
@raysdesk 5 жыл бұрын
@@MrCommentor2 lmao what up rushil
@MrCommentor2
@MrCommentor2 5 жыл бұрын
@@raysdesk LMAOO hello 😂😂😂 nm u
@PiersSupport
@PiersSupport 6 жыл бұрын
This is a great work around. Thanks so much for the video and the comment about adding a trendline (I had the same question!).
@KM-je5wr
@KM-je5wr 5 жыл бұрын
I was knocking my head against the wall until I found this video. Thank uuu!!!
@TheBiotrumpeteer
@TheBiotrumpeteer 6 жыл бұрын
Thanks man!! Huge help, and clear explanation.
@edita88
@edita88 4 жыл бұрын
This video just saved my life. Thank you.
@taejunkim
@taejunkim 4 жыл бұрын
Thank you very much. Exactly what I was looking for.
@ericamarx6120
@ericamarx6120 5 жыл бұрын
This is why i love the internet. THANK YOU for this.
@claudialoh8579
@claudialoh8579 5 жыл бұрын
Thank you so much! This was a life saver.
@suzannefetherling4693
@suzannefetherling4693 2 жыл бұрын
Yes! AP Biology teachers thank you. I know how to do this in Excel, but have never figured out the individual error bars in Google Sheets.
@brettrodkey8881
@brettrodkey8881 4 жыл бұрын
There was very helpful. Thank you so much!
@annazeng3963
@annazeng3963 5 жыл бұрын
"You are an angel sent from above" said by my groupmate after i did the graph by watching this video. YOU are an angel sent from above :)
@masteertwentyone
@masteertwentyone Жыл бұрын
Still working in 2022. Note to anyone dealing with x and y values that have completely different scales (i.e. one is orders of magnitude larger or smaller): you have to manually go in and change the horizontal and vertical axis minimums and maximums in order to have a graph that actually functions.
@austincovey3773
@austincovey3773 5 жыл бұрын
Saved my life, thank you
@jas17p
@jas17p 3 жыл бұрын
I just found this video after having issue with excel and then discovering sheets didn't have a separate error bar system. TYSFM!
@aidanchang3868
@aidanchang3868 Жыл бұрын
This helped me so much, thank you
@rogerobrient8339
@rogerobrient8339 Жыл бұрын
Google sheets has a transpose() function that automates the process of setting up the table, and as someone already noted, you can fill the table in a way that references the cells of the original column with the mean such that everything auto-updates. But it looks like you still have to manually enter the standard deviation values into the chart, so that won't auto-update. Also, shouldn't you be using the standard deviation of the mean (sigma/sqrt(N)) for the error bars?
@laylahussain9374
@laylahussain9374 5 жыл бұрын
This video was sent down from heaven from Jesus Christ himself. I was losing hope of ever completing my insignificant grade 12 biology lab report. After countless days and many awful tutorials, I finally found this incredible solution. This video cured me of depression.
@harumimerrill390
@harumimerrill390 5 жыл бұрын
How can I add error bars for x values?
@irwanahmed001
@irwanahmed001 3 жыл бұрын
Hi how do you add a trendline to the values after separating them into different series?
@NHL17
@NHL17 2 жыл бұрын
I was just wondering the same thing. It is extremely frustrating that this is the way you have to do things in Google Sheets. I would add an additional series containing all values and add the trendline to that, then hide the values (make the series transparent)
@stephenceja3229
@stephenceja3229 3 жыл бұрын
can you add a trend line along with the error bars because I cannot figure that out!
@matthewfarrington8655
@matthewfarrington8655 4 жыл бұрын
Hahaha, I'm doing my IB Chemistry HL IA right now, and for me also, this was extremely helpful. Thanks for the clever trick.
@edenlowinger5607
@edenlowinger5607 6 жыл бұрын
Thank you! Super helpful!!
@BenPaulson
@BenPaulson 6 жыл бұрын
You're welcome! Glad you found it useful :)
@omoniyitope7826
@omoniyitope7826 Жыл бұрын
Thank you for the good work. Please how can i do it for multiple bar graph for different categories of observations.
@braedenlarson9122
@braedenlarson9122 4 жыл бұрын
Thank you, this makes my Physics SL lab so much more managable lol
@scarsmakestars
@scarsmakestars 3 жыл бұрын
I'm literally doing my IB Physics IA right now 😭
@braedenlarson9122
@braedenlarson9122 3 жыл бұрын
@@scarsmakestars good luck, I got a 7 lol, so this must be a good method lol
@scarsmakestars
@scarsmakestars 3 жыл бұрын
@@braedenlarson9122 did you create a line of best fit on your graph too? I'm using google sheets right now and I don't know how to create one when you have individual error bars. If you created a line of best fit, please tell me how you did it!!
@braedenlarson9122
@braedenlarson9122 3 жыл бұрын
@@scarsmakestars yeah you can do both, just do what the video says and make an extra series for the fit and then do individual series for each point
@xxjaykayxx
@xxjaykayxx 4 жыл бұрын
thank you, grade saver 🙌🙌
@Gabriel198765432
@Gabriel198765432 6 жыл бұрын
Nice tips! Thank you! im currently trying to insert an equation for the trendline i just added (following the steps you told the other guy in the comments), but when i try to label the new data series (the one with the trendline), the option Label - Use equation is not available. Is there something i can do about this?
@BenPaulson
@BenPaulson 6 жыл бұрын
You may need to turn on the legend first. Unfortunately though, it will then show a dot for each of the separate series that corresponds to each data point, which looks ugly and confusing. What I recommend to my students is to do that temporarily so that you can see the equation of the line, then turn it off, and instead just manually type the equation of the trendline either as subtitle text for the graph title, or you could screenshot the graph and then edit the image with any image-editing software to just add a text box with the equation wherever you want it. All very clunky solutions, but until Google supports it better its the best solution I've found :)
@Gabriel198765432
@Gabriel198765432 6 жыл бұрын
Ben Paulson Thanks a lot! I've never tried plotting these kind of charts, and so far, your videos helped me a lot! 😇
@ClarkKent-nv9tn
@ClarkKent-nv9tn 6 жыл бұрын
I love this sooooo much
@tast_
@tast_ 3 жыл бұрын
The hero we didn't deserve but needed
@julianguyen3280
@julianguyen3280 3 жыл бұрын
you are a lifesaver thank you
@belencarreira1665
@belencarreira1665 4 жыл бұрын
how do you include error bars for both axis?
@davidvijayramchurn1860
@davidvijayramchurn1860 3 жыл бұрын
Does anyone know how to put error bars in both horizontal and vertical directions - to make a zone of uncertainty?
@rara-cn5rx
@rara-cn5rx 3 жыл бұрын
susbscribed becasue this video was so so helpful. Helped a lot in my iA
@Scarletmoon02
@Scarletmoon02 3 жыл бұрын
How can I add a trendline to this kind of graph? Clicking trendline and applying to all series isnt working
@caitlingee642
@caitlingee642 3 жыл бұрын
I have two different values for mean, so I want two different lines but on the same graph. Does anyone know how to format that?
@raneen2573
@raneen2573 5 ай бұрын
Thank you so much!!
@seoyoonjin2833
@seoyoonjin2833 5 жыл бұрын
wow this is so much work to do, I have 39 data points to do hahahaha
@isaakvandaalen3899
@isaakvandaalen3899 4 жыл бұрын
60 for me XD. I'm laughing because otherwise I'd be crying.
@magispitt
@magispitt 3 жыл бұрын
@@isaakvandaalen3899 ah damn I'm looking at 501 data points for 5 different samples - honestly google sheets just doesn't work for this
@enzolong9085
@enzolong9085 Жыл бұрын
smart workaround... not sure how useful it is in practice though considering the tediousness... especially with a data set comparing multiple variables. this also leaves you with a bunch of points which cannot be connected by a best fit line anymore. really unfortunate that they haven't implemented a way to do this as a standard feature...
@samrahassan5550
@samrahassan5550 3 жыл бұрын
how do I add error bars in the x values??
@jmcconnaughey8369
@jmcconnaughey8369 5 жыл бұрын
What you want starts at 4:20
@lvdesideri3440
@lvdesideri3440 3 жыл бұрын
Nice
@rampranavnavendran8330
@rampranavnavendran8330 4 жыл бұрын
How do I add an error bar for the x axis
@lydiaani9864
@lydiaani9864 4 ай бұрын
is there a way to add a trend line?
@Antevanten1
@Antevanten1 3 жыл бұрын
What to do when stdev
@Narabedla4
@Narabedla4 4 жыл бұрын
How is this not a normal function in Sheets/excel etc.? This is vital to any decent measurement. edit: it is possible to do on excel, have the stdev in a column besides the values and use the personalized error option and pick the whole area/column.
@Freezo90967
@Freezo90967 4 жыл бұрын
Yeah just google sheets that didn't consider to add a feature like that.
@wilsonpsotka8045
@wilsonpsotka8045 5 жыл бұрын
Thank you so much
@miriamguthrie8726
@miriamguthrie8726 3 жыл бұрын
Hi, thanks for this video, it's really helpful, however, it was made in 2017 and I'm here in 2021 trying to do my IB Bio IA and the program has slightly changed. I could follow you up to the point where you selected each individual point to but the error bar. I could do this, but then it added the error bar to every single point, with the designated color to all the different points, so then when I added the individual error bars for each point, each point had 5 error bars! Any way you know how I can fix this, or another way to do it now? Thanks!
@BenPaulson
@BenPaulson 3 жыл бұрын
It’s sounds like you are applying the changes to all series, instead of editing the options for each “series” one at a time. Each series in this case represents each individual data point.
@mederikcaron
@mederikcaron 6 жыл бұрын
Thank you, very useful :)
@BenPaulson
@BenPaulson 6 жыл бұрын
You're welcome! Glad you found it useful :)
@d.d.4299
@d.d.4299 5 жыл бұрын
Does anyone know how to add a trendline to this multiple series stdev error bar graph? On my google sheets it will not add it.
@d.d.4299
@d.d.4299 5 жыл бұрын
The answer below but it is so clunky.... google please fix this!!!!!!!!!!!!
@ruoqianyang1925
@ruoqianyang1925 4 жыл бұрын
what about horizontal error bars??
@Carl-lm5mz
@Carl-lm5mz 4 жыл бұрын
you can't do them in google sheets
@ionamaze4938
@ionamaze4938 2 ай бұрын
Ben I love you thankyou
@matthewa1729
@matthewa1729 6 жыл бұрын
Can we do separate error bars like this AND put a trendline connecting the points on the same graph? I can't find a way to do both, only one or the other...
@BenPaulson
@BenPaulson 6 жыл бұрын
Great question! Go back to Data section of the chart editor, a select "add series" then select your mean values in a column, including the header 'mean' ie in my video, I'd select G1:G6 as series 6. It will just overlay another set of dots on top of your existing ones. Then customize > series, click the Apply To: dropdown menu and select the series that you just added, and you should be able to add a trendline to that series.
@angelinatsa
@angelinatsa 6 жыл бұрын
Is there a way to do it when you have two data sets graphed?
@mydearriley
@mydearriley 4 жыл бұрын
Also looking for this answer.
@jessesimpson777
@jessesimpson777 3 жыл бұрын
Thanks!
@zacharythomas5046
@zacharythomas5046 4 жыл бұрын
Is this really the best way? Man this is painful ... But, of course, thanks for the video!
@maddyr1763
@maddyr1763 4 жыл бұрын
this did not work for me!! I was able to put in all the different values but they were applied to every graph??? idk how to differentiate them bc my excel does not look like this :(
@BenPaulson
@BenPaulson 4 жыл бұрын
maybe check that your data is listed as separate “series” and then as you edit each series also make sure that when adding standard deviation that you select “constant” rather than percent before typing in the desired std dev for each respective data point (which should each appear as its own series)
@martinkramarcik5368
@martinkramarcik5368 4 жыл бұрын
Why we do have to insert STD manually? I really don't understand why I cant mark a cells with STD, like in excel.
@BenPaulson
@BenPaulson 4 жыл бұрын
I totally agree! it is frustrating that google hasn’t built in this functionality like Excel has. This is certainly not an intuitive or simple but it does work if you can beat with how clunky it is.
@tanawutsrisuk2988
@tanawutsrisuk2988 4 жыл бұрын
Thank you
@yyeahsure
@yyeahsure 3 жыл бұрын
This rocks, except then you cant add a trend line normally! what were they THINKING?!
@nadiapai8511
@nadiapai8511 3 жыл бұрын
figured this out! add one more column at the end with all of the values, and then it can create a trend line based on that set
@monkeystuffing2116
@monkeystuffing2116 4 жыл бұрын
Thanks Bhruv
@BrokenStar
@BrokenStar 3 жыл бұрын
how do u put a trendline using this method?
@BenPaulson
@BenPaulson 3 жыл бұрын
Please read the video description, I’ve included instructions there :)
@martinafazioli9155
@martinafazioli9155 3 жыл бұрын
Muchas gracias!!!
@meltemmusa2950
@meltemmusa2950 3 жыл бұрын
why is the error bars +/- "1" and not another number at 9.06 minutes ?
@BenPaulson
@BenPaulson 3 жыл бұрын
This means +/- one of the standard deviation, whatever it was calculated to be. So it’s not a value, it’s like saying + 1x where x is the standard deviation, because the value varies for each data series. So adding and subtracting one times the value of the standard deviation. That range, the mean +/- 1 SD is where 68% of the individual values in the population are expected to fall, if the population is normally distributed. Error bars can convey a variety of statistics, Standard deviation (SD) standard error (SE), confidence interval (CI) etc so it’s necessary to tell the reader where you got the values for your error bars.
@gnpar
@gnpar 5 жыл бұрын
Relevant part starts at around 4:16
@kevenge7287
@kevenge7287 4 жыл бұрын
So we can't have a trend line and individual error bars?
@BenPaulson
@BenPaulson 3 жыл бұрын
I’ve included a description of how to add a trendline in the video’s description :)
@kevenge7287
@kevenge7287 4 жыл бұрын
Thanks so much, IA due in 3h lol
@soph2003
@soph2003 5 жыл бұрын
Ahhh help!! How can I get a trendline now???
@THR
@THR 5 жыл бұрын
You can have anoter series of data, with the same values, regularly noted in the spreadsheet. You then ask for trendline for this new data series. The sheet applies one trendline per series of data. You may want to make the dots with the same color as the other series. Using this method, you may insert results of two (or more) different experiments on the same chart. The trick for having error bars used separatedly on each series of data. Of course, this is TEDIOUS, and as much as I love the google suit - in this case using excel is oh so much simpler...
@THR
@THR 5 жыл бұрын
Also, look 17 comments below, it was already suggested...
@MarcCastellsBallesta
@MarcCastellsBallesta 3 жыл бұрын
I've been using python libraries to plot stuff for the last 15 years. A new job forced me to learn how to use Google Sheets. When it comes to drawing plots, I miss python A LOT! I was looking for drawing error bars in student's grade books. I can't do this manually with 40+ students per subject. Google sheets is quite cool, but the chart part is deeply shameful.
@amrabdalla5752
@amrabdalla5752 4 жыл бұрын
but how do you add a trendline on it all tho??
@BenPaulson
@BenPaulson 3 жыл бұрын
I’ve included a description of how to do it in the videos description :)
@amrabdalla5752
@amrabdalla5752 3 жыл бұрын
@@BenPaulson thanks man but i done graduated already, thanks tho :)
@elizabethslover7353
@elizabethslover7353 4 жыл бұрын
But how can I do this with a column chart?
@B3G_CRY_
@B3G_CRY_ 4 жыл бұрын
It seems to work the same, but the bars are just super skinny.
@mydearriley
@mydearriley 4 жыл бұрын
@@B3G_CRY_ What about with two data sets?
@BenPaulson
@BenPaulson 3 жыл бұрын
This is from an older version of sheets but the method is the same: kzbin.info/www/bejne/jpa1i6yEq7ppgLM
@clarity1795
@clarity1795 6 ай бұрын
ok but now u cannot do the trendline :((
@NHL17
@NHL17 2 жыл бұрын
Love this workaround, though obviously I wish it wasn't necessary. One addition I would make, is make the new (staggered) data set that you chart by using "=$AA##" so that if you need to change the values in the original trials (like if you're repeating the experiment, and want to copy the same spreadsheet with new data), then you don't have to manually change it all again. You can just put in the new data and voila - all the stats/charts are automatically adjusted
@huaiqingsun460
@huaiqingsun460 3 жыл бұрын
But now I have a question about how to add a line of the best fit to this chart 🤣🤣
@BenPaulsonISM
@BenPaulsonISM 3 жыл бұрын
Please see the description of the video for an explanation of how to do it :)
@BenPaulsonISM
@BenPaulsonISM 3 жыл бұрын
@@fatemaghwich1629 Please see the video's description for an explanation of how to do this :)
@drakesorkhab8124
@drakesorkhab8124 3 жыл бұрын
i hate google sheets
@denisdemidov3573
@denisdemidov3573 Жыл бұрын
Oh common, it's completely useless in real life. This is an example how to waste your time when you have something bigger that 5-by-5, that all. If you really need something like scatter plot with error bars, just use candles chart for that. For your row data (which have to be a flat table) build a pivot table and add a target column 2 times (as STD DEV, as AVG) -- it almost the same as the first part of the video, but without manual efforts on this step. There's only two columns you have to create manually -- MIN as avg minus std dev, and MAX as avg plus std dev. In candles chart use MIN-column for minimal values, MAX-column for maximal values, and finally use AVG-columns 2 times as opens and closes values. Profit
@projectturmoil8076
@projectturmoil8076 6 жыл бұрын
fix your mouse/trackpad, it's killing my ears
@susscrofamustermann9688
@susscrofamustermann9688 8 ай бұрын
Shame google hasn't implemented an option to specify a range to look up error bars for different points on the same series. This may work for people who want to do a lot of work that is completely automatic in excel, but it's a workaround for poor functionality that doesn't have to be this bad.
@zygardeglobe1839
@zygardeglobe1839 4 ай бұрын
is there any way to switch the axes around?
Adding Custom Error Bars to Column Graphs in Google Sheets
5:38
Piers Support
Рет қаралды 80 М.
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 39 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Excel: Graphing with separate Error Bars of Standard Deviation
6:37
Peter Stanley
Рет қаралды 583 М.
*Using Google Sheets for Graphing w/Error Bars
14:08
Winnie Sloan
Рет қаралды 17 М.
How To Make a Line Graph with Error Bars Using Excel
10:24
Lynbrook HS Research Program
Рет қаралды 15 М.
Create a Scatter Plot Using Google Sheets with Trendline and R2 Value
10:33
How to Interpret Error Bars
6:39
Psy vs. Psy
Рет қаралды 34 М.
How To Add Error Bars In Excel (Custom Error Bars)
4:05
Steven Bradburn
Рет қаралды 457 М.
Adding Custom Error Bars to XY Scatter Plots in Google Sheets
7:11
Piers Support
Рет қаралды 10 М.