Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 52
Default Line Cart Per Month but no data yet

EXCEL 2007
I have a simple line chart that takes data from 12 cells contining formulas
giving a calculated value for each month of the year. The Y axis is MONTH.
PROBLEM:
We want the Y axis to show all 12 month names (no problem with that), but we
don't want the line of values to be drawn into the future. I just want the
line to stop if data value = 0 for future months. For future months we
currently get value of zero charted. Of course if there is no formula in the
source data cells, then there is no line drawn, but I am finding that because
there is a formula in the data source cells, something is always being drawn
in the chart.

I tried putting IF = 0 then "" in the formula, but still got liine in chart.
I tried If = 0 OFFSET to a blank cell, but still got something. Problem
seems to be that if there is formula in source data cell, charting insists on
displaying something in chart.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8,651
Default Line Cart Per Month but no data yet

In your formula, instead of setting to "", set the result to NA(). Then the
chart will treat the cell as blank.
--
David Biddulph

"KIM W" wrote in message
...
EXCEL 2007
I have a simple line chart that takes data from 12 cells contining
formulas
giving a calculated value for each month of the year. The Y axis is
MONTH.
PROBLEM:
We want the Y axis to show all 12 month names (no problem with that), but
we
don't want the line of values to be drawn into the future. I just want
the
line to stop if data value = 0 for future months. For future months we
currently get value of zero charted. Of course if there is no formula in
the
source data cells, then there is no line drawn, but I am finding that
because
there is a formula in the data source cells, something is always being
drawn
in the chart.

I tried putting IF = 0 then "" in the formula, but still got liine in
chart.
I tried If = 0 OFFSET to a blank cell, but still got something. Problem
seems to be that if there is formula in source data cell, charting insists
on
displaying something in chart.



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Line Cart Per Month but no data yet

Change your formula so that it returns NA() for a blank cell. This turns
into #N/A in the worksheet, which is not plotted in a line or XY chart.

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


"KIM W" wrote in message
...
EXCEL 2007
I have a simple line chart that takes data from 12 cells contining
formulas
giving a calculated value for each month of the year. The Y axis is
MONTH.
PROBLEM:
We want the Y axis to show all 12 month names (no problem with that), but
we
don't want the line of values to be drawn into the future. I just want
the
line to stop if data value = 0 for future months. For future months we
currently get value of zero charted. Of course if there is no formula in
the
source data cells, then there is no line drawn, but I am finding that
because
there is a formula in the data source cells, something is always being
drawn
in the chart.

I tried putting IF = 0 then "" in the formula, but still got liine in
chart.
I tried If = 0 OFFSET to a blank cell, but still got something. Problem
seems to be that if there is formula in source data cell, charting insists
on
displaying something in chart.



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
Excel 2003 month to month data change grid Chad[_2_] Excel Discussion (Misc queries) 2 February 15th 08 01:36 AM
SHOPPING CART Paul Ferro Excel Discussion (Misc queries) 1 September 16th 06 02:53 AM
Can a shopping cart be created using Excel? Willie Excel Worksheet Functions 0 March 15th 06 05:56 PM
Need help creating a database for a shopping cart website. diane747 New Users to Excel 1 January 29th 06 05:26 PM
Text on cart based on data in a cell Ant Charts and Charting in Excel 1 August 10th 05 11:06 PM


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