+ Reply to Thread
Results 1 to 4 of 4

Scatter graph where X values are pairs

  1. #1
    Registered User
    Join Date
    03-04-2023
    Location
    Nebraska
    MS-Off Ver
    13
    Posts
    2

    Question Scatter graph where X values are pairs

    I would like to make a scatter graph where each data point has a fixed y value but some of the x values cover a small range, so I would ideally like a little bar for each point that shows the range x could be in. I've attached a sheet giving sample data and a representation of roughly what I would like the chart to look like (in case I haven't explained it well!), does anyone know how this could be done? Many thanks!
    Attached Files Attached Files
    Last edited by asldjfewen; 03-22-2023 at 07:34 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,445

    Re: Scatter graph where X values are pairs

    Hi,

    I think there are two ways to do this.

    1. Make each set of data an individual series by adding a duplicate Y value and plot them all (Sheet1 of attachment). This has the distinct disadvantage of having to manually add a series when the data population increases.

    2. Plot a series of the lower x value vs the y value. Add a custom error bar (positive only) to cover the range (See sheet2 of attachment). This is more complex but will accommodate the addition of data more easily.
    Attached Files Attached Files
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

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

    Re: Scatter graph where X values are pairs

    Use X error bar with custom value. The custom value is the distance between low and high x value
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    03-04-2023
    Location
    Nebraska
    MS-Off Ver
    13
    Posts
    2

    Re: Scatter graph where X values are pairs

    Thank you both for replying so quickly, this is so helpful for my research

+ 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. [SOLVED] Scatter Graph not plotting x values
    By pezalmendra in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-21-2018, 07:03 AM
  2. Scatter graph with multiple XY values for each legend series
    By mailrush in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-23-2016, 04:08 PM
  3. Copy Worksheet based on Unique Column Values with Scatter Graph
    By jhall488 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2015, 12:25 PM
  4. Scatter Graph to show data along side scatter points
    By jonathan.haynes in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-15-2013, 08:59 AM
  5. Scatter graph not displaying both values
    By OlSchool in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-25-2013, 08:39 AM
  6. Replies: 1
    Last Post: 02-25-2011, 06:27 AM
  7. help with a scatter graph of conditioned values
    By uriel78 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-02-2005, 02:06 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