Create an X Y Scatter Chart with Data Labels

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 308

  • @eivihnd
    @eivihnd 9 ปีที่แล้ว +211

    Actually, there is a function to add descriptive labels in Excel 2013:
    After you have created your XY Scatter Graph, selected X- and Y-values and clicked "Add Data Labels" (4:15 in this video), do the following:
    1. Click on one point so that they are all highlighted
    2. Right click on one of them (while all are highlighted), and click "Format Data Labels"
    3. Under "Label Options" appearing on the right side (default), deselect "X Value" and "Y Value"
    4. Select "Value From Cells"
    5. Click on the button "Select Range"
    6. Now, select the row containing data for your labels (for example the "items" column)
    7. Voilà, you have custom labels with no coding needed.

    • @bigheadmonkeyboy
      @bigheadmonkeyboy 9 ปีที่แล้ว

      ***** +eivihnd Thanks to both of you. Helped a lot!

    • @davidfsnyder
      @davidfsnyder 9 ปีที่แล้ว

      +Doug H I have Excel for Mac 2011 so I still had to use the macro. Thanks for saving me time!

    • @thomasmurphy6501
      @thomasmurphy6501 9 ปีที่แล้ว

      +eivihnd THANK YOU!

    • @fortoday04
      @fortoday04 9 ปีที่แล้ว +1

      +eivihnd real MVP

    • @excelnbafun7782
      @excelnbafun7782 8 ปีที่แล้ว

      +eivihnd oh wow so nice! Thank you sir.

  • @gregorypiasecki1589
    @gregorypiasecki1589 9 ปีที่แล้ว

    YOU ROCK. I have been using excel since 1996 and have been frustrated by my inability to add labels. Thank you!

  • @tha_rock7281
    @tha_rock7281 8 ปีที่แล้ว

    You just saved my entire day. Been spending all day trying to add data labels, but with your video it only took 5 min's. Thank you very much!!

    • @DougHExcel
      @DougHExcel  8 ปีที่แล้ว

      You're welcome...glad it helped!

  • @WorkDovePeace
    @WorkDovePeace 7 ปีที่แล้ว

    This was the BEST tutorial I found to figure out how to add data labels to a scatter plot chart. Doug -- Thank you so much for posting this!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Wow.... thanks for the kind words!

  • @alexo9183
    @alexo9183 9 ปีที่แล้ว

    I searched for an hour and this is the best explanation I found. Good work! (although you could skip the first 2:20 of the video). Thank you

  • @alannahvirtanen8431
    @alannahvirtanen8431 7 ปีที่แล้ว

    Thank you so much!! I've been trying to figure out how to do this and no-one in my office knew the answer. But you did - and made my life so much easier! Thanks very much!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      You're welcome...thanks for the comment!

  • @ivankitta9458
    @ivankitta9458 3 ปีที่แล้ว

    Thank you so much, Doug!
    I didn't know it was not possible to label data points in a scatter chart in Excel. I was desperate...

    • @DougHExcel
      @DougHExcel  3 ปีที่แล้ว

      You’re welcome!

  • @Rajeshshiva247
    @Rajeshshiva247 8 ปีที่แล้ว +3

    I did same in my project with help of this video and I got award.
    thank you sir

    • @1Peezy1
      @1Peezy1 8 ปีที่แล้ว

      Good job man!!

    • @Rajeshshiva247
      @Rajeshshiva247 6 ปีที่แล้ว

      Sir, please share you mail id because I have prepared one Excel VBA programming for automatically send mail from Excel when due date reached.but email continues trigger after reach due date. I need to stop the mail in the VBA programming. Please support

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Thanks Rajesh Dakshanamoorthy, glad it helped!

  • @sandman_theory
    @sandman_theory 9 ปีที่แล้ว

    Fixed the problem I had by 'adding data manually' just like how you said.. Thanks man!

  • @david.brossard
    @david.brossard 8 ปีที่แล้ว +1

    Your video was awesome! The right pace, the right explanation (except maybe for how to create the macro itself), and the end result! Thanks so much

    • @DougHExcel
      @DougHExcel  8 ปีที่แล้ว

      Glad you liked it!

  • @deanm1228
    @deanm1228 9 ปีที่แล้ว

    Thanks for the great tutorial. Clear and concise instructions. Saved me hours of work.

  • @debster0626
    @debster0626 6 ปีที่แล้ว

    I'm SOOO excited! Thank you SO MUCH for both the pointers!

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Hi Deb Phillips, glad you liked it, thanks for commenting!

  • @TonyK55
    @TonyK55 7 ปีที่แล้ว

    Hi Doug
    Many thanks for this video. I managed to add labels for the first time with them all aligned properly. I did find a couple of issues with filtering data and the code was then mis-aligned. But as I said managed it for the first time with my usual Excel jiggery pokery, thanks again.

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      You're welcome, glad it worked for you!

  • @michaelnewman8708
    @michaelnewman8708 7 ปีที่แล้ว

    Wonderful! This helped me create a great scatter plot of the revenue and gross margin for our company's product lines. Thank you!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Thanks Michael Newman, glad it helped!

  • @mattnicks
    @mattnicks 6 ปีที่แล้ว

    Really helpful, thank you. Worked first time in Excel 2010.

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Thanks mattnicks, glad it helped!

  • @r_b5951
    @r_b5951 9 ปีที่แล้ว

    Thank you Doug. Appreciate your time and effort to create this tutorial. I'm running Excel 2010, so the 7-step process posted by eivihnd is not available to me. But since I am running Excel 2010 this tutorial is a great help.

  • @JohnMmbaga_
    @JohnMmbaga_ 7 ปีที่แล้ว +1

    Thanks a lot Doug. I have successfully attached labels on my excel graphs thanks to your guidance. Much appreciation!!!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Glad this helped. Thanks for the comment!

  • @jeff32407ify
    @jeff32407ify 9 ปีที่แล้ว

    Thank You!!!! Manually added the data and it worked.

  • @gangaramchoudhary3711
    @gangaramchoudhary3711 7 ปีที่แล้ว

    Thank you very much my friend Mr. Doug H. I appreciate your video.

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Hi Gangaram Choudhary...you're welcome, glad you liked!

  • @stevevh4
    @stevevh4 6 ปีที่แล้ว

    Thanks so much for the video! This is exactly what I have been trying to do for days! Now, if I could only control the labels...meaning show and hiding based on what I am sorting...

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Try using the NA() function for the second table that sources the chart. See this video for some insight. th-cam.com/video/2pF7sKR8wRQ/w-d-xo.html

  • @richardvaughan9798
    @richardvaughan9798 8 ปีที่แล้ว

    you're a hero, Doug! Fantastic. Thanks so much.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Richard Vaughan, you're welcome!

  • @Chakoando
    @Chakoando 9 ปีที่แล้ว

    Thanks so much to both Doug and eivihnd!

  • @dannykay4967
    @dannykay4967 7 ปีที่แล้ว

    first answer that makes sense - you are my hero! and the macro works! thank you so much!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      You're welcome; thanks for the comment!

  • @pandorahope9166
    @pandorahope9166 9 ปีที่แล้ว

    Awesome. Thank you! Your explanation was v. clear and worked first time.

  • @joseph10171
    @joseph10171 5 ปีที่แล้ว

    What a life saver. Thank you

    • @DougHExcel
      @DougHExcel  5 ปีที่แล้ว

      Hi Joseph George, thanks for the kind words!

  • @tiffanymitchell2703
    @tiffanymitchell2703 9 ปีที่แล้ว

    This was very helpful, thank you. When running the macro, you have to have the chart selected, or else it won't work.

  • @rodrigolovaton797
    @rodrigolovaton797 8 ปีที่แล้ว

    When you add the macro in VBA, you have to do it as "insert / module", otherwise it doesn't work. At least that fixed the problem for me. Thanks for the video!

  • @elizabethnoordhoek4029
    @elizabethnoordhoek4029 9 ปีที่แล้ว

    Thank you so much I was so confused on how to create different series for scatter plots!

  • @alejandrocastillo54
    @alejandrocastillo54 9 ปีที่แล้ว

    You've saved me hours of work

  • @marinabouzon2524
    @marinabouzon2524 9 ปีที่แล้ว +3

    Thanks a lot Doug H! It saved my dissertation thesis graphs! FYI, the macro code I took from the link you give here didn't work. I used this one instead:
    Sub AttachLabelsToPoints()
    'Dimension variables.
    Dim Counter As Integer, ChartName As String, xVals As String
    ' Disable screen updating while the subroutine is run.
    Application.ScreenUpdating = False
    'Store the formula for the first series in "xVals".
    xVals = ActiveChart.SeriesCollection(1).Formula
    'Extract the range for the data from xVals.
    xVals = Mid(xVals, InStr(InStr(xVals, ","), xVals, _
    Mid(Left(xVals, InStr(xVals, "!") - 1), 9)))
    xVals = Left(xVals, InStr(InStr(xVals, "!"), xVals, ",") - 1)
    Do While Left(xVals, 1) = ","
    xVals = Mid(xVals, 2)
    Loop
    'Attach a label to each data point in the chart.
    For Counter = 1 To Range(xVals).Cells.Count
    ActiveChart.SeriesCollection(1).Points(Counter).HasDataLabel = _
    True
    ActiveChart.SeriesCollection(1).Points(Counter).DataLabel.Text = _
    Range(xVals).Cells(Counter, 1).Offset(0, -1).Value
    Next Counter
    End Sub

    • @itrefresh
      @itrefresh 9 ปีที่แล้ว

      Hi, thank you it worked for me this code aswell. Thank you too Doug H

    • @carlosgull1654
      @carlosgull1654 6 ปีที่แล้ว

      It's work Very Well, thanks for you code!!!

  • @garykassabian151
    @garykassabian151 8 ปีที่แล้ว

    Excellent job ! Thank you so much for making this video.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Gary Kassabian, you're welcome!

  • @turtleandtree
    @turtleandtree 8 ปีที่แล้ว +18

    You did not walk through the macro section...

    • @neomaster117
      @neomaster117 8 ปีที่แล้ว +5

      Developer -> Visual Basic -> Insert -> Module -> Paste code and Save. Also, you will get an error unless both X and Y values are filled in.

    • @freewonderland
      @freewonderland 8 ปีที่แล้ว +1

      thank you!! this was really helpful.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Matthew Morton, thanks for the comment!

  • @xcharles1
    @xcharles1 8 ปีที่แล้ว +2

    Thanks, Doug!
    My scatter has hundreds of points with dense concentrations in areas; the labels appear per your instructional, but are cluttered and cannot be read/presented. Any idea on how to do this, so that when you hover your mouse, the label appears ala a standard chart with auto labels?

  • @prabodh231
    @prabodh231 8 ปีที่แล้ว +1

    That's an excellent tutorial! Many thanks

  • @nlmxyz
    @nlmxyz 6 ปีที่แล้ว

    thanks so much. Extremely useful. Had been trying for several hrs

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Hi Indra Bishop, glad you liked it, thanks for commenting!

  • @volkerfremuth7746
    @volkerfremuth7746 8 ปีที่แล้ว

    Thanks, was driving me nuts!

  • @Robis1K
    @Robis1K 8 ปีที่แล้ว

    Thank you very much. Very helpful!
    May be relevant to highlight that your excel file should allow macros. Sometimes it is not the case by default. Hence when saving the macro you receive a warning and you should click on "no" and choose a macro-enabled excel format. I wasted a hour because of that

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Roberto M, thanks for the comment!

  • @thetribal
    @thetribal 8 ปีที่แล้ว

    excellent demonstration. Thank you.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Ali Khan, thanks for the comment!

  • @The7thFold
    @The7thFold 3 ปีที่แล้ว

    Thanks this really helped. But my labels have very long names. So if I just want each label to have a separate symbol/colour in the graph and then have the labels to appear as legends at the side, how do I do that? I have 14 such labels.

    • @DougHExcel
      @DougHExcel  3 ปีที่แล้ว

      maybe something like this th-cam.com/video/sNQxUTs6lJA/w-d-xo.html can give an idea. It'll need to be combined with a change in the series name to reflect the label name.

  • @jeremylowrey1878
    @jeremylowrey1878 8 ปีที่แล้ว

    Hi Doug H,
    I think it would be best if you posted the solution from eivihnd into the summary. This would have saved me a lot of time If I knew ahead of time when reading the summary, "IF YOU HAVE EXCEL 2013 just read the steps below"
    Actually, there is a function to add descriptive labels in Excel 2013:
    After you have created your XY Scatter Graph, selected X- and Y-values and clicked "Add Data Labels" (4:15 in this video), do the following:
    1. Click on one point so that they are all highlighted
    2. Right click on one of them (while all are highlighted), and click "Format Data Labels"
    3. Under "Label Options" appearing on the right side (default), deselect "X Value" and "Y Value"
    4. Select "Value From Cells"
    5. Click on the button "Select Range"
    6. Now, select the row containing data for your labels (for example the "items" column)
    7. Voilà, you have custom labels with no coding needed.
    Thanks,
    -Jeremy

    • @jeremylowrey1878
      @jeremylowrey1878 8 ปีที่แล้ว

      And then sum? Do you know how to automatically adjust the min and max for the x and y axis based off the min and max of the data selected? This way u only see the grid where my points are and not from 0?

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Jeremy Lowrey, thanks for the comment!

  • @yem.t.3930
    @yem.t.3930 5 ปีที่แล้ว

    Thank you very much Sir!

  • @ziyabg1461
    @ziyabg1461 6 ปีที่แล้ว

    Thank you Doug! that is helpful. This option should be available through "Format data labels" by clocking on any data point.

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Hi Elton Mammadov, glad you liked it, thanks for commenting!

  • @FreshlyBased
    @FreshlyBased 9 ปีที่แล้ว

    Thanks, this just saved my project!

    • @arashrezaee3318
      @arashrezaee3318 9 ปีที่แล้ว

      ***** hi Doug. could you please share the Macro that you used for data label. i can not find that!

    • @arashrezaee3318
      @arashrezaee3318 9 ปีที่แล้ว

      ***** highly appreciated!

    • @arashrezaee3318
      @arashrezaee3318 9 ปีที่แล้ว

      ***** hi Doug! i found sth else in this case. it is called "XY chart Label". i downloaded it for free also: [ www.appspro.com/Utilities/ChartLabeler.htm] it is very useful for those people who wanna labeling a lot of different data.

  • @helenahall-manning335
    @helenahall-manning335 7 ปีที่แล้ว

    Thanks so much for this! It worked perfectly!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Hi Helena Hall-Manning...you're welcome, glad you liked!

  • @esa2236
    @esa2236 7 ปีที่แล้ว

    You can right click a point on the scatter plot and click on "add data labels" then manually change the label of each point on the graph.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Skid, thanks for the comment!

  • @logen99999
    @logen99999 7 ปีที่แล้ว

    This was super helpful. thank you!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      You're Welcome! Glad you found it helpful!

  • @JacobColegrove
    @JacobColegrove 6 ปีที่แล้ว

    Thank you that worked wonders.

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Hi Jacob Colegrove, glad you liked it, thanks for commenting!

  • @GreyFoxNinjaFan
    @GreyFoxNinjaFan 7 ปีที่แล้ว

    Great video. Really helped me out.

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Glad it helped you!

  • @mehdi5738
    @mehdi5738 9 ปีที่แล้ว

    Really nice. thanks dude. I learnt a lot of stuff with this vid

  • @thuyhainsworth4739
    @thuyhainsworth4739 8 ปีที่แล้ว

    Thanks so much! I couldn't do this over my class, but now "IT WORKS". Btw, Do I need to select the data that I want to create a Scatter-plot?

    • @DougHExcel
      @DougHExcel  8 ปีที่แล้ว

      Glad it worked for you. Yes, you'll need to select the data to fill out the chart, that can be done before or after you Insert>Chart

  • @lagbaja3735
    @lagbaja3735 9 ปีที่แล้ว

    Fantastic. Thanks very much

  • @excelisfun
    @excelisfun 10 ปีที่แล้ว +1

    Thanks, Doug!!

  • @waynebarthule
    @waynebarthule 7 ปีที่แล้ว

    Awesome, thanks Doug!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      +Wayne Barthule Glad you liked!

  • @piyushsood3576
    @piyushsood3576 9 ปีที่แล้ว +5

    Hi Doug,
    Great video and it helped me a lot. The problem I am facing is that there are a lot of data points on the scatter plot which make data labels overlap and it gets difficult to identify. Is there a way to remove the data labels and only show them when we hover over the data point?
    Thanks!

    • @timbuxton8977
      @timbuxton8977 7 ปีที่แล้ว

      Just click and drag any overlapping data points to move them apart. excel puts in a little data pointer for you.

  • @yvkoay
    @yvkoay 8 ปีที่แล้ว

    Thanks a lot. This is really good!

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Dadawa, thanks for the comment!

  • @TheSpiralout11235
    @TheSpiralout11235 10 ปีที่แล้ว

    Thank you very much Doug. Great tutorial. Do you happen to know how I can loop through each series in my chart?

  • @marchansen528
    @marchansen528 7 ปีที่แล้ว

    Super helpful, thank you!

  • @felipe28g
    @felipe28g 8 ปีที่แล้ว +7

    It's kind of crazy that Excel doesn't do this for you. One would think it's just common sense to have that

    • @felipe28g
      @felipe28g 8 ปีที่แล้ว

      Oh great to know, thanks Doug!

    • @timbuxton8977
      @timbuxton8977 7 ปีที่แล้ว

      It does! - see eivihnd above. Also works in Excel 2016. For some reason excel keeps quiet about it.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Juan Ramirez, thanks for the comment!

  • @Soulenergy31
    @Soulenergy31 4 ปีที่แล้ว

    thank you, but i need the non macro trick, any advice?

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      If you have excel versions prior 2013, the macro is it. With later version no macro needed. See th-cam.com/video/NnoFXSFBtIg/w-d-xo.html

  • @axetrac10
    @axetrac10 8 ปีที่แล้ว

    Loved the video...very informative.

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Akshay Kamath, thanks for the comment!

  • @sweehubers2649
    @sweehubers2649 7 ปีที่แล้ว

    Hi Doug - great presentation and thank you very much - this was very helpful. Recently we needed to edit/change the label value. So we changed the label name in the Excel column, but the graph did not automatically update to reflect the new value. How do we do this so it's automatic and we don't have to do the whole thing over?

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      if you've got Excel 2013, you can actually put labels without any VBA. See video at th-cam.com/video/NnoFXSFBtIg/w-d-xo.html
      If you don't you'll have to do it over again :-(

  • @tengkutheo908
    @tengkutheo908 10 ปีที่แล้ว

    very helpful, thanks

  • @oskarstenholm4687
    @oskarstenholm4687 4 ปีที่แล้ว

    Is it possible to seperate the labels even more? As Items 15, 17 and 19 are pretty close together?

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Yes click on the label. The 1st click select all, a 2nd click should just be that label. Then you can move the text box around

  • @123canuckfan
    @123canuckfan 9 ปีที่แล้ว

    Great Video Doug. How can I retain the labels when I filter?

    • @123canuckfan
      @123canuckfan 9 ปีที่แล้ว

      ***** Thanks Doug. What I was attempting to do was filter one or two items and only show those on the scatter plot. However, when I filter, it still displays the first value, with the information from the item that I selected. For example, if I filter to only display Item 2, it will plot (60,48) but still show Item 1 as the label. Hope this makes sense. I would really appreciate the help. Thanks in advance. :)

  • @richardrawlings3733
    @richardrawlings3733 9 ปีที่แล้ว

    Hi Doug - please could you post the code here, as the link no longer works. Thanks!

  • @lepermessiah01
    @lepermessiah01 9 ปีที่แล้ว

    Do you know if the code works with negative values? I tried doing it, but it does not seem to work

  • @sr7882
    @sr7882 8 ปีที่แล้ว

    that was excellent thanks dude

  • @likepiano
    @likepiano 6 ปีที่แล้ว

    thanks, very helpful video!

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      Thanks like piano, glad it helped!

  • @kindredsoul1973
    @kindredsoul1973 8 ปีที่แล้ว

    Excel 2013 - I am trying to show results of two measurements (y is measurement one, x is measurement 2), each unit of measure is minutes spent playing video games. The x data is what my observer recorded (number of minutes each child spent playing video games, 20 children total). Y data is what observer 2 recorded (in minutes for each child spent playing video games). So - my coders viewed video tapes of areas in which children spent time playing video games. [interrater reliability] - and I want to show this in a scatterplot in which the first set of data (y) and the second set of data (x) are on the same scatter chart - but I get to the part in your video in which you manually add the chart (7:22) and my spreadsheet does not appear the same - my chart styles look completely different. Do I need to customize or add something to my access tools? Thanks - sorry if this totally confuses you - I'm totally stuck on this!

  • @PernilleDahl
    @PernilleDahl 8 ปีที่แล้ว

    Thank you! that was really good explaining! :D

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi PernilleDahl, you're welcome!

  • @jameshaythornthwaite5195
    @jameshaythornthwaite5195 9 ปีที่แล้ว

    Thanks Doug. This works fine for me, but I'm having issues when I include more than one data series. In this instance, only the first data series is labelled when I run the macro.
    Do you have any advice?

    • @jameshaythornthwaite5195
      @jameshaythornthwaite5195 9 ปีที่แล้ว

      James Haythornthwaite I managed to fix this - you need to change the series number in the brackets after any reference to "SeriesCollection" in the macro to then apply the macro to that specific series.
      Cheers

    • @natalynievesreyes5281
      @natalynievesreyes5281 9 ปีที่แล้ว

      James Haythornthwaite how about if I have 40 different series? How did it work for you with more than one data series? Thank you!

  • @melc8895
    @melc8895 9 ปีที่แล้ว

    This worked great except for one thing. When I ran the macro, it also plotted a point (0,0) for the Item column heading. How do I fix that?

  • @manuelsaenz7898
    @manuelsaenz7898 9 ปีที่แล้ว

    Very useful!

  • @oasis4margaret
    @oasis4margaret 6 ปีที่แล้ว

    Thank you so much for sharing, Doug. But is it only me that I googled more than 3 pieces of code and none of them work or it's the same with other ppl?

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      The description field in this video has a link to the msft site so hope that helps.

  • @maxpayne7
    @maxpayne7 7 ปีที่แล้ว

    Hey Doug, I have list of 20 items and need the data points to have different colors. Is there a sustainable way in the macro that I can do this, instead of manually changing the colors for each data point. Thanks.

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      There probably is a macro out there that can do it but I don't know VBA too well. An option is to select the first record to build the graph. Then select the 2nd record and paste it in there. The series would have a different color for the markers and subsequent series would have varying colors too.

    • @lisachen9546
      @lisachen9546 7 ปีที่แล้ว

      hitesh setpal use series in excel if you are able to group your data points in some sort of fashion

  • @astutidewiwarawati7670
    @astutidewiwarawati7670 9 ปีที่แล้ว

    This vid helps a lot...
    Thank's so much :)

  • @PhelipeRabay
    @PhelipeRabay 7 ปีที่แล้ว

    Thanks a lot. Nice tutorial :)

  • @alexrosen8762
    @alexrosen8762 7 ปีที่แล้ว

    Very useful. Thanks!

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Hi Alex , thanks for the comment!

  • @TitoKnowsWell
    @TitoKnowsWell 9 ปีที่แล้ว

    Hey Doug, I currently have an excel sheet with 3 series!
    All the data of the 3 series are in a sheet (DataSheet), and the chart is in separate worksheet loading the data from the datasheet.
    First of all would I need 3 different sheets for each series so i can apply the labels and does the chart need to be on the same sheet when loading the data? Also when I apply the macro, do I apply to the entire excel file, or on the sheets or on the tabs for this scenario!
    Thanks in advance!

    • @TitoKnowsWell
      @TitoKnowsWell 9 ปีที่แล้ว

      +Doug H Well the client hasnt upgraded to 2013 which doesnt allow me to work on it!
      Why I say I have to put each series in a seperate sheet, because the code assumes that the first column contains the label and the other 2 columns contain values to load from!

    • @TitoKnowsWell
      @TitoKnowsWell 9 ปีที่แล้ว

      What if I told you, I just I found a way that is not shown on the Internet and is far easier than yours but requires slight manual labor and no Macro!!!

  • @nicbowles
    @nicbowles 8 ปีที่แล้ว

    Thanks, very helpful

  • @agniandjani
    @agniandjani 8 ปีที่แล้ว

    thank you so much! this is really helpful :)

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Thanks tinypeaces, glad it helped!

  • @maxwellzt
    @maxwellzt 9 ปีที่แล้ว

    Dear Doug: your video helped me a lot. Thanks. My scatter plot has different legends(e.g. It has 2 series), then the code cannot add labels, and give "Object variable or with block variable not set" error. Could you please help me on this? Thanks

  • @cerenkaragul
    @cerenkaragul 9 ปีที่แล้ว

    very helpful !

  • @RohitBedi8
    @RohitBedi8 7 ปีที่แล้ว

    Thanks a lot this helped me

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Glad it helped; thanks for the comment!

  • @robhargroves7600
    @robhargroves7600 4 ปีที่แล้ว

    H Doug - I have tried this macro, however it provides for an error.
    "xVals = Mid(xVals, InStr(InStr(xVals, ","), xVals, Mid(Left(xVals, InStr(xVals, ",") - 1), 9)))"
    I guess it pretty much has to do with the range that is being sellected. Please advise?

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      If you have Excel 2013 or later, there is a function to add descriptive labels you can actually put labels without any VBA. See video at th-cam.com/video/NnoFXSFBtIg/w-d-xo.html

  • @15Dalma15
    @15Dalma15 7 ปีที่แล้ว

    Thanks! It helped a lot! :)

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Hi Dalma dr. Geréné dr. Radványi...you're welcome, glad you liked!

  • @asyrafsalman5808
    @asyrafsalman5808 8 ปีที่แล้ว +1

    Hi, thanks for the video! How does one edit the macro so that it displays name, x-axis figure, and y-axis figure as well?

  • @floydjared
    @floydjared 7 ปีที่แล้ว

    Nice job!

  • @Ratnabhsl
    @Ratnabhsl 8 ปีที่แล้ว

    thank you very much! very helpful :D

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Thanks Ratnabhsl, glad it helped!

  • @RogerFong
    @RogerFong 5 ปีที่แล้ว

    Voilà! Thanks!

  • @wuqingli9255
    @wuqingli9255 7 ปีที่แล้ว

    Thanks, it is really helpful! How to implement in power point?

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      Thanks Wuqing Li! You can embed this as an object in PowerPoint or copy paste as an image.

  • @PenpornKoanantakool
    @PenpornKoanantakool 9 ปีที่แล้ว

    Thanks for the script!

  • @brianluczak7965
    @brianluczak7965 8 ปีที่แล้ว

    worked great!

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Thanks Brian Luczak, glad it helped!

  • @valentinakalyonova4976
    @valentinakalyonova4976 8 ปีที่แล้ว

    Perfect! Thank you!

  • @phillipschoe9518
    @phillipschoe9518 8 ปีที่แล้ว

    Wow thanks so much for this

    • @DougHExcel
      @DougHExcel  4 ปีที่แล้ว

      Hi Phillips Choe, you're welcome!

  • @Fractus
    @Fractus 8 ปีที่แล้ว

    Nice macro, thanks.

  • @zaientz1
    @zaientz1 7 ปีที่แล้ว

    Thank you thank you thank you!

  • @arunswaminathan7375
    @arunswaminathan7375 6 ปีที่แล้ว

    I have a scatter plot with 3 sets of data (series 1, series 2, series 3) but with the same set of data labels (the 'Items' column in your example). Is there a macro code for this kind of a problem?

    • @DougHExcel
      @DougHExcel  6 ปีที่แล้ว

      if you have Excel 2013 or later, you don't need the macro anymore. See th-cam.com/video/NnoFXSFBtIg/w-d-xo.html

  • @cheerli6602
    @cheerli6602 7 ปีที่แล้ว

    do you know why i would run into the error "object variable or with block variable not set"?

    • @DougHExcel
      @DougHExcel  7 ปีที่แล้ว

      You might want to try from the beginning to see if it works. Also this is on Excel 2010 Windows; so if you have a different setup it might have something to do with it. Unfortunately i'm a vba guy but here's something from stack overflow stackoverflow.com/questions/22735093/vba-for-excel-throws-object-variable-or-with-block-variable-not-set-when-there

  • @riaanvanaarde
    @riaanvanaarde 8 ปีที่แล้ว

    Hi,
    Works great. I get the following error though. Using Excel 2010
    Object variable or Block Variable not set
    Can you assist please.