Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default Overwriting #DIV/0 value using ISERROR

I have formulas in cells that return a #DIV/0 because there is no data to put
in dependent cells in the formula. Someone show me, apparently way too long
ago, how to use ISERROR to cause the value to be "0" if an error was found
and to be the output of the formula if no errors were found.

It was something like =ISERROR(J5,0,E5/F5) but that's not working. I would
appreciate some help with the syntax.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Overwriting #DIV/0 value using ISERROR

Does this help?

=IF(ISERROR(B3/C3),"",B3/C3)

Mike

"ConfusedNHouston" wrote:

I have formulas in cells that return a #DIV/0 because there is no data to put
in dependent cells in the formula. Someone show me, apparently way too long
ago, how to use ISERROR to cause the value to be "0" if an error was found
and to be the output of the formula if no errors were found.

It was something like =ISERROR(J5,0,E5/F5) but that's not working. I would
appreciate some help with the syntax.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default Overwriting #DIV/0 value using ISERROR

Probably:

=IF(ISERROR(E5/F5),0,E5/F5)

But you could just use:

=IF(F5=0,0,E5/F5)

Regards

Trevor


"ConfusedNHouston" wrote in
message ...
I have formulas in cells that return a #DIV/0 because there is no data to
put
in dependent cells in the formula. Someone show me, apparently way too
long
ago, how to use ISERROR to cause the value to be "0" if an error was found
and to be the output of the formula if no errors were found.

It was something like =ISERROR(J5,0,E5/F5) but that's not working. I
would
appreciate some help with the syntax.

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Overwriting #DIV/0 value using ISERROR

It might have been:
=if(iserror(e5/f5),0,e5/f5)

or

if e5 and f5 are always numbers (that may be 0):
=if(f5=0,0,e5/f5)



ConfusedNHouston wrote:

I have formulas in cells that return a #DIV/0 because there is no data to put
in dependent cells in the formula. Someone show me, apparently way too long
ago, how to use ISERROR to cause the value to be "0" if an error was found
and to be the output of the formula if no errors were found.

It was something like =ISERROR(J5,0,E5/F5) but that's not working. I would
appreciate some help with the syntax.

Thanks


--

Dave Peterson
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
Alert before overwriting cells cottage6 Excel Discussion (Misc queries) 3 May 12th 06 03:31 PM
Overwriting Duplicates in certain cases marshall New Users to Excel 1 February 22nd 06 08:12 AM
Overwriting data Cody Excel Discussion (Misc queries) 5 November 27th 05 02:40 AM
Spreadsheets are overwriting each other Bryan Excel Discussion (Misc queries) 5 August 12th 05 01:51 PM
Overwriting Cells Keith bedford Excel Discussion (Misc queries) 4 March 9th 05 11:46 PM


All times are GMT +1. The time now is 11:05 PM.

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"