Table:
0
A
B
C
D
E
1
Name
Rank
Years until mandatory retirement
Appointed by
Year appointed
2
Anabelle Rodríguez
Associate Justice
6 years
Sila María Calderón
2004
3
Edgardo Rivera Garcia
Associate Justice
11 years
Luis Fortuño
2010
4
Erick Kolthoff Caraballo
Associate Justice
17 years
Luis Fortuño
2009
5
Federico Hernández Denton
Chief Justice
0 year
Sila María Calderón
2004
6
Liana Fiol Matta
Associate Justice
2 years
Sila María Calderón
2004
7
Luis Estrella Martínez
Associate Justice
27 years
Luis Fortuño
2011
8
Mildred Pabón Charneco
Associate Justice
13 years
Luis Fortuño
2009
9
Rafael Martínez Torres
Associate Justice
15 years
Luis Fortuño
2009
10
Roberto Feliberti Cintrón
Associate Justice
19 years
Luis Fortuño
2011

Questions and formulas:
Question: what rank has years until mandatory retirement of 6 years?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="6 years"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,C2:C10="6 years"),2))
Level: medium
Question: what name has an appointed year of 2009 and years until mandatory retirement of 13 years?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(E1=2009)*(C1="13 years")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,(E2:E10=2009)*(C2:C10="13 years")),1))
Level: medium