Table:
0
A
B
C
D
E
F
G
H
1
tourist attraction id
attraction type code
location id
how to get there
name
description
opening hours
other details
2
2113
2
579
bus
art museum
3
2701
6
417
walk
UK gallery
4
5076
2
868
shuttle
flying elephant
5
5265
5
603
bus
film festival
6
6476
3
417
shuttle
US museum
7
6523
9
858
walk
fun games
8
6653
9
655
walk
history gallery
9
6852
5
858
walk
exploration trial
10
7067
5
417
bus
haunted mansion
11
8429
9
867
walk
presidents hall
12
8449
2
579
bus
impressions de France
13
8698
5
661
bus
jungle cruise
14
9360
5
868
shuttle
fun shops
15
9561
2
759
bus
cafe
16
9919
6
579
shuttle
parking

Questions and formulas:
Question: What are the names of the tourist attractions that can be accessed by bus?
Formula: FILTER(E1,D1="bus")
Formula2: FILTER(E2:E16,D2:D16="bus")
Level: easy
Question: Which tourist attractions can we get to by bus? Tell me the names of the attractions.
Formula: FILTER(E1,D1="bus")
Formula2: FILTER(E2:E16,D2:D16="bus")
Level: easy
Question: What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?
Formula: LET(a,HSTACK(E1,G1,A1),b,A1,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A1:H1,(D1="bus")+(D1="walk")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(E2:E16,G2:G16,A2:A16),b,A2:A16,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A2:H16,(D2:D16="bus")+(D2:D16="walk")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: Find the names and opening hours of the tourist attractions that we get to by bus or walk.
Formula: LET(a,HSTACK(E1,G1,A1),b,A1,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A1:H1,(D1="bus")+(D1="walk")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(E2:E16,G2:G16,A2:A16),b,A2:A16,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A2:H16,(D2:D16="bus")+(D2:D16="walk")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard