+ Reply to Thread
Results 1 to 15 of 15

Multivariable Scatter Plot

  1. #1
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8

    Multivariable Scatter Plot

    Hi all,

    At a standstill with Excel 2007, trying to create a scatter plot for convergence data.

    Essentially, I want (x,y) to be one point on the graph, while the title for the scatter plot point (a) is held in the legend (similar to how I was able to run this in Excel 2003). In essence:

    a = scatter plot point title
    x, y = scatter plot point

    I have three columns.

    Column One = a
    Column Two = x
    Column Three = y

    How can I comport this into the aforementioned scatter plot graph?

    Any help much appreciated,

    Soloman

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    How did you do it in xl2003. Can you post example.

    The chart wizard does doe seem very helpful in either version when it comes to setting name/x and y value ranges correctly.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    The 2003 version allowed you to manually input a different range for each variable.

    The 2007 version only allows you paired ranges, and I am EXTREMELY frustrated! Is there a workaround?!

    This is just silly.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    You can use the Set Data dialog to add series with individual x and y ranges.

  5. #5
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Andy, thanks for the reply. I have fiddled with the set data options and cannot get the data to display as points of convergence.

    Essentially, I would like "Application" to be on the legend, with "Amount of Data" and "Clients Impacted" (two seperate columns of data) to represent x, y convergence; i.e. a singular point. (For example: 3 Year Plan = 8.00, 8.75)

    I've attached the sheet I'm working with, it's really simple data.

    Any help greatly appreciated.

    -Soloman
    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,482
    The first chart uses 1 series and links the data labels to column A
    This free addin will help make those links.
    http://www.appspro.com/Utilities/ChartLabeler.htm

    The second is a series for each xy set.
    I used code rather than manually pick each name, x and y cell.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Is there a way to get a representation like I pointed out, without knowing code?

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

    Using the Select data dialog.
    Add new series, then select the cell for name, x value and y value.

  9. #9
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Edit: Andy, just saw your spreadsheet - yes, this is what I was shooting for.

    If you have a spare minute, could you type the process you took to get resolution on this? Would really appreciate it.

  10. #10
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Quote Originally Posted by Andy Pope View Post
    Using the Select data dialog.

    I can't seem to find the right selections within the Select Data range to gather the information that I need.

    Add new series, then select the cell for name, x value and y value.

    X and Y value - this is where it gets messy. I have tried to use these when entering the select data ranges, in terms of convergence points. I get both points appearing seperately on the graph.
    See inline.

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482
    1st chart, select range B2:C23, create a xy-scatter. Then use the addin to link series to range A2:A23

    2nd chart, select an empty cell and insert and xy-scatter chart.
    This should create a blank chart object. Use the select data dialog.
    Add series, Select A2 for name, select B2 for X values, select C2 for Y values.
    Repeat for next 22 rows. now you can see why I whipped up some code

  12. #12
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Quote Originally Posted by Andy Pope View Post
    1st chart, select range B2:C23, create a xy-scatter. Then use the addin to link series to range A2:A23

    2nd chart, select an empty cell and insert and xy-scatter chart.
    This should create a blank chart object. Use the select data dialog.
    Add series, Select A2 for name, select B2 for X values, select C2 for Y values.
    Repeat for next 22 rows. now you can see why I whipped up some code
    Thanks Andy, testing now.

  13. #13
    Registered User
    Join Date
    09-26-2008
    Location
    Redmond
    Posts
    8
    Success!

    Andy - thanks for the insight. Much appreciated.

    Cheers,

    -Soloman

  14. #14
    Registered User
    Join Date
    04-24-2012
    Location
    hk
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Multivariable Scatter Plot

    Quote Originally Posted by Andy Pope View Post
    The first chart uses 1 series and links the data labels to column A
    This free addin will help make those links.
    http://www.appspro.com/Utilities/ChartLabeler.htm

    The second is a series for each xy set.
    I used code rather than manually pick each name, x and y cell.
    This was super helpful.

    Many thanks

  15. #15
    Registered User
    Join Date
    04-24-2012
    Location
    hk
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Multivariable Scatter Plot

    Follow on question. How would I copy this macro to other worksheets?

    Thanks

    G

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to plot discontinuous/mixed data sets as scatter graphs?
    By Anubeon in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-21-2008, 05:13 AM
  2. Creating a Scatter Plot for any # of data
    By TwoyTaylor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2008, 10:07 AM
  3. Scatter Plot and Regression Lines
    By schoolboy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-01-2008, 09:33 PM
  4. autoscale XY scatter plot
    By djdjoko in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-17-2007, 02:24 PM
  5. scatter plot, get units of measure from a worksheet
    By JustJill54 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-26-2007, 05:11 PM

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