Excel Help

CrazyPerson

Platinum Member
Jan 15, 2003
2,161
0
0
how do i do this?

A B C D
1 good 50 5 55
2 bad 50 5 50

ie: when A is good, then B+C=D
when B is bad, the B-C=D

C has to be all positive #s


thank you
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
=if(A1 = "good", B1+C1, B1-C1)

put that in D1, copy and paste into other Ds