Table:
0
A
B
C
D
1
editor id
name
age
editor
2
1
Kamila Porczyk
34.0
3
2
Anna Powierza
35.0
4
3
Marek Siudym
21.0
5
4
Piotr Pręgowski
43.0
6
5
Szymon Wydra
20.0
7
6
Władysław Grzywna
24.0
8
7
Mariusz Zalejski
25.0
9
8
Grażyna Wolszczak
54.0
10
9
Maria Góralczyk
38.0

Questions and formulas:
Question: How many editors are there?
Formula: ROWS(UNIQUE(D1))
Formula2: ROWS(UNIQUE(D2:D10))
Level: easy
Question: List the names of editors in ascending order of age.
Formula: SORT(SUMMARIZE(HSTACK(B1,D1),SUMX(C1)), 3, 1)
Formula2: SORT(SUMMARIZE(HSTACK(B2:B10,D2:D10),SUMX(C2:C10)), 3, 1)
Level: hard
Question: What are the names and ages of editors?
Formula: SUMMARIZE(HSTACK(B1,D1),SUMX(C1))
Formula2: SUMMARIZE(HSTACK(B2:B10,D2:D10),SUMX(C2:C10))
Level: medium
Question: List the names of editors who are older than 25.
Formula: LET(a,HSTACK(B1,D1),b,D1,c,CHOOSECOLS(LET(query1,SUMMARIZE(D1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>25)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(B2:B10,D2:D10),b,D2:D10,c,CHOOSECOLS(LET(query1,SUMMARIZE(D2:D10,SUMX(C2:C10)),FILTER(query1,CHOOSECOLS(query1,2)>25)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: What is the name of the youngest editor?
Formula: LET(a,HSTACK(B1,D1),b,D1,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(D1,SUMX(C1)), 2, 1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(B2:B10,D2:D10),b,D2:D10,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(D2:D10,SUMX(C2:C10)), 2, 1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: how many editors on record?
Formula: ROWS(UNIQUE(D1))
Formula2: ROWS(UNIQUE(D2:D10))
Level: easy
Question: Names of editors over 25
Formula: LET(query1,SUMMARIZE(HSTACK(B1,D1),SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)>25))
Formula2: LET(query1,SUMMARIZE(HSTACK(B2:B10,D2:D10),SUMX(C2:C10)),FILTER(query1,CHOOSECOLS(query1,3)>25))
Level: hard
Question: how many editors?
Formula: ROWS(UNIQUE(D1))
Formula2: ROWS(UNIQUE(D2:D10))
Level: easy
Question: the name of editor who is over 25 years old.
Formula: LET(a,HSTACK(B1,D1),b,D1,c,CHOOSECOLS(LET(query1,SUMMARIZE(D1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)>25)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(B2:B10,D2:D10),b,D2:D10,c,CHOOSECOLS(LET(query1,SUMMARIZE(D2:D10,SUMX(C2:C10)),FILTER(query1,CHOOSECOLS(query1,2)>25)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard