View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Susan Susan is offline
external usenet poster
 
Posts: 1,117
Default Dont want #DIV/0!.

=IF(iserror(Q8="0",0%,P8/Q8),"0",(Q8="0",0%,P8/Q8))

try that
:)
susan


On Jan 3, 9:57*am, Wanna Learn
wrote:
This is my formula =IF(Q8="0",0%,P8/Q8). * Cell P8 and *Q8 are formatted *as
time (37:30:55) * If *cells P8 and Q8 equal 0:00:00 then my answer is
#DIV/0!. *I want the answer to be 0.0% . *How do I do that? * *Thanks *