Table:
0
A
B
C
D
E
1
Election
Date of election
Candidates
Results
Total votes
2
Mayoral Special Election (runoff)
July 31, 2007
Interim Mayor Bill Harmon
1,465 - 35.64%
4,112
3
Mayoral Special Election (runoff)
July 31, 2007
City Clerk Virginia Hillman
2,646 - 64.36%
4,112
4
Mayoral Special Election
July 10, 2007
Doris Anderson
403 - 10.44%
3,871
5
Mayoral Special Election
July 10, 2007
Richard Devine
926 - 23.99%
3,871
6
Mayoral Special Election
July 10, 2007
Interim Mayor Bill Harmon
1,242 - 32.18%
3,871
7
Mayoral Special Election
July 10, 2007
City Clerk Virginia Hillman
1,252 - 32.44%
3,871
8
Mayoral Special Election
July 10, 2007
Victor Sierra
37 - .96%
3,871

Questions and formulas:
Question: What is the result of the election with 3,871 total votes?
Formula: LET(query1,SUMMARIZE(D1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)>3871))
Formula2: LET(query1,SUMMARIZE(D2:D8,SUMX(E2:E8)),FILTER(query1,CHOOSECOLS(query1,2)>3871))
Level: hard