Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Elan
 
Posts: n/a
Default Empty Cell calculation

I have a column with formulas.
When formulas return empty cell (""), the chart seems to handle
it as a 0. I do not want to display those data points at all.
I tried to use NA() instead of .
The chart seemed to be o.k. but now I have a problem finding MAX/MIN Values
of this column because I have there now both numbers and #N/A.
Thanks in advance,
Elan

  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Elan,

1) Use a second column of formulas to find your MAX and MIN values

2) Use an array formula (entered with Ctrl-Shift-Enter) like

=MAX(IF(ISERROR(A1:A5),0,A1:A5))

which will ignore the #N/A values.

HTH,
Bernie
MS Excel MVP


"Elan" wrote in message
...
I have a column with formulas.
When formulas return empty cell (""), the chart seems to handle
it as a 0. I do not want to display those data points at all.
I tried to use NA() instead of "" .
The chart seemed to be o.k. but now I have a problem finding MAX/MIN

Values
of this column - because I have there now both numbers and #N/A.
Thanks in advance,
Elan



  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

"" is not an empty cell, it is a zero length string. Worksheet formulas
cannot return empty cells. Text (including zero length strings) plot as
zero. #N/A doesn't plot, but also doesn't break connecting lines. If
you need the cell to behave EXACTLY like an empty cell, you will have to
delete the formula. For a dynamic worksheet the process of deleting or
restoring formulas as needed could be automated via a macro tied to a
change event.

Jerry

Elan wrote:

I have a column with formulas.
When formulas return empty cell (""), the chart seems to handle
it as a 0. I do not want to display those data points at all.
I tried to use NA() instead of .
The chart seemed to be o.k. but now I have a problem finding MAX/MIN Values
of this column because I have there now both numbers and #N/A.
Thanks in advance,
Elan


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
In Bar Chart, can we display both figures and their respective %a. Airtel Excel Discussion (Misc queries) 3 March 9th 05 02:35 PM
AutoFIll -by dragging the bottom-right corner of the cell Venkatesh V Excel Discussion (Misc queries) 5 February 23rd 05 04:57 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
Display a dialog box if cell is empty jst Excel Discussion (Misc queries) 2 December 28th 04 11:59 AM


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