Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Basil
 
Posts: n/a
Default up down bar value (difference)

Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil
  #2   Report Post  
bj
 
Posts: n/a
Default

one way to do it, (If I understand what you want) on the spread sheet
calculate the difference in say D1:D4
on the chart start a text box and in the formula bar enter = and point to
the cell with the difference.
format the text box for the alignment and fill colors you want and place it
on the
down bar for each data point pair.


"Basil" wrote:

Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil

  #3   Report Post  
Basil
 
Posts: n/a
Default

I was looking for a way that didn't rely on seperate text boxes.

"bj" wrote:

one way to do it, (If I understand what you want) on the spread sheet
calculate the difference in say D1:D4
on the chart start a text box and in the formula bar enter = and point to
the cell with the difference.
format the text box for the alignment and fill colors you want and place it
on the
down bar for each data point pair.


"Basil" wrote:

Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil

  #4   Report Post  
bj
 
Posts: n/a
Default

another way would be to find the midpoint between each data pair
lable each midpoint data pair as the delta value
plot this group of data as mutilple data series.
select each one to show data lables for series lable and delete the legend
for that series from the legend box. You can format the lables as to
orientation veritical etc.
(I really miss the old Data lables as assigned that used to be available. I
have no idea why that was removed, Cause I used to use it A bunch)

"Basil" wrote:

I was looking for a way that didn't rely on seperate text boxes.

"bj" wrote:

one way to do it, (If I understand what you want) on the spread sheet
calculate the difference in say D1:D4
on the chart start a text box and in the formula bar enter = and point to
the cell with the difference.
format the text box for the alignment and fill colors you want and place it
on the
down bar for each data point pair.


"Basil" wrote:

Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil

  #5   Report Post  
Jon Peltier
 
Posts: n/a
Default

(I really miss the old Data lables as assigned that used to be available. I
have no idea why that was removed, Cause I used to use it A bunch)


The up-down bars have never had a labeling capability. The alternative approach is
to build a floating column chart, and use the columns' data labels to display the
difference data. The nice thing about a floating column chart is that the value is
the difference between top and bottom, so simple data labels using the Show Value
option will do the trick.

Floating Column Charts:
http://peltiertech.com/Excel/Charts/...ngColumns.html

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

bj wrote:

another way would be to find the midpoint between each data pair
lable each midpoint data pair as the delta value
plot this group of data as mutilple data series.
select each one to show data lables for series lable and delete the legend
for that series from the legend box. You can format the lables as to
orientation veritical etc.
(I really miss the old Data lables as assigned that used to be available. I
have no idea why that was removed, Cause I used to use it A bunch)

"Basil" wrote:


I was looking for a way that didn't rely on seperate text boxes.

"bj" wrote:


one way to do it, (If I understand what you want) on the spread sheet
calculate the difference in say D1:D4
on the chart start a text box and in the formula bar enter = and point to
the cell with the difference.
format the text box for the alignment and fill colors you want and place it
on the
down bar for each data point pair.


"Basil" wrote:


Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil




  #6   Report Post  
Andy Pope
 
Posts: n/a
Default

Hi Jon,

The column technique works great for positive values but not so for
negative ones.

Cheers
Andy

Jon Peltier wrote:
(I really miss the old Data lables as assigned that used to be

available. I
have no idea why that was removed, Cause I used to use it A bunch)


The up-down bars have never had a labeling capability. The alternative
approach is to build a floating column chart, and use the columns' data
labels to display the difference data. The nice thing about a floating
column chart is that the value is the difference between top and bottom,
so simple data labels using the Show Value option will do the trick.

Floating Column Charts:
http://peltiertech.com/Excel/Charts/...ngColumns.html

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

bj wrote:

another way would be to find the midpoint between each data pair
lable each midpoint data pair as the delta value
plot this group of data as mutilple data series.
select each one to show data lables for series lable and delete the
legend for that series from the legend box. You can format the lables
as to orientation veritical etc.
(I really miss the old Data lables as assigned that used to be
available. I have no idea why that was removed, Cause I used to use
it A bunch)

"Basil" wrote:


I was looking for a way that didn't rely on seperate text boxes.

"bj" wrote:


one way to do it, (If I understand what you want) on the spread
sheet calculate the difference in say D1:D4
on the chart start a text box and in the formula bar enter = and
point to the cell with the difference.
format the text box for the alignment and fill colors you want and
place it on the down bar for each data point pair.


"Basil" wrote:


Hiya,

I have a line chart with two lines. I have included down bars from
the upper line. I would like the difference of value between the
two lines (i.e. the height of the down bars) to be shown within the
down bars.

Is this possible?

Thanks,

Basil




--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #7   Report Post  
Andy Pope
 
Posts: n/a
Default

Hi,

Have a look at this example I've put together. I combines both of bj's
suggestions but only requires 1 extra data series.

http://www.andypope.info/charts/Hilolabel.htm

Cheers
Andy


Basil wrote:
Hiya,

I have a line chart with two lines. I have included down bars from the upper
line. I would like the difference of value between the two lines (i.e. the
height of the down bars) to be shown within the down bars.

Is this possible?

Thanks,

Basil


--

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
How to get difference in hours Akhilesh Dalia Excel Worksheet Functions 6 April 23rd 05 06:41 AM
Date difference taking into account weekends. annonymous Excel Worksheet Functions 3 March 14th 05 05:35 PM
Calculating the difference between cells SheriffCassidy Excel Worksheet Functions 3 February 15th 05 06:30 AM
add a column to a pivot table that would show the difference between 2 other Columns [email protected] Excel Worksheet Functions 7 January 30th 05 05:21 PM
calculate negative or positve difference in time kpmoore Excel Discussion (Misc queries) 2 January 5th 05 01:35 AM


All times are GMT +1. The time now is 09:25 AM.

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"