Table:
0
A
B
C
D
E
1
Name
Title
Start term
End term
House
2
Maximilian I Joseph of Bavaria
Elector of the Palatinate King of Bavaria
1799
1825
Wittelsbach
3
Ludwig I Augustus
King of Bavaria
1825
1848
Wittelsbach
4
Maximilian II
King of Bavaria
1848
1864
Wittelsbach
5
Ludwig II
King of Bavaria
1864
1886
Wittelsbach
6
Otto I
King of Bavaria
1886
1913
Wittelsbach
7
Prince Regent Luitpold
Prince Regent of Bavaria
1886
1912
Wittelsbach
8
Ludwig III
Prince Regent of Bavaria King of Bavaria
1913
1918
Wittelsbach
9
Crown Prince Rupprecht
Crown Prince of Bavaria
1913
1955
Wittelsbach

Questions and formulas:
Question: What is the total End term with a Title of prince regent of bavaria?
Formula: SUMIFS(D1,B1,"prince regent of bavaria")
Formula2: SUMIFS(D2:D9,B2:B9,"prince regent of bavaria")
Level: easy
Question: What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
Formula: MIN(FILTER(D1, (C1=1913)*(A1="ludwig iii")))
Formula2: MIN(FILTER(D2:D9, (C2:C9=1913)*(A2:A9="ludwig iii")))
Level: easy
Question: Which Title has an 1825 end term?
Formula: LET(query1,SUMMARIZE(B1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=1825))
Formula2: LET(query1,SUMMARIZE(B2:B9,SUMX(D2:D9)),FILTER(query1,CHOOSECOLS(query1,2)=1825))
Level: hard
Question: What is the average Start term with a 1912 end term?
Formula: AVERAGE(FILTER(C1, D1=1912))
Formula2: AVERAGE(FILTER(C2:C9, D2:D9=1912))
Level: easy