Thread: IF IF IF
View Single Post
  #1   Report Post  
bob
 
Posts: n/a
Default IF IF IF

First two rows look like this, beginning with column headings:

TM ACTION FOR AGAINST
Was. 3FGM 62 54

In succeeding rows, when TM = Was. and ACTION = 3FGM or FGM or FTA, I want
to add 3, or 2, or 1, respectively, to the numberin the FOR column. If it is
anything else but 3FGM or FGM or FTA, I want to add 0 to the number in the
FOR column.

Furthermore, if TM does not equal Was., I want to perform the same
calculations as above, but in the AGAINST column.

Make sense?