+ Reply to Thread
Results 1 to 9 of 9

Automatically Update a Scatter Graph

  1. #1
    Registered User
    Join Date
    09-20-2010
    Location
    Voorhees, NJ
    MS-Off Ver
    Excel 2007
    Posts
    5

    Automatically Update a Scatter Graph

    I am looking to automatically update a scatter chart when the data in a cell is changed:

    Col A Col B Col C

    Returns Standard Deviation

    Bond A 1.50% 16.63%

    Bond B 2.75% 15.10%

    Bond C 1.69% 15.63%

    So if the value in col b or c changes I will need the graph to automatically update? Thanks for any help.
    Last edited by matteo216; 09-20-2010 at 04:09 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Automatically Update a Scatter Graph

    What exactly is the question? Every Excel chart updates when the underlying data changes.

  3. #3
    Registered User
    Join Date
    09-20-2010
    Location
    Voorhees, NJ
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically Update a Scatter Graph

    I actually need the center axes of the xy scatter chart to re center depending on the data?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Automatically Update a Scatter Graph

    How was anybody suppose to guess that from your original post

    Post a workbook with a example of how you think the chart should look.

    Axis parameters can not be linked to cell so it is more than likely going to require a VBA solution.
    That said it maybe possible to cause the chart to adjust by using dummy data.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    09-20-2010
    Location
    Voorhees, NJ
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically Update a Scatter Graph

    I need the horizontal and vertical axis crosses to automatically update each time the data in cells b30 and c30 are updated. I need the center axis to be linked to those cells if possible. I am attaching a worksheet. Thanks for the help.
    Attached Files Attached Files

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Automatically Update a Scatter Graph

    Given the min and max are also fixed values you will need to use a code based solution.
    http://peltiertech.com/Excel/Charts/...nkToSheet.html

  7. #7
    Registered User
    Join Date
    09-20-2010
    Location
    Voorhees, NJ
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically Update a Scatter Graph

    With the code will the min and max values also automatically adjust? Thanks for all the help.

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Automatically Update a Scatter Graph

    You just need to tweak the code changing the CrossesAt value

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    09-20-2010
    Location
    Voorhees, NJ
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Automatically Update a Scatter Graph

    Thanks, but I am not very experienced in VBA to know how to do all of this just thought I could link it to a cell. Thanks for the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1