Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
chinois
 
Posts: n/a
Default 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


+-------------------------------------------------------------------+
|Filename: LineGraphExample.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4161 |
+-------------------------------------------------------------------+

--
chinois
------------------------------------------------------------------------
chinois's Profile: http://www.excelforum.com/member.php...o&userid=29985
View this thread: http://www.excelforum.com/showthread...hreadid=496794

  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default 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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add series to line graph Barb Charts and Charting in Excel 4 December 8th 05 05:07 PM
Possible to Add Horizontal Line to Embedded Graph via VBA? TimSchwaar Charts and Charting in Excel 5 August 29th 05 11:41 PM
how do I change a line series to a column series in excel? Mati Charts and Charting in Excel 1 May 12th 05 09:32 AM
Line Graph Data Recognition Nat Charts and Charting in Excel 2 April 30th 05 02:07 PM
series graph -- one series being added to another series rich zielinski via OfficeKB.com Charts and Charting in Excel 3 March 30th 05 06:23 PM


All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"