Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rocky...
 
Posts: n/a
Default 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

  #2   Report Post  
George Nicholson
 
Posts: n/a
Default

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



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
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
ERROR Pinto1uk Excel Discussion (Misc queries) 1 February 8th 05 03:15 AM
Error when entering and exiting excel Randy Excel Discussion (Misc queries) 1 January 11th 05 03:17 PM


All times are GMT +1. The time now is 03:44 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"