ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Divde by zero Error (https://www.excelbanter.com/excel-worksheet-functions/23051-divde-zero-error.html)

rocky...

Divde by zero Error
 
Please help with the following formula,
E20 and E22 , when left blank = value of 0, Therefore " Divide by Zero
Error " condition occure affecting the rest of the form.
example =sumif(E20,E22)=<0*(E2/E22)*167


George Nicholson

Not at all sure what you are asking/trying to do, but my best guess
(avoiding DivisionByZero error while ignoring incorrect SumIf syntax) is:

=If(E22 = 0, 0, (E2/E22)*167)

HTH,
--
George Nicholson

Remove 'Junk' from return address.

"rocky..." wrote in message
...
Please help with the following formula,
E20 and E22 , when left blank = value of 0, Therefore " Divide by Zero
Error " condition occure affecting the rest of the form.
example =sumif(E20,E22)=<0*(E2/E22)*167





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

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