ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Get rid of DIV/0 error message (https://www.excelbanter.com/excel-worksheet-functions/213353-get-rid-div-0-error-message.html)

Jeff

Get rid of DIV/0 error message
 
Is there a command to return a value of 0 instead of DIV/0 error message?

Thanks!!
--
Jeff

Pete_UK

Get rid of DIV/0 error message
 
Something like this:

=IF(B1=0,0,A1/B1)

or more generally:

=IF(ISERROR(your_formula),0,your_formula)

though this would mask all errors.

Hope this helps.

Pete

On Dec 11, 4:38*pm, Jeff wrote:
Is there a command to return a value of 0 instead of DIV/0 error message?

Thanks!!
--
Jeff



Michael

Get rid of DIV/0 error message
 
=IF(Iserror(YourCellreference),0,(YourCellreferenc e))
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Jeff" wrote:

Is there a command to return a value of 0 instead of DIV/0 error message?

Thanks!!
--
Jeff


Jeff

Get rid of DIV/0 error message
 
Thank you!
--
Jeff


"Pete_UK" wrote:

Something like this:

=IF(B1=0,0,A1/B1)

or more generally:

=IF(ISERROR(your_formula),0,your_formula)

though this would mask all errors.

Hope this helps.

Pete

On Dec 11, 4:38 pm, Jeff wrote:
Is there a command to return a value of 0 instead of DIV/0 error message?

Thanks!!
--
Jeff




Pete_UK

Get rid of DIV/0 error message
 
You're welcome.

Pete

On Dec 11, 5:04*pm, Jeff wrote:
Thank you!
--
Jeff



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com