Table:
0
A
B
C
D
E
1
NGC number
Object type
Constellation
Right ascension ( J2000 )
Declination ( J2000 )
2
6514
Diffuse nebula
Sagittarius
18h02m23s
°02′
3
6520
Open cluster
Sagittarius
18h03m
°53′
4
6522
Globular cluster
Sagittarius
18h03m34.1s
°02′02″
5
6523
Open cluster
Sagittarius
18h03m
°23′
6
6530
Open cluster
Sagittarius
18h05m
°22′
7
6531
Open cluster
Sagittarius
18h04m
°29′
8
6537
Planetary nebula
Sagittarius
18h05m13.1s
°50′35″
9
6543
Planetary nebula
Draco
17h58m33.4s
°38′00″
10
6559
Diffuse nebula
Sagittarius
18h10m
-24°
11
6560
Spiral galaxy
Hercules
18h05m14.2s
°52′53″
12
6565
Planetary nebula
Sagittarius
18h11m52.5s
°10′42″
13
6575
Elliptical galaxy
Hercules
18h10m57.5s
°06′57″
14
6578
Planetary nebula
Sagittarius
18h16m16.5s
°27′03″
15
6589
Diffuse nebula
Sagittarius
18h16m50.4s
°53′24″
16
6590
Diffuse nebula
Sagittarius
18h17m00s
°53′
17
6600
Galaxy
Hercules
18h15m43.0s
°54′45″

Questions and formulas:
Question: Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′
Formula: SUM(FILTER(A1, (C1="sagittarius")*(B1="diffuse nebula")*(E1="°02′")))
Formula2: SUM(FILTER(A2:A17, (C2:C17="sagittarius")*(B2:B17="diffuse nebula")*(E2:E17="°02′")))
Level: easy
Question: I want to know the right ascension which has an NGC less than 6575 and declination of °38′00″
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="°38′00″"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<6575))
Formula2: LET(query1,LET(query1,FILTER(A2:E17,E2:E17="°38′00″"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<6575))
Level: hard
Question: Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′
Formula: LET(query1,LET(query1,FILTER(A1:E1,(C1="sagittarius")*(B1="open cluster")*(E1="°22′")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)>6522))
Formula2: LET(query1,LET(query1,FILTER(A2:E17,(C2:C17="sagittarius")*(B2:B17="open cluster")*(E2:E17="°22′")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)>6522))
Level: hard