Table:
0
A
B
C
D
E
F
G
1
Tournament
2007
2008
2009
2011
2012
2013
2
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
3R
2R
4R
QF
QF
4
French Open
LQ
2R
1R
4R
1R
1R
5
Wimbledon
LQ
1R
2R
1R
2R
3R
6
US Open
3R
3R
1R
1R
3R
QF

Questions and formulas:
Question: How many sets were played in the 2011 Tournament in which there were 3R in 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="3r"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,B2:B6="3r"),5))
Level: medium
Question: How many sets were in the 2011 Australian Open Tournament?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="australian open"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,A2:A6="australian open"),5))
Level: medium
Question: How many sets were played in the tournament that had 4R in 2011 and 2R in 2008?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(E1="4r")*(C1="2r")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,(E2:E6="4r")*(C2:C6="2r")),4))
Level: medium
Question: How many sets were played in the 2011 tournament, in which 2R were played in 2008?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="2r"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,C2:C6="2r"),5))
Level: medium
Question: Which tournament had 1R in 2013?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="1r"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,G2:G6="1r"),1))
Level: medium
Question: How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(E1="4r")*(D1="2r")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,(E2:E6="4r")*(D2:D6="2r")),2))
Level: medium