Table:
0
A
B
C
D
E
1
Name
Tenure
Courtesy title
Court Rank
revenues
2
Iwaki Yoshitaka ( 佐竹義隆 ? )
1623–1634
Shuri-daiyu
Lower 5th (従五位下)
20,000 koku
3
Iwaki Nobutaka ( 岩城宣隆 ? )
1628-1656
Tajima-no-kami
Lower 5th (従五位下)
20,000 koku
4
Iwaki Shigetaka ( 岩城重隆 ? )
1656-1704
Iyo-no-kami
Lower 5th (従五位下)
20,000 koku
5
Iwaki Hidetaka ( 岩城秀隆 ? )
1685–1735
Iyo-no-kami
Lower 5th (従五位下)
20,000 koku
6
Iwaki Takatsugu ( 岩城隆韶 ? )
1718-1745
Tajima-no-kami
Lower 5th (従五位下)
20,000 koku
7
Iwaki Takyoshi ( 岩城隆恭 ? )
1745-1782
Iyo-no-kami
Lower 5th (従五位下)
20,000 koku
8
Iwaki Takanori ( 岩城隆恕 ? )
1782-1817
Iyo-no-kami
Lower 5th (従五位下)
20,000 koku
9
Iwaki Takahiro ( 岩城隆喜 ? )
1817-1853
Iyo-no-kami
Lower 5th (従五位下)
20,000 koku
10
Iwaki Takanaga ( 岩城隆永 ? )
1854-1855
Tajima-no-kami
Lower 5th (従五位下)
20,000 koku
11
Iwaki Takanobu ( 岩城隆信 ? )
1855–1855
- none -
Lower 5th (従五位下)
20,000 koku
12
Iwaki Takamasa ( 岩城隆政 ? )
1855–1861
Shuri-daiyu
Lower 5th (従五位下)
20,000 koku
13
Iwaki Takakuni ( 岩城隆邦 ? )
1861-1869
Ukyo-daiyu
Lower 5th (従五位下)
20,000 koku
14
Iwaki Takaaki ( 岩城隆彰 ? )
1869-1871
Viscount
5th (従五位)
20,000 -->18,000 koku

Questions and formulas:
Question: What is the Revenues during Tenure 1854-1855?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="1854-1855"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E14,B2:B14="1854-1855"),5))
Level: medium
Question: What is the Revenues of Ukyo-Daiyu?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="ukyo-daiyu"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E14,C2:C14="ukyo-daiyu"),5))
Level: medium