Hello All,
I was hoping you could help me with a query.
If I have a set of games and corresponding names and amount of money own.
I would like to formulate an expression whereby I can add the persons rank.
This is based on the assumption that the person who has won the highest money is in 1st position and so on and so on.
Here is what I have so far, this seems to be incorrect:
IF [Person_id] = [Row-1:Person_id] && [winner_flag] = "Y" THEN "FIRST"
ELSEIF [Row-2:Person_id] THEN "SECOND"
ELSEIF [Row-3:Person_id] THEN "THIRD"
ELSEIF [Row-4:Person_id] THEN "FOURTH"
ELSEIF [Row-5:Person_id] THEN "FIFTH"
ELSEIF [Row-6:Person_id] THEN "SIXTH"
ELSEIF [Row-7:Person_id] THEN "SEVENTH"
ELSEIF [Row-8:Person_id] THEN "EIGHTH"
ELSEIF [Row-9:Person_id] THEN "NINTH"
ELSEIF [Row-10:Person_id] THEN "TENTH"
ELSE "Other" ENDIF
Does anyone know which edits I need to make to the above expression so that it functions?
Thank you all in advance