Table:
0
A
B
C
D
E
1
Name
Born-Died
Term start
Term end
Political Party
2
Prime Ministers 1928 - 1939
Prime Ministers 1928 - 1939
Prime Ministers 1928 - 1939
Prime Ministers 1928 - 1939
Prime Ministers 1928 - 1939
3
Kostaq Kota (1st time)
1889–1949
5 September 1928
5 March 1930
Non-party
4
Pandeli Evangjeli (2nd time)
1859–1939
6 March 1930
16 October 1935
Non-party
5
Mehdi Bej Frashëri (1st time)
1872–1963
22 October 1935
9 November 1936
Non-party
6
Kostaq Kota (2nd time)
1889–1949
9 November 1936
8 April 1939
Non-party

Questions and formulas:
Question: Who is the prime minister that had a term that ended on 5 March 1930?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="5 march 1930"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,D2:D6="5 march 1930"),1))
Level: medium