Table:
0
A
B
C
D
E
F
G
1
State
Born/Died
Active service
Chief Judge
Senior status
Appointed by
Reason for termination
2
IA
1833–1916
1882–1903
—
—
Arthur Category:Articles with hCards
retirement
3
IA
1846–1924
1904–1921
—
1921–1924
T. Roosevelt Category:Articles with hCards
death
4
IA
1864–1948
1922–1943
—
1943–1948
Harding Category:Articles with hCards
death
5
IA
1893–1970
1944–1961
1961
1961–1970
F. Roosevelt Category:Articles with hCards
death
6
IA
1909–1995
1962–1977
—
1977–1995
Kennedy Category:Articles with hCards
death
7
IA
1939–present
1986–1991
—
—
Reagan Category:Articles with hCards
reappointment
8
IA
1948–present
1992–2002
1992–1999
—
G.H.W. Bush Category:Articles with hCards
reappointment

Questions and formulas:
Question: Tell me the chief judge which has reason for termination of retirement
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="retirement"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,G2:G8="retirement"),4))
Level: medium