A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do I clear #DIV/0!but leave the formula in cell



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2009, 10:18 AM posted to microsoft.public.excel.worksheet.functions
BC
external usenet poster
 
Posts: 51
Default how do I clear #DIV/0!but leave the formula in cell

when i was at work, i used to have an iserror formula. something like

=iserror(k5/h7*100)0(k5/h7*100) , and this would leave 0 in the
formula cell, instead of the above #div/0 thing. but i can't make it work.
help would really be apreciated.

thanks

bc
  #2  
Old June 23rd, 2009, 10:49 AM posted to microsoft.public.excel.worksheet.functions
Simon Lloyd[_303_]
external usenet poster
 
Posts: 1
Default how do I clear #DIV/0!but leave the formula in cell


bc;390534 Wrote:
when i was at work, i used to have an iserror formula. something like

=iserror(k5/h7*100)0(k5/h7*100) , and this would leave 0 in the
formula cell, instead of the above #div/0 thing. but i can't make it
work.
help would really be apreciated.

thanks

bcIts done in this fashion =IF(ISERROR(A1/B1*100),0,A1/B1*100)



--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=109168

  #3  
Old June 23rd, 2009, 10:50 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default how do I clear #DIV/0!but leave the formula in cell

=IF(iserror(k5/h7*100),0,k5/h7*100)

OR

=IF(iserror((k5/h7)*100),0,(k5/h7)*100)

If this post helps click Yes
---------------
Jacob Skaria


"bc" wrote:

when i was at work, i used to have an iserror formula. something like

=iserror(k5/h7*100)0(k5/h7*100) , and this would leave 0 in the
formula cell, instead of the above #div/0 thing. but i can't make it work.
help would really be apreciated.

thanks

bc

  #4  
Old June 23rd, 2009, 01:21 PM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default how do I clear #DIV/0!but leave the formula in cell

Try:

=if(h7=0,0,k5/h7*100)

Regards,
Fred.

"bc" wrote in message
news
when i was at work, i used to have an iserror formula. something like

=iserror(k5/h7*100)0(k5/h7*100) , and this would leave 0 in the
formula cell, instead of the above #div/0 thing. but i can't make it
work.
help would really be apreciated.

thanks

bc


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.