#DIV/O!

  • Thread starter Thread starter jerie
  • Start date Start date
J

jerie

I have a formula as follows =TRUNC(G6/F6+0.5) when there
is no value in the cell it returns #DIV/O!
Is there a way that the cell becomes blank instead of
#DIV/O!

thank you all
rgs jerie
 
jerie said:
I have a formula as follows =TRUNC(G6/F6+0.5) when there
is no value in the cell it returns #DIV/O!
Is there a way that the cell becomes blank instead of
#DIV/O!

=if(f6 = 0, "", trunc(g6/f6+0.5))
 
Back
Top