Table:
0
A
B
C
D
E
F
1
Nat.
Name
Moving to
Type
Transfer window
Transfer fee
2
SCO
Martin Ure
Queen's Park
End of contract
Summer
n/a
3
SCO
Scott Hadden
Ross County
End of contract
Summer
n/a
4
SCO
Steven Campbell
Free Agent
End of contract
Summer
n/a
5
England
Joe Sagar
Free Agent
End of contract
Summer
n/a
6
SEN
Makhtar N'Diaye
Free Agent
End of contract
Summer
n/a
7
FRA
Antoine Ponroy
Free Agent
End of contract
Summer
n/a
8
GER
Stefan Klos
Retired
End of contract
Summer
n/a
9
Croatia
Dado Pršo
Retired
End of contract
Summer
n/a
10
SCO
Gavin Rae
Cardiff City
End of contract
Summer
n/a
11
SCO
Brian Gilmour
Queen of the South
End of contract
Summer
n/a
12
SWE
Karl Svensson
Caen
Transfer
Summer
£0.7m
13
ENG
Lee Robinson
Greenock Morton
Loan
Summer
n/a
14
CZE
Libor Sionko
Copenhagen
Transfer
Summer
£0.09m
15
Slovakia
Filip Šebo
Valenciennes
Loan
Summer
n/a
16
SCO
Ian Murray
Norwich City
Transfer
Summer
Free
17
ENG
Ugo Ehiogu
Sheffield United
Transfer
Winter
Free
18
SCO
Alan Hutton
Tottenham Hotspur
Transfer
Winter
£9m
19
NIR
Roy Carroll
Derby County
Transfer
Winter
Free

Questions and formulas:
Question: What type is shown with a moving to of valenciennes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="valenciennes"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F19,C2:C19="valenciennes"),4))
Level: medium
Question: What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(F1="n/a")*(C1="free agent")*(B1="joe sagar")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F19,(F2:F19="n/a")*(C2:C19="free agent")*(B2:B19="joe sagar")),5))
Level: medium
Question: What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(D1="end of contract")*(A1="sco")*(C1="cardiff city")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F19,(D2:D19="end of contract")*(A2:A19="sco")*(C2:C19="cardiff city")),2))
Level: medium
Question: What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(F1="free")*(C1="derby county")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F19,(F2:F19="free")*(C2:C19="derby county")),5))
Level: medium