Table:
0
A
B
C
D
E
1
Year
Competition Description
Location
Apparatus
Rank-Final
2
2007
U.S. Championships
San Jose
Floor Exercise
3
3
2007
U.S. Championships
San Jose
All-Around
6
4
2007
U.S. Championships
San Jose
Uneven Bars
8
5
2007
U.S. Championships
San Jose
Vault
10 (tie)
6
2007
U.S. Championships
San Jose
Balance Beam
12
7
2007
Junior Pan American Championships
Guatemala City, Guatemala
Team
1
8
2007
Junior Pan American Championships
Guatemala City, Guatemala
All-Around
1
9
2007
Junior Pan American Championships
Guatemala City, Guatemala
Floor Exercise
1
10
2007
Junior Pan American Championships
Guatemala City, Guatemala
Uneven Bars
2
11
2007
U.S. Classic
Battle Creek, Michigan
Uneven Bar
2
12
2007
U.S. Classic
Battle Creek, Michigan
All-Around
3
13
2006
U.S. Classic
Kansas City, Kansas
All-Around
5

Questions and formulas:
Question: What year was the rank final of 6?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1=6),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,E2:E13=6),1))
Level: medium
Question: What was the rank final before 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1<2007),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13<2007),5))
Level: medium