#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Conditional formulas

=((J8/I8%)*(J8-I8)*2+(L8/K8%)*(L8-K8)+(N8/M8%)*(N8-M8))*15/1000
The above is a formula which I have inserted in a cell. My problem is that
if any one of the cell has a value zero then the returned value is#DIV.
Particularly I want to set the formula for the cell N8 (which is again linked
to three different cell), i.e. if N8=0 than also it should return a value.
Kindly help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Conditional formulas

This only fails for me if I8, K8 or M8 is zero, and you can test this

=IF(OR(I8=0,I8="",K8=0,K8="",M8=0,M8=""),"",((J8/I8%)*(J8-I8)*2+(L8/K8%)*(L8-K8)+(N8/M8%)*(N8-M8))*15/1000)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"HARSH BAHAL" wrote in message
...
=((J8/I8%)*(J8-I8)*2+(L8/K8%)*(L8-K8)+(N8/M8%)*(N8-M8))*15/1000
The above is a formula which I have inserted in a cell. My problem is that
if any one of the cell has a value zero then the returned value is#DIV.
Particularly I want to set the formula for the cell N8 (which is again
linked
to three different cell), i.e. if N8=0 than also it should return a value.
Kindly help



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
conditional formulas mrseje1 New Users to Excel 2 November 20th 06 11:01 PM
Conditional use of formulas Nate MMI Excel Worksheet Functions 2 September 27th 06 11:00 PM
Conditional Formulas Craig Koon Excel Worksheet Functions 0 August 24th 06 11:36 PM
How do I set up conditional formulas craig Excel Worksheet Functions 1 February 4th 06 09:45 PM
conditional formulas deaundra Excel Worksheet Functions 2 April 15th 05 12:08 AM


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