#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Div 0 help

=(SUM(E98:F98)+D98/2)/(I98-G98)

This formula gives me a Div 0 error. How can I re-write it so that it stores
a value of 0 , if it encounters a Divide by 0 and executes the calculation if
0

Help appreciated
Joe
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 420
Default Div 0 help

maybe:

=if(i98=g98,0,sum(e98:F98,d98/2)/(i98-g98))

I combined your addition into the =sum() portion. I thought it made it easier
to read.



On 05/17/2010 06:12, joey_boy wrote:
=(SUM(E98:F98)+D98/2)/(I98-G98)

This formula gives me a Div 0 error. How can I re-write it so that it stores
a value of 0 , if it encounters a Divide by 0 and executes the calculation if
0

Help appreciated
Joe

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



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"