Table:
0
A
B
C
D
E
1
President
Elected
Took office
Left office
Party
2
Leonid Makarovych Kravchuk
1991
5 December 1991 Inauguration: 22 August 1992 [c ]
19 July 1994
Non-partisan
3
Leonid Danylovych Kuchma
1994
19 July 1994
14 November 1999
Independent / Non-partisan
4
Leonid Danylovych Kuchma
1999
14 November 1999
23 January 2005
Independent / Non-partisan
5
Viktor Andriyovych Yushchenko
2004
23 January 2005
25 February 2010
People's Union "Our Ukraine"
6
Viktor Fedorovych Yanukovych
2010
25 February 2010
Incumbent
Non-partisan (Supported by Party of Regions )

Questions and formulas:
Question: What president was elected in 2010?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1=2010),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6=2010),1))
Level: medium