#1   Report Post  
jerie
 
Posts: n/a
Default #DIV/O!

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
  #2   Report Post  
CLR
 
Posts: n/a
Default

=IF(ISERR(TRUNC(G6/F6+0.5)),"", TRUNC(G6/F6+0.5))

Vaya con Dios,
Chuck, CABGx3



"jerie" wrote in message
...
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



  #3   Report Post  
 
Posts: n/a
Default

jerie wrote:
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))

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with #DIV/O! davidadiaz Excel Worksheet Functions 1 February 15th 05 11:25 PM
Help with #DIV/O! davidadiaz Excel Worksheet Functions 0 February 15th 05 11:08 PM


All times are GMT +1. The time now is 07:50 AM.

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

About Us

"It's about Microsoft Excel"