Table:
0
A
B
C
D
E
F
G
H
I
J
1
Tournament
2002
2004
2005
2006
2007
2008
2010
2011
2012
2
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
Grand Slam Tournaments
3
Australian Open
A
Q2
Q2
A
Q1
Q2
Q2
A
A
4
French Open
A
A
Q2
Q2
Q2
Q2
Q1
A
A
5
Wimbledon
1R
1R
1R
1R
1R
1R
Q2
Q1
A
6
US Open
A
1R
Q1
Q1
Q1
Q1
Q1
A
A
7
Win-Loss
0–1
0–2
0–1
0–1
0–1
0–1
0–0
0–0
0 / 9

Questions and formulas:
Question: What tournament has 1r as a 2004, and 1r as a 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,(C1="1r")*(F1="1r")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J7,(C2:C7="1r")*(F2:F7="1r")),1))
Level: medium
Question: What 2012 has q2 as the 2010, and wimbledon as the tournament?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,(H1="q2")*(A1="wimbledon")),10))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J7,(H2:H7="q2")*(A2:A7="wimbledon")),10))
Level: medium
Question: What 2006 has grand slam tournaments of 2010?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,H1="grand slam tournaments"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J7,H2:H7="grand slam tournaments"),5))
Level: medium
Question: What 2006 has grand slam tournaments of 2005?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,D1="grand slam tournaments"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J7,D2:D7="grand slam tournaments"),5))
Level: medium
Question: What 2006 has q2 as the 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:J1,F1="q2"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:J7,F2:F7="q2"),5))
Level: medium