Table:
0
A
B
C
D
E
F
1
NGC number
Object type
Constellation
Right ascension ( J2000 )
Declination ( J2000 )
Apparent magnitude
2
5101
Spiral galaxy
Hydra
13h21m46.6s
°25′53″
11.5
3
5102
Lenticular galaxy
Centaurus
13h21m57.8s
°37′47″
10.4
4
5112
Spiral galaxy
Canes Venatici
13h21m56.7s
°44′07″
12.5
5
5128
Lenticular galaxy
Centaurus
13h25m27.6s
°01′09″
8.0
6
5139
Globular cluster
Centaurus
13h26m45.9s
°28′37″
6.1
7
5161
Spiral galaxy
Centaurus
13h29m14.0s
°10′30″
12.0
8
5164
Spiral galaxy
Ursa Major
13h27m12.1s
°29′13″
14.6
9
5170
Spiral galaxy
Virgo
13h29m48.9s
°57′59″
11.9
10
5189
Planetary nebula
Musca
13h33m33.0s
°58′27″
14.1
11
5194
Spiral galaxy
Canes Venatici
13h29m52.4s
°11′41″
8.8
12
5195
Interacting galaxy
Canes Venatici
13h29m59.2s
°16′05″
10.6

Questions and formulas:
Question: Tell me the object type which has an apparent magnitude more than 10.6 and declination of °44′07″
Formula: LET(query1,LET(query1,FILTER(A1:F1,E1="°44′07″"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>10.6))
Formula2: LET(query1,LET(query1,FILTER(A2:F12,E2:E12="°44′07″"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>10.6))
Level: hard
Question: Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112
Formula: LET(query1,SUMMARIZE(E1,SUMX(F1),SUMX(A1)),FILTER(query1,(CHOOSECOLS(query1,2)>10.4)*(CHOOSECOLS(query1,3)=5112)))
Formula2: LET(query1,SUMMARIZE(E2:E12,SUMX(F2:F12),SUMX(A2:A12)),FILTER(query1,(CHOOSECOLS(query1,2)>10.4)*(CHOOSECOLS(query1,3)=5112)))
Level: hard