Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 179
Default Line chart with zerovalues

hi everyone

another question concerning my line chart:
i have a series which reach from A4 to A20, the first
and the last cells are empty, excel makes en empty
space in the Chart, this would be the perfect solution,
but I changed the Cells to contain a formula, now
excel interprets the cell as 0 which gives me an ugly
line at the beginning and the end of the chart.

i found this (foreign) forum-entry which talks about this issue:
http://experts.about.com/q/Excel-105...pty-values.htm

now, my problem goes further: i have some MAX and MIN calculations
on these cells, with the #N/A the MIN and the MAX statements are producing
only #N/A!

Is there some workaround? or some solution?
Or do i have to calculate the MIN and the MAX statement with a diffrent row?

Cheers and thanks for your Time

Carlo
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Line chart with zerovalues

It would help if you shared the formula which isn't working.

In general it should look like

=IF(<is it a valid calculation, <calculation, NA())

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


"Carlo" wrote in message
...
hi everyone

another question concerning my line chart:
i have a series which reach from A4 to A20, the first
and the last cells are empty, excel makes en empty
space in the Chart, this would be the perfect solution,
but I changed the Cells to contain a formula, now
excel interprets the cell as 0 which gives me an ugly
line at the beginning and the end of the chart.

i found this (foreign) forum-entry which talks about this issue:
http://experts.about.com/q/Excel-105...pty-values.htm

now, my problem goes further: i have some MAX and MIN calculations
on these cells, with the #N/A the MIN and the MAX statements are producing
only #N/A!

Is there some workaround? or some solution?
Or do i have to calculate the MIN and the MAX statement with a diffrent
row?

Cheers and thanks for your Time

Carlo



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 179
Default Line chart with zerovalues

Hi Jon

well, this is the formula which is in my "range"-cells:
=IF(OR(ROW()<MAX($H$5;$H$1);X7="");#N/A;100+(X7-INDIRECT("x" &
MAX($H$5;$H$1)))/INDIRECT("x" & MAX($H$5;$H$1))*100)

I need the #N/A, otherwise these points would show up on my Chart with zero!
If there would be another solution then the #N/A that would be great,
otherwise
i leave it like that. I can work around, it's a lil bit more work, but
should function anyways.

Thanks for your answer

Carlo

"Jon Peltier" wrote:

It would help if you shared the formula which isn't working.

In general it should look like

=IF(<is it a valid calculation, <calculation, NA())

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


"Carlo" wrote in message
...
hi everyone

another question concerning my line chart:
i have a series which reach from A4 to A20, the first
and the last cells are empty, excel makes en empty
space in the Chart, this would be the perfect solution,
but I changed the Cells to contain a formula, now
excel interprets the cell as 0 which gives me an ugly
line at the beginning and the end of the chart.

i found this (foreign) forum-entry which talks about this issue:
http://experts.about.com/q/Excel-105...pty-values.htm

now, my problem goes further: i have some MAX and MIN calculations
on these cells, with the #N/A the MIN and the MAX statements are producing
only #N/A!

Is there some workaround? or some solution?
Or do i have to calculate the MIN and the MAX statement with a diffrent
row?

Cheers and thanks for your Time

Carlo




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Line chart with zerovalues

On Tue, 5 Sep 2006, in microsoft.public.excel.charting,
Carlo said:
well, this is the formula which is in my "range"-cells:
=IF(OR(ROW()<MAX($H$5;$H$1);X7="");#N/A;100+(X7-INDIRECT("x" &
MAX($H$5;$H$1)))/INDIRECT("x" & MAX($H$5;$H$1))*100)

I need the #N/A, otherwise these points would show up on my Chart with zero!
If there would be another solution then the #N/A that would be great,


Ask on the Worksheet Functions forum (microsoft.public.excel.worksheet.
functions) about using array formulas to mimic a "MAXIF" type function.
This should let you keep using N/A in your column, but allow the MAX
function to ignore them.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 179
Default Line chart with zerovalues

Hi Del

thanks for your answer.

They already gave me an answer!

Thanks to all

Carlo

"Del Cotter" wrote:

On Tue, 5 Sep 2006, in microsoft.public.excel.charting,
Carlo said:
well, this is the formula which is in my "range"-cells:
=IF(OR(ROW()<MAX($H$5;$H$1);X7="");#N/A;100+(X7-INDIRECT("x" &
MAX($H$5;$H$1)))/INDIRECT("x" & MAX($H$5;$H$1))*100)

I need the #N/A, otherwise these points would show up on my Chart with zero!
If there would be another solution then the #N/A that would be great,


Ask on the Worksheet Functions forum (microsoft.public.excel.worksheet.
functions) about using array formulas to mimic a "MAXIF" type function.
This should let you keep using N/A in your column, but allow the MAX
function to ignore them.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.

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
Bar Chart To Line Chart for last 3 points only Big H Charts and Charting in Excel 1 October 13th 05 09:55 PM
tick mark labels Debrane Charts and Charting in Excel 9 July 19th 05 02:53 AM
Pivot Table, Line Chart with Secondary Y axis, Page Field selection destroys Y2 axis [email protected] Charts and Charting in Excel 0 July 13th 05 09:30 PM
Line chart in Excel - trendline incomplete [email protected] Charts and Charting in Excel 7 May 13th 05 01:21 PM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM


All times are GMT +1. The time now is 01:54 PM.

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

About Us

"It's about Microsoft Excel"