Table:
0
A
B
C
D
E
F
1
Election
Candidate
Running mate
Total votes
Share of votes
Outcome
2
1996
Lee Teng-hui
Lien Chan
5,813,699
54.0%
Elected
3
2000
Lien Chan
Vincent Siew Wan-chang
2,925,513
23.1%
Lost
4
2004
Lien Chan
James Soong Chu-yu ( PFP )
6,423,906
49.8%
Lost
5
2008
Ma Ying-jeou
Vincent Siew Wan-chang
7,658,724
58.4%
Elected
6
2012
Ma Ying-jeou
Wu Den-yih
6,891,139
51.6%
Elected

Questions and formulas:
Question: How many votes did Lee Teng-Hui receive when he was elected?
Formula: SUM(FILTER(D1, (F1="elected")*(B1="lee teng-hui")))
Formula2: SUM(FILTER(D2:D6, (F2:F6="elected")*(B2:B6="lee teng-hui")))
Level: easy