Table:
0
A
B
C
D
E
F
1
buildings id
name
city
height
stories
status
2
1
Torre KOI
Monterrey
220
67
under construction
3
2
Torre Mitikah
Mexico City
210
60
under construction
4
3
Punto Chapultepec
Mexico City
210
59
proposed
5
4
Torre Reforma
Mexico City
330
57
under construction
6
5
Corporativo BBVA Bancomer
Mexico City
220
50
under construction
7
6
Reforma 432
Mexico City
300
100
under construction
8
7
Torre New York Life
Mexico City
50
6
under construction
9
8
LIU East
Monterrey
73
20
under construction
10
9
Residencial Vidalta Torre Altaire 2
Mexico City
150
44
on-hold
11
10
Residencial Vidalta Torre Altaire 3
Mexico City
200
44
on-hold
12
11
Reforma 90
Mexico City
200
42
on-hold
13
12
Ritz-Carlton Mexico City
Mexico City
100
34
on-hold

Questions and formulas:
Question: List the names and buildings in descending order of height
Formula: SORT(SUMMARIZE(HSTACK(B1,A1),SUMX(D1)), 3, -1)
Formula2: SORT(SUMMARIZE(HSTACK(B2:B13,A2:A13),SUMX(D2:D13)), 3, -1)
Level: hard
Question: What are the names of buildings sorted in descending order of the height?
Formula: SORT(SUMMARIZE(HSTACK(B1,A1),SUMX(D1)), 3, -1)
Formula2: SORT(SUMMARIZE(HSTACK(B2:B13,A2:A13),SUMX(D2:D13)), 3, -1)
Level: hard
Question: Find the stories of the building with the largest height.
Formula: LET(a,SORTBY(E1,D1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(E2:E13,D2:D13,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: What is the stories of highest building?
Formula: LET(a,SORTBY(E1,D1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(E2:E13,D2:D13,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Find the names and buildings in "on-hold" status, and sort them in ascending order of stories
Formula: SORT(LET(query1,FILTER(A1:F1,F1="on-hold"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,2,1)),SUMX(CHOOSECOLS(query1,5)))), 3, 1)
Formula2: SORT(LET(query1,FILTER(A2:F13,F2:F13="on-hold"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,2,1)),SUMX(CHOOSECOLS(query1,5)))), 3, 1)
Level: hard
Question: The total height for each building from top to bottom with the corresponding name and id.
Formula: SORT(SUMMARIZE(HSTACK(A1,B1),SUMX(D1)), 3, -1)
Formula2: SORT(SUMMARIZE(HSTACK(A2:A13,B2:B13),SUMX(D2:D13)), 3, -1)
Level: hard