Table:
0
A
B
C
D
E
F
G
1
Class
GNRI No.
Name
BP serial No.
Rebuilt
1958
Withdrawn
2
S
170
Errigal
5628
1939
CIÉ 170N
1965
3
S
171
Slieve Gullion
5629
1938
CIÉ 171N
1965
4
S
172
Slieve Donard
5630
1938
UTA 60
1965
5
S
173
Galtee More
5631
1938
UTA 61
1964
6
S
174
Carrantuohill
5632
1939
CIÉ 174N
1965
7
S2
190
Lugnaquilla
5901
1939
UTA 62
1965
8
S2
191
Croagh Patrick
5902
1939
CIÉ 191N
1960
9
S2
192
Slievenamon
5903
1938
UTA 63
1965

Questions and formulas:
Question: What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?
Formula: MIN(FILTER(G1,(B1>172)*(C1="croagh patrick")*(E1<1939)))
Formula2: MIN(FILTER(G2:G9,(B2:B9>172)*(C2:C9="croagh patrick")*(E2:E9<1939)))
Level: easy