Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nigel
 
Posts: n/a
Default Stop the line when 0 is reached

I have a chart ranging from Jan to Dec I have values up till Oct, I want the
line to stop there, is there any way I can stop the line from appearing after
the last value
  #2   Report Post  
Andy Pope
 
Posts: n/a
Default

Hi,

If the cells for Nov and Dec are really empty the line should stop.
If the cells contain formula then make use of NA() instead of ""

Cheers
Andy

Nigel wrote:
I have a chart ranging from Jan to Dec I have values up till Oct, I want the
line to stop there, is there any way I can stop the line from appearing after
the last value


--

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

Thanks Andy

Not sure where I should use the NA(),

here is the formula for the field

=IF(VLOOKUP($W$8,$A$31:$Q$291,O17,FALSE) =
0,NA(),VLOOKUP($W$8,$A$31:$Q$291,O17,FALSE))

Is that where I woudl use the NA() statement? It still retains the 0

Nigel

"Andy Pope" wrote:

Hi,

If the cells for Nov and Dec are really empty the line should stop.
If the cells contain formula then make use of NA() instead of ""

Cheers
Andy

Nigel wrote:
I have a chart ranging from Jan to Dec I have values up till Oct, I want the
line to stop there, is there any way I can stop the line from appearing after
the last value


--

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

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

That looks like the sort of thing.

Are you saying the line still drops to zero when the data is zero?

Nigel wrote:
Thanks Andy

Not sure where I should use the NA(),

here is the formula for the field

=IF(VLOOKUP($W$8,$A$31:$Q$291,O17,FALSE) =
0,NA(),VLOOKUP($W$8,$A$31:$Q$291,O17,FALSE))

Is that where I woudl use the NA() statement? It still retains the 0

Nigel

"Andy Pope" wrote:


Hi,

If the cells for Nov and Dec are really empty the line should stop.
If the cells contain formula then make use of NA() instead of ""

Cheers
Andy

Nigel wrote:

I have a chart ranging from Jan to Dec I have values up till Oct, I want the
line to stop there, is there any way I can stop the line from appearing after
the last value


--

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


--

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
Change line in Chart JeroenM Charts and Charting in Excel 4 October 26th 05 08:07 AM
strange horizontal line showing accross several columns Thrava Excel Discussion (Misc queries) 4 June 29th 05 03:33 AM
coloring overy other line without doing so line by line gen Excel Worksheet Functions 5 April 1st 05 10:38 PM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM
Macro - Skipping a line PaulPoll Excel Worksheet Functions 4 December 21st 04 12:43 AM


All times are GMT +1. The time now is 03:29 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"