#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default divide by zero

need to calculate error from zero...
typical working formula is (x43-x45)/x45 for percentage of error. these
calculations provide values of error for calibrations over a range of values
that take place in our facility. for an error however that occurs based on
the zero value this formula understandably displays formula error div/0.

eg.. calibration expected 4.00ma. measured 4.18ma results in an error of 0.045
(4.18-4.00)/4.00 = 0.045

calibration expected 0inH2O. measured 0.8inH2O results in error DIV/0

how best to handle this ???
--
instrumentation engineer
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default divide by zero

Perhaps....
=if(X45=0,"Zero Divisor",(x43-x45)/x45)

Replace Zero Divisor with any error message you wish.

Vaya con Dios,
Chuck, CABGx3



"arknsparc" wrote:

need to calculate error from zero...
typical working formula is (x43-x45)/x45 for percentage of error. these
calculations provide values of error for calibrations over a range of values
that take place in our facility. for an error however that occurs based on
the zero value this formula understandably displays formula error div/0.

eg.. calibration expected 4.00ma. measured 4.18ma results in an error of 0.045
(4.18-4.00)/4.00 = 0.045

calibration expected 0inH2O. measured 0.8inH2O results in error DIV/0

how best to handle this ???
--
instrumentation engineer

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
divide Marc Excel Discussion (Misc queries) 2 September 22nd 06 02:34 AM
Divide by 3 GARY Excel Discussion (Misc queries) 1 May 11th 06 03:26 PM
divide by 0 sony654 Excel Worksheet Functions 4 April 24th 05 08:10 AM
Divide by Zero rocky Excel Worksheet Functions 3 April 22nd 05 12:50 PM
Divide one row over other row I dont wont to divide one number Rick Excel Discussion (Misc queries) 0 March 4th 05 07:13 PM


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

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"