Table:
0
A
B
C
D
E
F
1
District
County(s) Represented
Member Senator
Party
First Elected
Committee
2
10
Baltimore County
Delores G. Kelley
Democratic
1994
Finance
3
24
Prince George's
Joanne C. Benson
Democratic
1998
Finance
4
25
Prince George's
Ulysses Currie
Democratic
1994
Budget and Taxation (Chair)
5
26
Prince George's
C. Anthony Muse
Democratic
2006
Judicial Proceedings
6
40
Baltimore City
Catherine E. Pugh
Democratic
2006
Finance
7
41
Baltimore City
Lisa A. Gladden
Democratic
2002
Judicial Proceedings
8
44
Baltimore City
Verna L. Jones
Democratic
2002
Budget and Taxation

Questions and formulas:
Question: What is the county for senator C. Anthony Muse?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="C. Anthony Muse"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,C2:C8="C. Anthony Muse"),2))
Level: medium
Question: Who is the senator for district 24?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=24))
Formula2: LET(query1,SUMMARIZE(C2:C8,SUMX(A2:A8)),FILTER(query1,CHOOSECOLS(query1,2)=24))
Level: hard
Question: How many entries are shown for first elected for district 41?
Formula: ROWS(UNIQUE(FILTER(E1, A1=41)))
Formula2: ROWS(UNIQUE(FILTER(E2:E8, A2:A8=41)))
Level: medium