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

Sdílet
Vložit
  • čas přidán 30. 06. 2024
  • 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

Komentáře • 163

  • @Anna-vx4qi
    @Anna-vx4qi Před 5 lety +180

    Thank you! I'm currently writing my IB Biology HL IA and this is soooooo helpful!!!!

    • @catherineziegler9498
      @catherineziegler9498 Před 5 lety +24

      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 Před 4 lety +11

      IB BIO HL as well, but it's the start of the year though and my teacher is reviewing statistics and data

    • @pola9733
      @pola9733 Před 4 lety +9

      I guess we all end up here eventually... currently writing my bio hl ia as well

    • @alessandromatrone3134
      @alessandromatrone3134 Před 4 lety +13

      here for Physics IA lol

    • @mariawang7619
      @mariawang7619 Před 4 lety +4

      ahahaha same i chocked when he said "ib"

  • @truthsmiles
    @truthsmiles Před rokem +6

    It's 2023 and sadly this video is still very much needed. Thanks for the help!

  • @isaakvandaalen3899
    @isaakvandaalen3899 Před 4 lety +14

    There is a special place in heaven for this man.
    Thank you.

    • @isaakvandaalen3899
      @isaakvandaalen3899 Před 4 lety +2

      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  Před 4 lety

      Happy you found it useful! Good luck to all the IB students out there, especially now that your IAs are extra important :)

  • @gamestown3019
    @gamestown3019 Před 5 lety +3

    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 Před 4 lety +2

    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 Před 2 lety +14

    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.

  • @PiersSupport
    @PiersSupport Před 6 lety +2

    This is a great work around. Thanks so much for the video and the comment about adding a trendline (I had the same question!).

  • @user-sd3mc5px6r
    @user-sd3mc5px6r Před 4 lety +3

    Thank you!! I am editing my Bio EE and this was soo helpful!

  • @KM-je5wr
    @KM-je5wr Před 5 lety +3

    I was knocking my head against the wall until I found this video. Thank uuu!!!

  • @rachelfranklin4440
    @rachelfranklin4440 Před 5 lety +20

    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 Před 5 lety +3

      facts literally using this video for ib bio

    • @catherineziegler9498
      @catherineziegler9498 Před 5 lety

      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 Před 5 lety

      @@MrCommentor2 lmao what up rushil

    • @MrCommentor2
      @MrCommentor2 Před 5 lety

      @@raysdesk LMAOO hello 😂😂😂 nm u

  • @TheBiotrumpeteer
    @TheBiotrumpeteer Před 6 lety

    Thanks man!! Huge help, and clear explanation.

  • @masteertwentyone
    @masteertwentyone Před rokem +3

    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.

  • @edita88
    @edita88 Před 4 lety

    This video just saved my life. Thank you.

  • @suzannefetherling4693
    @suzannefetherling4693 Před 2 lety

    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.

  • @laylahussain9374
    @laylahussain9374 Před 5 lety +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.

  • @ericamarx6120
    @ericamarx6120 Před 5 lety +1

    This is why i love the internet. THANK YOU for this.

  • @annazeng3963
    @annazeng3963 Před 5 lety +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 :)

  • @taejunkim
    @taejunkim Před 4 lety

    Thank you very much. Exactly what I was looking for.

  • @claudialoh8579
    @claudialoh8579 Před 5 lety

    Thank you so much! This was a life saver.

  • @brettrodkey8881
    @brettrodkey8881 Před 4 lety

    There was very helpful. Thank you so much!

  • @jas17p
    @jas17p Před 3 lety

    I just found this video after having issue with excel and then discovering sheets didn't have a separate error bar system. TYSFM!

  • @austincovey3773
    @austincovey3773 Před 5 lety

    Saved my life, thank you

  • @aidanchang3868
    @aidanchang3868 Před rokem

    This helped me so much, thank you

  • @edenlowinger5607
    @edenlowinger5607 Před 6 lety +1

    Thank you! Super helpful!!

    • @BenPaulson
      @BenPaulson  Před 6 lety

      You're welcome! Glad you found it useful :)

  • @matthewfarrington8655
    @matthewfarrington8655 Před 4 lety +5

    Hahaha, I'm doing my IB Chemistry HL IA right now, and for me also, this was extremely helpful. Thanks for the clever trick.

  • @ClarkKent-nv9tn
    @ClarkKent-nv9tn Před 6 lety

    I love this sooooo much

  • @rogerobrient8339
    @rogerobrient8339 Před rokem

    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?

  • @xxjaykayxx
    @xxjaykayxx Před 4 lety

    thank you, grade saver 🙌🙌

  • @irwanahmed001
    @irwanahmed001 Před 3 lety +10

    Hi how do you add a trendline to the values after separating them into different series?

    • @NHL17
      @NHL17 Před 2 lety +5

      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 Před 3 lety +2

    can you add a trend line along with the error bars because I cannot figure that out!

  • @julianguyen3280
    @julianguyen3280 Před 3 lety

    you are a lifesaver thank you

  • @omoniyitope7826
    @omoniyitope7826 Před rokem

    Thank you for the good work. Please how can i do it for multiple bar graph for different categories of observations.

  • @tast_
    @tast_ Před 3 lety

    The hero we didn't deserve but needed

  • @rara-cn5rx
    @rara-cn5rx Před 3 lety

    susbscribed becasue this video was so so helpful. Helped a lot in my iA

  • @jmcconnaughey8369
    @jmcconnaughey8369 Před 5 lety +7

    What you want starts at 4:20

  • @raneen2573
    @raneen2573 Před 4 měsíci

    Thank you so much!!

  • @braedenlarson9122
    @braedenlarson9122 Před 4 lety +3

    Thank you, this makes my Physics SL lab so much more managable lol

    • @scarsmakestars
      @scarsmakestars Před 3 lety

      I'm literally doing my IB Physics IA right now 😭

    • @braedenlarson9122
      @braedenlarson9122 Před 3 lety

      @@scarsmakestars good luck, I got a 7 lol, so this must be a good method lol

    • @scarsmakestars
      @scarsmakestars Před 3 lety

      @@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 Před 3 lety

      @@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

  • @Gabriel198765432
    @Gabriel198765432 Před 6 lety +1

    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  Před 6 lety +1

      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 Před 6 lety

      Ben Paulson Thanks a lot! I've never tried plotting these kind of charts, and so far, your videos helped me a lot! 😇

  • @harumimerrill390
    @harumimerrill390 Před 5 lety +2

    How can I add error bars for x values?

  • @wilsonpsotka8045
    @wilsonpsotka8045 Před 5 lety

    Thank you so much

  • @enzolong9085
    @enzolong9085 Před rokem

    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...

  • @jessesimpson777
    @jessesimpson777 Před 3 lety

    Thanks!

  • @seoyoonjin2833
    @seoyoonjin2833 Před 5 lety +11

    wow this is so much work to do, I have 39 data points to do hahahaha

    • @isaakvandaalen3899
      @isaakvandaalen3899 Před 4 lety

      60 for me XD.
      I'm laughing because otherwise I'd be crying.

    • @magispitt
      @magispitt Před 3 lety

      @@isaakvandaalen3899 ah damn I'm looking at 501 data points for 5 different samples - honestly google sheets just doesn't work for this

  • @mederikcaron
    @mederikcaron Před 6 lety

    Thank you, very useful :)

    • @BenPaulson
      @BenPaulson  Před 6 lety

      You're welcome! Glad you found it useful :)

  • @Scarletmoon02
    @Scarletmoon02 Před 3 lety

    How can I add a trendline to this kind of graph? Clicking trendline and applying to all series isnt working

  • @Narabedla4
    @Narabedla4 Před 4 lety +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 Před 4 lety +1

      Yeah just google sheets that didn't consider to add a feature like that.

  • @zacharythomas5046
    @zacharythomas5046 Před 3 lety +1

    Is this really the best way? Man this is painful ...
    But, of course, thanks for the video!

  • @belencarreira1665
    @belencarreira1665 Před 4 lety

    how do you include error bars for both axis?

  • @miriamguthrie8726
    @miriamguthrie8726 Před 3 lety

    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  Před 3 lety

      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.

  • @monkeystuffing2116
    @monkeystuffing2116 Před 4 lety

    Thanks Bhruv

  • @tanawutsrisuk2988
    @tanawutsrisuk2988 Před 4 lety

    Thank you

  • @martinafazioli9155
    @martinafazioli9155 Před 3 lety

    Muchas gracias!!!

  • @ionamaze4938
    @ionamaze4938 Před měsícem

    Ben I love you thankyou

  • @caitlingee642
    @caitlingee642 Před 3 lety

    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?

  • @davidvijayramchurn1860

    Does anyone know how to put error bars in both horizontal and vertical directions - to make a zone of uncertainty?

  • @rampranavnavendran8330

    How do I add an error bar for the x axis

  • @samrahassan5550
    @samrahassan5550 Před 3 lety

    how do I add error bars in the x values??

  • @matthewa1729
    @matthewa1729 Před 6 lety

    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  Před 6 lety +1

      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.

  • @gnpar
    @gnpar Před 5 lety +1

    Relevant part starts at around 4:16

  • @angelinatsa
    @angelinatsa Před 6 lety

    Is there a way to do it when you have two data sets graphed?

  • @lydiaani9864
    @lydiaani9864 Před 3 měsíci

    is there a way to add a trend line?

  • @yyeahsure
    @yyeahsure Před 3 lety +2

    This rocks, except then you cant add a trend line normally! what were they THINKING?!

    • @nadiapai8511
      @nadiapai8511 Před 3 lety

      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

  • @Antevanten1
    @Antevanten1 Před 3 lety

    What to do when stdev

  • @d.d.4299
    @d.d.4299 Před 5 lety

    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 Před 5 lety

      The answer below but it is so clunky.... google please fix this!!!!!!!!!!!!

  • @kevenge7287
    @kevenge7287 Před 4 lety

    Thanks so much, IA due in 3h lol

  • @ruoqianyang1925
    @ruoqianyang1925 Před 4 lety +3

    what about horizontal error bars??

    • @Carl-lm5mz
      @Carl-lm5mz Před 4 lety

      you can't do them in google sheets

  • @maddyr1763
    @maddyr1763 Před 4 lety

    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  Před 4 lety

      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)

  • @MarcCastellsBallesta
    @MarcCastellsBallesta Před 3 lety

    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.

  • @martinkramarcik5368
    @martinkramarcik5368 Před 4 lety

    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  Před 4 lety +1

      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.

  • @kevenge7287
    @kevenge7287 Před 3 lety

    So we can't have a trend line and individual error bars?

    • @BenPaulson
      @BenPaulson  Před 3 lety

      I’ve included a description of how to add a trendline in the video’s description :)

  • @NHL17
    @NHL17 Před 2 lety

    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

  • @meltemmusa2950
    @meltemmusa2950 Před 3 lety

    why is the error bars +/- "1" and not another number at 9.06 minutes ?

    • @BenPaulson
      @BenPaulson  Před 3 lety

      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.

  • @BrokenStar
    @BrokenStar Před 3 lety

    how do u put a trendline using this method?

    • @BenPaulson
      @BenPaulson  Před 3 lety

      Please read the video description, I’ve included instructions there :)

  • @soph2003
    @soph2003 Před 5 lety +1

    Ahhh help!! How can I get a trendline now???

    • @THR
      @THR Před 4 lety

      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 Před 4 lety

      Also, look 17 comments below, it was already suggested...

  • @amrabdalla5752
    @amrabdalla5752 Před 4 lety

    but how do you add a trendline on it all tho??

    • @BenPaulson
      @BenPaulson  Před 3 lety

      I’ve included a description of how to do it in the videos description :)

    • @amrabdalla5752
      @amrabdalla5752 Před 3 lety

      @@BenPaulson thanks man but i done graduated already, thanks tho :)

  • @elizabethslover7353
    @elizabethslover7353 Před 4 lety

    But how can I do this with a column chart?

    • @B3G_CRY_
      @B3G_CRY_ Před 4 lety

      It seems to work the same, but the bars are just super skinny.

    • @mydearriley
      @mydearriley Před 4 lety

      @@B3G_CRY_ What about with two data sets?

    • @BenPaulson
      @BenPaulson  Před 3 lety

      This is from an older version of sheets but the method is the same: czcams.com/video/XeRZyNvU6JQ/video.html

  • @clarity1795
    @clarity1795 Před 5 měsíci

    ok but now u cannot do the trendline :((

  • @huaiqingsun460
    @huaiqingsun460 Před 3 lety

    But now I have a question about how to add a line of the best fit to this chart 🤣🤣

    • @BenPaulsonISM
      @BenPaulsonISM Před 3 lety

      Please see the description of the video for an explanation of how to do it :)

    • @BenPaulsonISM
      @BenPaulsonISM Před 3 lety

      @@fatemaghwich1629 Please see the video's description for an explanation of how to do this :)

  • @denisdemidov3573
    @denisdemidov3573 Před rokem

    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

  • @drakesorkhab8124
    @drakesorkhab8124 Před 3 lety +2

    i hate google sheets

  • @projectturmoil8076
    @projectturmoil8076 Před 6 lety +2

    fix your mouse/trackpad, it's killing my ears

  • @susscrofamustermann9688
    @susscrofamustermann9688 Před 8 měsíci +1

    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 Před 4 měsíci

    is there any way to switch the axes around?