Hello:
If I understand your question this should do it:
=IF(AND(A17="yes",AO17="Yes",AQ17="hb"),IF(D17="yes",0.5,1),"")
If not exactly perhaps you can make it work by realizing that you can nest the
if statements and so in place of the ,1, in your formula just put in the
additional test you need. So now the formula should return .5 (half of 1) if D17
is yes and all of the other conditions are true or 1 if D17 is not not yes,
if the other conditions are not true the value of D17 is not considered and
"" is returned.
Pieter Vandenberg
: OK I have a formula that is working, now I need to add another variable
: to it.
: The formula that I'm using is:
: =IF(AND(A17="yes",AO17="yes",AQ17="HB"),1,"")
: This returns a value of 1 if
: all of the following is true
: A17 = Yes
: AO17 =Yes
: AQ17 = HB
: So if all of theses conditions are met I need to add if D17 = yes then
: divide by 2 if not the answer would be 1 if all of the previous
: conditions are met.
: --
: lostinformulas
: ------------------------------------------------------------------------
: lostinformulas's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=35229
: View this thread:
http://www.excelforum.com/showthread.php?threadid=550065