Table:
0
A
B
C
D
E
F
1
Year
Team
Attempts
Completions
Completion %
Yards
2
2008
Iowa
Redshirt
Redshirt
Redshirt
Redshirt
3
2009
Iowa
87
42
48.3%
470
4
2010
Iowa
8
5
62.5%
45
5
2011
Iowa
404
237
58.7%
3,022
6
2012
Iowa
389
223
57.3%
2,249
7
College Totals
College Totals
888
507
57.1%
5,786

Questions and formulas:
Question: What team did James Vanderberg belong to when the Completions had a status of redshirt?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="redshirt"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7="redshirt"),2))
Level: medium
Question: What were the number of completions for James Vanderberg on Iowa when his yards were 45?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(B1="iowa")*(F1=45)),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,(B2:B7="iowa")*(F2:F7=45)),4))
Level: medium
Question: What was the team Vanderberg belonged to when there was 42 completions?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="42"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7="42"),2))
Level: medium
Question: What number of attempts were recorded when the completions were 223?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="223"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7="223"),3))
Level: medium
Question: In what year was the number of attempts 888?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1=888),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,C2:C7=888),1))
Level: medium
Question: What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(B1="iowa")*(F1=2249)),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,(B2:B7="iowa")*(F2:F7=2249)),3))
Level: medium