B
bob
i am trying to write an if statment that will do the following
if c8="p" then y20
if c9="p" then y21
if c8&c9="p" then y20+y21
if c8="c" then nil
if c9="c" then nil
this statment works for the C8 & C9 inputs from strategy sheet 1 at a time
but i am having problems with the sum part
=IF('Strategy Evaluation'!C8="P",Y20*AB20-AD9,IF('Strategy
Evaluation'!C9="P",Y21*AB21-AD9," "))
=IF('Strategy Evaluation'!C8="P",Y20*AB20-AD9,IF('Strategy
Evaluation'!C9="P",Y21*AB21-AD9,IF(AA20=AA21,(Y20*AB20-AD9)+(Y21*AB21-AD9),"
")))
i used something like this but the sum occurs for 2 C's and not 2 P's.
the 2 P's = Y20*AB20-AD9
thanks for any help i am going around in circles
if c8="p" then y20
if c9="p" then y21
if c8&c9="p" then y20+y21
if c8="c" then nil
if c9="c" then nil
this statment works for the C8 & C9 inputs from strategy sheet 1 at a time
but i am having problems with the sum part
=IF('Strategy Evaluation'!C8="P",Y20*AB20-AD9,IF('Strategy
Evaluation'!C9="P",Y21*AB21-AD9," "))
=IF('Strategy Evaluation'!C8="P",Y20*AB20-AD9,IF('Strategy
Evaluation'!C9="P",Y21*AB21-AD9,IF(AA20=AA21,(Y20*AB20-AD9)+(Y21*AB21-AD9),"
")))
i used something like this but the sum occurs for 2 C's and not 2 P's.
the 2 P's = Y20*AB20-AD9
thanks for any help i am going around in circles