Table:
0
A
B
C
D
E
F
1
Office
Branch
Location
Elected
Term began
Term ended
2
Representative
Legislative
Washington, D.C.
1982
January 3, 1983
January 3, 1985
3
Representative
Legislative
Washington, D.C.
1984
January 3, 1985
January 3, 1987
4
Representative
Legislative
Washington, D.C.
1986
January 3, 1987
January 3, 1989
5
Representative
Legislative
Washington, D.C.
1988
January 3, 1989
January 3, 1991
6
Representative
Legislative
Washington, D.C.
1990
January 3, 1991
January 3, 1993
7
Senator
Legislative
Washington, D.C.
1992
January 3, 1993
January 3, 1999
8
Senator
Legislative
Washington, D.C.
1998
January 3, 1999
January 3, 2005
9
Senator
Legislative
Washington, D.C.
2004
January 3, 2005
January 3, 2011

Questions and formulas:
Question: What location was the congressional service of which the term ended in January 3, 2011?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="January 3, 2011"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,F2:F9="January 3, 2011"),3))
Level: medium
Question: What branch was involved when the term began in January 3, 1985?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="January 3, 1985"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,E2:E9="January 3, 1985"),2))
Level: medium
Question: What year was the congressional service elected for a term beginning on January 3, 1989?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="January 3, 1989"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,E2:E9="January 3, 1989"),4))
Level: medium
Question: What group was in office when the term ended in January 3, 1993?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="January 3, 1993"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,F2:F9="January 3, 1993"),1))
Level: medium
Question: How many terms began when the term ended in January 3, 1989?
Formula: ROWS(UNIQUE(FILTER(E1, F1="January 3, 1989")))
Formula2: ROWS(UNIQUE(FILTER(E2:E9, F2:F9="January 3, 1989")))
Level: medium