Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sbigelow
 
Posts: n/a
Default returning blank cell


I have a if formula that looks to see if a referenced cell is blank
(empty cell). If its not, it returns my calculation. If it is blank, I
want it to return a blank cell (empty). Here is the formula:
=IF(ISBLANK(D227),"",(D227-D226)/D226)

The problem is I have a line chart grafted on this data. If the cell
is blank (D227), it is causing my line chart to drop to zero instead of
just ending on the previous value.

I have tried entering an apostrophe but it didn't work. I also tried
turning off zero values in the options menu. Any ideas on how to get
the chart not to plot the cell?


--
sbigelow
------------------------------------------------------------------------
sbigelow's Profile: http://www.excelforum.com/member.php...o&userid=27906
View this thread: http://www.excelforum.com/showthread...hreadid=474555

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=IF(ISBLANK(D227),NA(),(D227-D226)/D226)

That will "fix" the chart problem but as you'll see, it returns #N/A's in
your worksheet cells.

If don't want to see them use conditional formatting to hide them.

Select the cell
Goto FormatConditional Formatting
Formula is: =ISNA(cell_reference)
Set the font color to be the same as the background color

Biff

"sbigelow" wrote in
message ...

I have a if formula that looks to see if a referenced cell is blank
(empty cell). If its not, it returns my calculation. If it is blank, I
want it to return a blank cell (empty). Here is the formula:
=IF(ISBLANK(D227),"",(D227-D226)/D226)

The problem is I have a line chart grafted on this data. If the cell
is blank (D227), it is causing my line chart to drop to zero instead of
just ending on the previous value.

I have tried entering an apostrophe but it didn't work. I also tried
turning off zero values in the options menu. Any ideas on how to get
the chart not to plot the cell?


--
sbigelow
------------------------------------------------------------------------
sbigelow's Profile:
http://www.excelforum.com/member.php...o&userid=27906
View this thread: http://www.excelforum.com/showthread...hreadid=474555



  #3   Report Post  
Barb Reinhardt
 
Posts: n/a
Default

I'd probably use

=IF(OR(ISBLANK(D227),ISBLANK(D226)),NA(),(D227-D226)/D226)

Otherwise, you could get a DIV/0 error.


"Biff" wrote in message
...
Hi!

Try this:

=IF(ISBLANK(D227),NA(),(D227-D226)/D226)

That will "fix" the chart problem but as you'll see, it returns #N/A's in
your worksheet cells.

If don't want to see them use conditional formatting to hide them.

Select the cell
Goto FormatConditional Formatting
Formula is: =ISNA(cell_reference)
Set the font color to be the same as the background color

Biff

"sbigelow" wrote
in message ...

I have a if formula that looks to see if a referenced cell is blank
(empty cell). If its not, it returns my calculation. If it is blank, I
want it to return a blank cell (empty). Here is the formula:
=IF(ISBLANK(D227),"",(D227-D226)/D226)

The problem is I have a line chart grafted on this data. If the cell
is blank (D227), it is causing my line chart to drop to zero instead of
just ending on the previous value.

I have tried entering an apostrophe but it didn't work. I also tried
turning off zero values in the options menu. Any ideas on how to get
the chart not to plot the cell?


--
sbigelow
------------------------------------------------------------------------
sbigelow's Profile:
http://www.excelforum.com/member.php...o&userid=27906
View this thread:
http://www.excelforum.com/showthread...hreadid=474555





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
Setting Purely BLANK Cell yokato95 Excel Worksheet Functions 4 August 18th 05 04:43 PM
Replace null string with blank cell gjcase Excel Discussion (Misc queries) 2 August 9th 05 02:13 PM
leave a cell blank nicolas Excel Worksheet Functions 1 August 2nd 05 01:55 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Go to first blank cell Curt D. Excel Worksheet Functions 4 February 28th 05 10:27 AM


All times are GMT +1. The time now is 11:56 AM.

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"