Thread: #Div/0!
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default #Div/0!

Trying to find which other post to look in was a bit of a nightmare because
you have so many on the same subject. However, I assume in this one you are
trying to eliminate the division/0 error in which case it has nothing to do
with E, it occurs when both F&G=0 so try this:-

=IF(AND(F40,G40),"",IF(AND(F4=0,G4=0),"",IF(F40 ,PI()*E4/(6.5*F4),PI()*E4/G4)))

Mike

"David" wrote:

Futher to my message earlier H4 has the following equation:
=IF(AND(F40,G40),"",IF(F40,PI()*E4/(6.5*F4),PI()*E4/G4))
Values E,F,G are all input.
How do i get the cell H to display 0 when E equals zero