+ Reply to Thread
Results 1 to 3 of 3

Do I need a macro to make this scatterplot?

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    United States
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    20

    Do I need a macro to make this scatterplot?

    Hi all,

    I am trying to create a scatter plot from a data set. I want to find a formula such that I can get the exact data I need.

    I have a column of names, and a column of data. I want to create three data series. I want a formula so that excel will look through a column of data and find values greater than 0, THEN look at another column and if the name = the value in the cell, then it will plot that value as the x-axis value. I then want to do the same for the y-axis (using different columns).

    I was tinkering with IF and AND functions, but couldn't quite get it. The name column actually contains an identifier, so ideally, the scatterplot would plot all non-zero values of each identifier (three different ones) when I put in the three data series.

    This isn't what the formula will look like, but this is the idea.... =IF([data column]>0 AND [name column="Name"], then return the data in the data column)

    Is this possible? I want it to find all non-zero values, and if it has a certain name, then I want it to plot each data value on the scatterplot. I don't know if I need a Macro to achieve what I want (if so, I assume I'd need to create the graph from scratch in VBA).

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Do I need a macro to make this scatterplot?

    Maybe with SUMPRODUCT formula ?
    but without seeing your workbook, it is difficult to give a better answer.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Do I need a macro to make this scatterplot?

    You might take a few minutes to read (in the forum rules) how to get your questions answered quickly.
    Entia non sunt multiplicanda sine necessitate

+ 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. scatterplot
    By nmarra01 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-10-2013, 04:25 PM
  2. VBA Format for Scatterplot
    By kal5092 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-02-2010, 01:43 PM
  3. Values in a Scatterplot
    By raychel_87 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 11-25-2008, 12:53 PM
  4. Scatterplot
    By giantwolf in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-14-2008, 02:43 PM
  5. Scatterplot....
    By tru- in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-20-2007, 08:17 AM

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