B
Bruce
I am trying to create a formula based on a number of
conditions. I have tried "AND" and "OR" statements but
can't seem to make things work. Logically, here is what I
want to do:
if S8="PROFIT", "INCLUDE","EXCLUDE" else
if S8="LOSS" and V8="NO" and W8="NO", "INCLUDE" else
if S8="LOSS" and V8="NO" and W8="YES", "INCLUDE" else
if S8="LOSS" and V8="NO" and W8="YES" and
X8="YES", "EXCLUDE" else
if S8="LOSS" and V8="YES"and X8="NO", "INCLUDE" else
if S8="LOSS" and V8="YES"and X8="YES", "EXCLUDE"
Can anybody help, please?
Oh, this is Excel 2002 SP2
Thanks,
Bruce
conditions. I have tried "AND" and "OR" statements but
can't seem to make things work. Logically, here is what I
want to do:
if S8="PROFIT", "INCLUDE","EXCLUDE" else
if S8="LOSS" and V8="NO" and W8="NO", "INCLUDE" else
if S8="LOSS" and V8="NO" and W8="YES", "INCLUDE" else
if S8="LOSS" and V8="NO" and W8="YES" and
X8="YES", "EXCLUDE" else
if S8="LOSS" and V8="YES"and X8="NO", "INCLUDE" else
if S8="LOSS" and V8="YES"and X8="YES", "EXCLUDE"
Can anybody help, please?
Oh, this is Excel 2002 SP2
Thanks,
Bruce