Chart lines referenced to formulas w/ no value = 0?

ac3100

Board Regular
Joined
Aug 21, 2002
Messages
185
Is there a way to have a line in a chart that references a cell that has a formula in it but, contains no value to not show up as a value of zero? sometimes there is missing data for a particular month and the line goes from 35,000 to 0 to 42,000. That kind of looks funny. I use an =if(cell="","",xxx) formula. I wish there would be a break in the line for that particular month until it gets a value. It would look a lot cleaner. I hope this makes sense.
Andy
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
one way - excel does not chart #NA's, so change your formula to
=if(a=b,X,na())

Paddy
 

ac3100

Board Regular
Joined
Aug 21, 2002
Messages
185
Thanks for the reply. I can't have #N/A in my worksheet otherwise the macros used to calculate will not work.
It suprises me that there is not a built-in option for charts to not plot a zero if there is no value in the cell.
 

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
On 2002-08-29 14:37, ac3100 wrote:
Thanks for the reply. I can't have #N/A in my worksheet otherwise the macros used to calculate will not work.
It suprises me that there is not a built-in option for charts to not plot a zero if there is no value in the cell.

If you've got zeros in the data & you don't want to plot the data points at all, custom filter your source data to exclude zero's - excel's default is to only plot visable cells.

There are also other things you can do to change the way excel charts blanks - see the options in tools | options |chart tab.

paddy
This message was edited by PaddyD on 2002-08-29 19:26
 

Forum statistics

Threads
1,147,847
Messages
5,743,522
Members
423,801
Latest member
paulj4177

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top