View Single Post
  #4  
Old March 17th, 2006, 03:01 AM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default Problem solving div/0 error in a zero value cell

If setting the result to blank when you divide by zero still causes problems,
then you need to set it to something else that won't. What about setting it to
zero rather than blank? Does that work?

Also, you can simplify your If statement by testing only F7 as follows:

=if(f7=0,0,G7+I7*G3+(H7*I3)/F7)

--
Regards,
Fred


"robert s" wrote in
message ...

I need a fix for a problem I am having .I have a qoute sheet linked to a
spread sheet with multiple rows of Items bein qouted, when I have data
in the cells everything is dandy,but if I have nothing in the cell for
instance I only use one line on the qoute sheet instead of two or eight
I get a div/o error that stops my totals calculations on the first page
and then transfers it to my customer copy.
origanlcode
(G7+I7*G3)+(H7*I3)/F7
Fix hides error code
=IF(ISERROR((G7+I7*G3)+(H7*I3)/F7),"",(G7+I7*G3)+(H7*I3)/F7)
the dividing by zero I understand because there is no numbers in the
code when not in use ,but I cant seem to come up with a different way
of coding it.The if error fix makes it disapear but I still cant total
my numbers unless all rows have data ,any Ideas?

Thanks
Bob S.


--
robert s
------------------------------------------------------------------------
robert s's Profile:
http://www.excelforum.com/member.php...o&userid=32207
View this thread: http://www.excelforum.com/showthread...hreadid=523396