Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Using Formulas with Charts

I have a chart that references cells with the following formula
=if(a1="","",a1/a2). The formula is used for each month Jan-Dec. I would
like to copy the formula across all months. When I do this my data point
show as zero for months that have not happened yet. What can I do to not
show a line on the chart for a data point with a "" or null value?

Thank you,
Sandy
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Using Formulas with Charts

The cell with the formula isn't blank, and "" does not produce a blank.
There is not a formulaic way to simulate a blank, but for many cases, a line
chart or XY chart will treat NA() as a blank. It produces an ugly #N/A error
in the worksheet, but it isn't plotted, and you can pretty up the worksheet
with conditional formatting:

http://contextures.com/xlCondFormat03.html#Errors

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


"Sandybam" wrote in message
...
I have a chart that references cells with the following formula
=if(a1="","",a1/a2). The formula is used for each month Jan-Dec. I would
like to copy the formula across all months. When I do this my data point
show as zero for months that have not happened yet. What can I do to not
show a line on the chart for a data point with a "" or null value?

Thank you,
Sandy



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
Logarithmic curve formulas in charts and LOGEST fx values? Rich Excel Worksheet Functions 4 November 23rd 05 03:49 AM
need a refresher: text boxes on charts that use relational formulas? KR Charts and Charting in Excel 3 October 26th 05 03:08 PM
FORMULAS IN CHARTS? xl2000 MGOETZ Charts and Charting in Excel 0 May 24th 05 06:48 PM
linkingof charts in worksheets to cells steve Excel Discussion (Misc queries) 0 May 6th 05 01:44 AM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 10:16 PM.

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"