LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
William Horton
 
Posts: n/a
Default

Try the below formula. If the formula produces the #Value error only the
result will be 0. Otherwise the result will be whatever it is, even if it is
another type of error.

=IF(NOT(ISERROR(IF($AF$4AF7,0,AF7-$AF$4))),IF($AF$4AF7,0,AF7-$AF$4),IF(ERROR.TYPE(IF($AF$4AF7,0,AF7-$AF$4))=3,0,IF($AF$4AF7,0,AF7-$AF$4)))

Hope this helps.

Bill Horton

"Conditional Formatting" wrote:

I have a time formula.
=IF($AF$4AF7,0,AF7-$AF$4)

Can you help me fina a way when the result is #value it must turn to zero.

Thanks in advance

 
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



All times are GMT +1. The time now is 06:47 PM.

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

About Us

"It's about Microsoft Excel"