Table:
0
A
B
C
D
E
1
Year
GP/GS
Goals
Assists
Total Points
2
1996
2/1
3
2
8
3
1997
6/0
1
1
3
4
1998
1/0
0
0
0
5
1999
17/1
7
4
18
6
2000
Did not play
Did not play
Did not play
Did not play
7
2001
Did not play
Did not play
Did not play
Did not play
8
2002
4/0
1
0
2
9
2003
Did not play
Did not play
Did not play
Did not play
10
2004
Did not play
Did not play
Did not play
Did not play
11
2005
5/1
4
0
8
12
Totals
35/3
16
7
39

Questions and formulas:
Question: How many goals were scored in 2004 when the gp/gs was "did not play"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="did not play")*(A1=2004)),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(B2:B12="did not play")*(A2:A12=2004)),3))
Level: medium
Question: How many assists were there when the total points was 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="2"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,E2:E12="2"),4))
Level: medium
Question: What was the total number of points when there were 7 assists?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=7),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,D2:D12=7),5))
Level: medium
Question: What was the gp/gs when the assists was 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=1),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,D2:D12=1),2))
Level: medium
Question: what was the gp/gs in 2003 when the total points was "did not play"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(E1="did not play")*(A1=2003)),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(E2:E12="did not play")*(A2:A12=2003)),2))
Level: medium