ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #div/0! problem - please help (https://www.excelbanter.com/excel-worksheet-functions/5578-div-0-problem-please-help.html)

Alicia

#div/0! problem - please help
 
I have a formula as follows:

=IF(($E1+$F1)/$G1=1,1,0)

However, if the value in G1 = 0 , then my formula shows #div/0!
How do I solve this?

Alicia

garfield-n-odie

=if($g1<0,if(($e1+$f1)/$g1=1,1,0),0)


"Alicia" wrote:

I have a formula as follows:

=IF(($E1+$F1)/$G1=1,1,0)

However, if the value in G1 = 0 , then my formula shows #div/0!
How do I solve this?

Alicia


Alicia

Thank you very much, that worked a treat!

"garfield-n-odie" wrote:

=if($g1<0,if(($e1+$f1)/$g1=1,1,0),0)


"Alicia" wrote:

I have a formula as follows:

=IF(($E1+$F1)/$G1=1,1,0)

However, if the value in G1 = 0 , then my formula shows #div/0!
How do I solve this?

Alicia



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

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