Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
2/20/2009 8:57:56 AM EDT
I have a spreadsheet that collects data monthly and then, based upon a chosen month, displays the data in charts covering a smaller range. To do this, I've had to create a table that is populated automatically based upon the specified criteria and from which the charts are generated.



The problem arises when a particular datapoint is "N/A". The data table populates perfectly, but the chart displays ZERO.



I know that BLANK cells can be skipped in charts, but this table has no blank cells because each cell is populated by a formula in that cell.



Any idea how I can either a) get "N/A" cells not to plot, for "N/A" to appear in the data table on the chart, or both?



Thanks.
2/20/2009 9:01:01 AM EDT
[#1]
You could try something like this, where "$AR$15" is the cell that may or may not contain a value, even though it contains a formula.





=IF($AR$15="N/A","N/A",$AR$15)

 
2/20/2009 9:05:17 AM EDT
[#2]
Use the IF function to test for validity and if it's not valid use the previous cell's value?
2/20/2009 9:16:49 AM EDT
[#3]
Use an IF statement.

The conditional test can be either ISBLANK() or ISNA() or ISERROR()
2/20/2009 9:31:00 AM EDT
[#4]




Quoted:

You could try something like this, where "$AR$15" is the cell that may or may not contain a value, even though it contains a formula.



=IF($AR$15="N/A","N/A",$AR$15)




That's basically what I've got. Sadly, "" is not viewed as null, but rather as a zero value.