Table:
0
A
B
C
D
E
1
Parish (Prestegjeld)
Sub-Parish (Sogn)
Church Name
Year Built
Location of the Church
2
Hafslo Parish
Hafslo
Hafslo kyrkje
1878
Hafslo
3
Hafslo Parish
Hafslo
Veitastrond kapell
1928
Veitastrond
4
Hafslo Parish
Solvorn
Solvorn kyrkje
1883
Solvorn
5
Hafslo Parish
Solvorn
Urnes stavkyrkje
1130
Urnes
6
Jostedal Parish
Fet og Joranger
Fet kyrkje
1894
Fet
7
Jostedal Parish
Fet og Joranger
Joranger kyrkje
1660
Joranger
8
Jostedal Parish
Gaupne
Gaupne kyrkje
1908
Gaupne
9
Jostedal Parish
Gaupne
Gaupne gamle kyrkje
1647
Gaupne
10
Jostedal Parish
Jostedal
Jostedal kyrkje
1660
Jostedal
11
Luster Parish
Dale
Dale kyrkje
1250
Luster
12
Luster Parish
Fortun
Fortun kyrkje
1879
Fortun
13
Luster Parish
Nes
Nes kyrkje
1909
Nes

Questions and formulas:
Question: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="jostedal parish"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>1894))
Formula2: LET(query1,LET(query1,FILTER(A2:E13,A2:A13="jostedal parish"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>1894))
Level: hard
Question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(A1="hafslo parish")*(C1="hafslo kyrkje")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(A2:A13="hafslo parish")*(C2:C13="hafslo kyrkje")),2))
Level: medium
Question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(A1="hafslo parish")*(E1="urnes")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(A2:A13="hafslo parish")*(E2:E13="urnes")),2))
Level: medium
Question: Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(A1="jostedal parish")*(E1="gaupne")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)<1883))
Formula2: LET(query1,LET(query1,FILTER(A2:E13,(A2:A13="jostedal parish")*(E2:E13="gaupne")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)<1883))
Level: hard
Question: Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="jostedal kyrkje"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,C2:C13="jostedal kyrkje"),2))
Level: medium