View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster pinmaster is offline
external usenet poster
 
Posts: 347
Default conditional formating to keep the #N/A error from being visible

Hi,

In conditional formatting use:

=ISERROR(A1)

Cheers!
Jean-Guy

"irvine79" wrote:

I am putting together a line graph that will be updated hourly. I do not want
it to show the next data point until the update is entered on the graph. When
the related cells on the graph are blank though the line graph dips to zero
for that data point.

My formula is basically:
=IF(A10,A1,"")

The advice I recieved:
Excel treats "" as text, with a numerical value of zero. And even if A1 is
blank, its value is brought over as zero in the first formula. Use this
formula instead:

=IF(A10,A1,NA())

This isn't plotted in a line or XY chart. It leaves an ugly #N/A error in
the cell, which you can hide with conditional formatting.



So...
I either need a new solution to the original question or help with
conditional formatting so I don't have to see the ugly #N/A error.


Thanks alot!