Create a global variable, say “colName”.
Start by setting it to “Team”.
Call “GetColumn” for the team column.
On Got Column:
if colName == “Team”:
set the team label texts to the values of the column.
set colName to “O”
get column for the “O” column
else if colName == “O”:
set the labels under “O” to the values of that column.
set colName to “G”
get column “G”
… and so on.