Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default XY Chart ontinued line

Hi all,

With Excel 2007, I would like to draw an XY graph with continued lines and I
have some holes in my tab.
For example :
X A B
1 1 1
2 2 2
3 3
4 4
5 5 7
The line A is broken between 2 and 4.
The line B is broken between 3 and 5.

If I use the option "display all empty cells" for "linking data points with
a line", my lines are continued, just as I wanted.

But, unfortunately, when datas are not written directly in cells but
calculated, this option doesn't work anymore.
This is because my cell (A3 for ex.) is not really empty calculated.
I've tried to set the cell value with "" ; false or other thinks but nothing
works.

So can someone tell me what I should try to do please ?
Thanks,
GB

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,722
Default XY Chart ontinued line

Instead of returning a blank "", have your formula return the #N/A error
(which causes charts to skip that point.
Example:
=IF(A2A3,NA(),A3)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"g.bon" wrote:

Hi all,

With Excel 2007, I would like to draw an XY graph with continued lines and I
have some holes in my tab.
For example :
X A B
1 1 1
2 2 2
3 3
4 4
5 5 7
The line A is broken between 2 and 4.
The line B is broken between 3 and 5.

If I use the option "display all empty cells" for "linking data points with
a line", my lines are continued, just as I wanted.

But, unfortunately, when datas are not written directly in cells but
calculated, this option doesn't work anymore.
This is because my cell (A3 for ex.) is not really empty calculated.
I've tried to set the cell value with "" ; false or other thinks but nothing
works.

So can someone tell me what I should try to do please ?
Thanks,
GB


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default XY Chart ontinued line

Thanks very much,
Exactly what I was looking for.

GB

"Luke M" a écrit dans le message de
...
Instead of returning a blank "", have your formula return the #N/A error
(which causes charts to skip that point.
Example:
=IF(A2A3,NA(),A3)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"g.bon" wrote:

Hi all,

With Excel 2007, I would like to draw an XY graph with continued lines
and I
have some holes in my tab.
For example :
X A B
1 1 1
2 2 2
3 3
4 4
5 5 7
The line A is broken between 2 and 4.
The line B is broken between 3 and 5.

If I use the option "display all empty cells" for "linking data points
with
a line", my lines are continued, just as I wanted.

But, unfortunately, when datas are not written directly in cells but
calculated, this option doesn't work anymore.
This is because my cell (A3 for ex.) is not really empty calculated.
I've tried to set the cell value with "" ; false or other thinks but
nothing
works.

So can someone tell me what I should try to do please ?
Thanks,
GB



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 do I convert a line chart to a vertical line chart in Excel Gerty Charts and Charting in Excel 1 August 20th 09 04:28 PM
Problem adding vertical marker line to line chart lbb Charts and Charting in Excel 6 January 9th 09 09:02 AM
change last serie to be line in the line-column Excel chart in Wor Eric Charts and Charting in Excel 3 June 30th 07 04:58 PM
Getting line on line chart to display after creation from Pivot Table dcsi_jim Charts and Charting in Excel 8 February 6th 07 08:54 PM
Make a line in a bar chart, and change color of any bars that exceed the line MarkM Excel Discussion (Misc queries) 4 July 5th 06 04:06 PM


All times are GMT +1. The time now is 02:26 AM.

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"