+ Reply to Thread
Results 1 to 6 of 6

Pivot Scattergraph

  1. #1
    Registered User
    Join Date
    10-15-2015
    Location
    Huntington Beach, CA
    MS-Off Ver
    2016
    Posts
    14

    Pivot Scattergraph

    Hi All,

    I've been struggling to convert my Excel line graph to a dynamic pivot chart. The formatting should look like it does in sheet "Excel Chart".

    When I convert the data to a pivot table I'm not sure which fields to drag where... or if it's even possible with the arrangement of my data table.

    I'd like to keep my data in the given format (rows exported from a CSV file).

    Thanks in advance,

    Greg
    Attached Files Attached Files
    Last edited by Gblack686; 08-10-2018 at 03:19 PM. Reason: Technically not a scattergraph?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,814

    Re: Pivot Scattergraph

    In our older versions of Excel (still may be true for the newest version, I don't know), you cannot make pivot chart be a scatter chart. To workaround this limitation, you must create a regular chart and use the ranges from the pivot table as the source data. Instructions here: https://peltiertech.com/regular-char...-pivot-tables/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    10-15-2015
    Location
    Huntington Beach, CA
    MS-Off Ver
    2016
    Posts
    14

    Re: Pivot Scattergraph

    My apologies, I believe it is actually a line chart iwth markers. We just refer to it as a "scatterplot" in the office.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,814

    Re: Pivot Scattergraph

    You would know better than me, but the chart in the "Excel Chart" tab of your sample says it is an XY scatter chart and not a line chart. Your sample chart also suggests that you are trying to plot base price (a number) against home size (in square feet -- another number), so a scatter chart seems like it would be the most meaningful. Is your sample file accurate?

    If there is any confusion about the differences between line and scatter charts, I recommend https://peltiertech.com/line-charts-vs-xy-charts/ even though it was written back when 2002/2003 were the main Excel versions, the main ideas haven't changed.

  5. #5
    Registered User
    Join Date
    10-15-2015
    Location
    Huntington Beach, CA
    MS-Off Ver
    2016
    Posts
    14

    Re: Pivot Scattergraph

    Ah you're absolutely right, we use the XY scatter format.

    So in this instance, dynamic pivot tables are not my friend...

    The only thing I can think of is pasting the data values into cells that are already being referenced in the chart, hence overwriting and updating them with every new CSV dump.

    So that begs the question, is there an easier way to select that data rather than going in to each row and selecting the X and Y values for the 1000 rows that I'll be downloading? Will Excel even allow that much data in a chart? The idea is to then filter the table by market and have the chart adjust automatically.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,814

    Re: Pivot Scattergraph

    Did you read through Jon's tutorial that I linked to? I don't see any reason to need to copy data from the pivot table into a new range -- just reference the pivot table.

    In your sample file, I followed Jon's instructions for creating a scatter chart using B5:B30 as the X values and C5:C30 as the Y values on the Pivot Chart tab. I got rid of the grand total row. Then I could filter the table by row labels as much as I wanted and the scatter chart would show only the filtered data.

    My old version of Excel will handle something like 32k data points in a chart. I believe your newer version has no real limit (other than available memory), so it should be able to handle 1000 or 2000 data points.

+ 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. Creating a Scattergraph
    By jchat in forum Excel General
    Replies: 3
    Last Post: 11-16-2017, 12:32 AM
  2. Help with plotting data on Scattergraph
    By crazytimechris in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-03-2014, 09:59 AM
  3. Excel beginner - scattergraph
    By DAVINICINI in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-06-2013, 04:37 AM
  4. Incorrect x axis in ScatterGraph
    By unclesnoop in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 06-16-2012, 06:50 AM
  5. scattergraph not referencing all data in a scrolling table??
    By aidovaughan in forum Excel General
    Replies: 0
    Last Post: 06-11-2012, 11:08 AM
  6. Scattergraph groupings
    By juliaa in forum Excel General
    Replies: 1
    Last Post: 11-10-2009, 02:18 PM
  7. Scattergraph
    By The Head Gardener in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-29-2005, 03:10 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