+ Reply to Thread
Results 1 to 3 of 3

Line Graph: Differences between series

  1. #1
    Registered User
    Join Date
    12-29-2005
    Posts
    1

    Line Graph: Differences between series

    I have two sets of numbers that I've graphed in a basic line graph: Series A & Series B. I want to edit the line graph and put a data table at the bottom that automatically caluclates and displays the value of A minus B.

    The attached file shows what I want the graph to look like, but I've manually inserted text boxes below the X Axis to display the differences; I'd like to have them automatically calculated as I enter new values for Series A & B.

    Does anyone have advice on this?

    Thanks,
    Mike
    Attached Files Attached Files

  2. #2
    Andy Pope
    Guest

    Re: Line Graph: Differences between series

    Hi,

    In order to get the differences to appear in the built-in data table you
    will need to add a third series to the chart which is the difference
    between A and B. The problem is that all series will appear in the data
    table.
    You might find it easier to place the difference values in worksheet
    cells and alight the chart accordingly.

    Cheers
    Andy

    chinois wrote:
    > I have two sets of numbers that I've graphed in a basic line graph:
    > Series A & Series B. I want to edit the line graph and put a data table
    > at the bottom that automatically caluclates and displays the value of A
    > minus B.
    >
    > The attached file shows what I want the graph to look like, but I've
    > manually inserted text boxes below the X Axis to display the
    > differences; I'd like to have them automatically calculated as I enter
    > new values for Series A & B.
    >
    > Does anyone have advice on this?
    >
    > Thanks,
    > Mike
    >
    >
    > +-------------------------------------------------------------------+
    > |Filename: LineGraphExample.zip |
    > |Download: http://www.excelforum.com/attachment.php?postid=4161 |
    > +-------------------------------------------------------------------+
    >


    --

    Andy Pope, Microsoft MVP - Excel
    http://www.andypope.info

  3. #3
    Jon Peltier
    Guest

    Re: Line Graph: Differences between series

    Alternatively, you can keep using the textboxes, but link them to cells that
    have the calculated values. To do this, select a textbox, type '=' in the
    formula bar, and with the cursor still in the formula bar, select the cell
    with the value you want to display.

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Peltier Technical Services
    Tutorials and Custom Solutions
    http://PeltierTech.com/
    _______


    "Andy Pope" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > In order to get the differences to appear in the built-in data table you
    > will need to add a third series to the chart which is the difference
    > between A and B. The problem is that all series will appear in the data
    > table.
    > You might find it easier to place the difference values in worksheet cells
    > and alight the chart accordingly.
    >
    > Cheers
    > Andy
    >
    > chinois wrote:
    >> I have two sets of numbers that I've graphed in a basic line graph:
    >> Series A & Series B. I want to edit the line graph and put a data table
    >> at the bottom that automatically caluclates and displays the value of A
    >> minus B. The attached file shows what I want the graph to look like, but
    >> I've
    >> manually inserted text boxes below the X Axis to display the
    >> differences; I'd like to have them automatically calculated as I enter
    >> new values for Series A & B. Does anyone have advice on this?
    >>
    >> Thanks,
    >> Mike
    >>
    >>
    >> +-------------------------------------------------------------------+
    >> |Filename: LineGraphExample.zip |
    >> |Download: http://www.excelforum.com/attachment.php?postid=4161 |
    >> +-------------------------------------------------------------------+
    >>

    >
    > --
    >
    > Andy Pope, Microsoft MVP - Excel
    > http://www.andypope.info




+ 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