Hi!
This will work as long as there will be no empty rows in
between entries:
In the "FOR" column:
=IF(OR(A3="",B3=""),"",IF(A3="was.",IF(B3="3fgm",C 2+3,IF
(B3="fgm",C2+2,IF(B3="fta",C2+1,C2))),C2))
In the "AGAINST" column:
=IF(OR(A3="",B3=""),"",IF(A3<"was.",IF(B3="3fgm", D2+3,IF
(B3="fgm",D2+2,IF(B3="fta",D2+1,D2))),D2))
Biff
-----Original Message-----
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?
.
|