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

Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda




  #2   Report Post  
paul
 
Posts: n/a
Default

presumably if one is blank the other will also be blank
=if(D41="","",D41/E41)
--
paul
remove nospam for email addy!



"LMB" wrote:

Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda





  #3   Report Post  
CLR
 
Posts: n/a
Default

Wrap your formula in an IF statement, like

=IF(ISERR(D41/E41),"",D41/E41)

Vaya con Dios,
Chuck, CABGx3




"LMB" wrote in message
...
Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda






  #4   Report Post  
LMB
 
Posts: n/a
Default

Thanks Paul and CLR...both worked...what is the difference in the
statements?

Thanks,
Linda

"LMB" wrote in message
...
Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda






  #5   Report Post  
paul
 
Posts: n/a
Default

mine is a simple if statement(If d41 is blank then blank otherwise d41/e41)
which does what you asked for but limited to d41 being blank....however if
you type 0 in d41 you will get the div 0 error again.The other one says if
there is an error then blank,otherwise d41/e41
--
paul
remove nospam for email addy!



"LMB" wrote:

Thanks Paul and CLR...both worked...what is the difference in the
statements?

Thanks,
Linda

"LMB" wrote in message
...
Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda









  #6   Report Post  
Gord Dibben
 
Posts: n/a
Default

Linda

Just a head's up.

The ISERROR will mask all errors that arise and could mask some other error
that is undesirable like #REF! or #VALUE! or #NAME?


Gord Dibben Excel MVP

Thanks Paul and CLR...both worked...what is the difference in the
statements?


  #7   Report Post  
LMB
 
Posts: n/a
Default

Oh....Is Error!

Thanks,
Linda

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Linda

Just a head's up.

The ISERROR will mask all errors that arise and could mask some other
error
that is undesirable like #REF! or #VALUE! or #NAME?


Gord Dibben Excel MVP

Thanks Paul and CLR...both worked...what is the difference in the
statements?




  #8   Report Post  
CLR
 
Posts: n/a
Default

Another alternative...........

=IF(OR(E41="",E41=0),"",D41/E41)

Vaya con Dios,
Chuck, CABGx3





"LMB" wrote in message
...
Hi Guys,

Using Excel 2000. I have a formula below. If the cells D41 and E41 are
blank, it returns this #DIV/0! I would like the cell to be blank if there
is no info in it. How do I do that?


=D41/E41


Thanks,
Linda






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
Empty Cell ( blank Cell ) rocky Excel Worksheet Functions 2 April 28th 05 11:17 PM
Look for change next blank cell in Range Nigel Bennett Excel Worksheet Functions 1 March 13th 05 09:45 PM
Go to first blank cell Curt D. Excel Worksheet Functions 4 February 28th 05 10:27 AM
Ghost Blank Cell References David P Excel Worksheet Functions 1 February 4th 05 03:27 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"