Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bluenoser1946
 
Posts: n/a
Default New Display Problem


I have this formula in Column "D"

=(E5/B5)*100

E5 is 0.00 and B5 is Blank.

D5 displays #DIV/0!

What have I done wrong?

old dog learning new tricks


--
bluenoser1946
------------------------------------------------------------------------
bluenoser1946's Profile: http://www.excelforum.com/member.php...o&userid=26006
View this thread: http://www.excelforum.com/showthread...hreadid=393688

  #2   Report Post  
CLR
 
Posts: n/a
Default

=IF(B5=0,"",(E5/B5)*100)

Vaya con Dios,
Chuck, CABGx3



"bluenoser1946"
wrote in message
news:bluenoser1946.1teomj_1123437929.3228@excelfor um-nospam.com...

I have this formula in Column "D"

=(E5/B5)*100

E5 is 0.00 and B5 is Blank.

D5 displays #DIV/0!

What have I done wrong?

old dog learning new tricks


--
bluenoser1946
------------------------------------------------------------------------
bluenoser1946's Profile:

http://www.excelforum.com/member.php...o&userid=26006
View this thread: http://www.excelforum.com/showthread...hreadid=393688



  #3   Report Post  
bigwheel
 
Posts: n/a
Default

The error showing in D5 shows that you attempted to divide by zero (or blank
which amounts to the same in this case) You could test for this condition
(i.e. B5 = 0 or blank) by amending your formula to
=IF(OR(B5="",B5=0),"",(E5/B5)*100) which will result in D5 showing blank
unless B5 is something other than 0 or ""


"bluenoser1946" wrote:


I have this formula in Column "D"

=(E5/B5)*100

E5 is 0.00 and B5 is Blank.

D5 displays #DIV/0!

What have I done wrong?

old dog learning new tricks


--
bluenoser1946
------------------------------------------------------------------------
bluenoser1946's Profile: http://www.excelforum.com/member.php...o&userid=26006
View this thread: http://www.excelforum.com/showthread...hreadid=393688


  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Nothing wrong, you can't divide by zero so that is what it is telling you,
you can add this

=IF(B5=0,"",(E5/B5)*100)

will be blank if B5 is blank or zero, replace "" with 0 if you want zero as
an answer

--
Regards,

Peo Sjoblom

(No private emails please)


"bluenoser1946"
wrote in message
news:bluenoser1946.1teomj_1123437929.3228@excelfor um-nospam.com...

I have this formula in Column "D"

=(E5/B5)*100

E5 is 0.00 and B5 is Blank.

D5 displays #DIV/0!

What have I done wrong?

old dog learning new tricks


--
bluenoser1946
------------------------------------------------------------------------
bluenoser1946's Profile:
http://www.excelforum.com/member.php...o&userid=26006
View this thread: http://www.excelforum.com/showthread...hreadid=393688


  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Although your formula works and is more sound logically the OR is not needed
since excel see a blank as zero so =0 is enough to test both for blanks and
zeros

--
Regards,

Peo Sjoblom

(No private emails please)


"bigwheel" wrote in message
...
The error showing in D5 shows that you attempted to divide by zero (or
blank
which amounts to the same in this case) You could test for this condition
(i.e. B5 = 0 or blank) by amending your formula to
=IF(OR(B5="",B5=0),"",(E5/B5)*100) which will result in D5 showing blank
unless B5 is something other than 0 or ""


"bluenoser1946" wrote:


I have this formula in Column "D"

=(E5/B5)*100

E5 is 0.00 and B5 is Blank.

D5 displays #DIV/0!

What have I done wrong?

old dog learning new tricks


--
bluenoser1946
------------------------------------------------------------------------
bluenoser1946's Profile:
http://www.excelforum.com/member.php...o&userid=26006
View this thread:
http://www.excelforum.com/showthread...hreadid=393688



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
How do you display Greek and Russian languages in excel? Mark Hayden Excel Discussion (Misc queries) 1 August 1st 05 08:06 AM
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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