View Single Post
  #5   Report Post  
ww
 
Posts: n/a
Default

Try
=IF(AND(R2="w",Q20),Q2,IF(AND(R2="w",Q2<0),100,IF (AND(R2="l",Q20),-100,Q2)))

HTH

"Jambruins" wrote:

I want a formula in cell S2 to do the following...

If R2 = W and Q2 is a positive number display Q2.
If R2 = W and Q2 is a negative number display 100.
If R2 = L and Q2 is a positive number display -100.
IF R2 = L and Q2 is a negative number display Q2.

What formula would I use for this? Thanks.