Table:
0
A
B
C
D
E
F
1
actor id
name
musical id
character
duration
age
2
1
Ray Meagher
1
Alf Stewart
1988?�?
26
3
2
Tom Oliver
1
Lou Carpenter
1988, 1992?�?
22
4
3
Lynne McGranger
2
Irene Roberts
1993?�?
21
5
4
Kate Ritchie
2
Sally Fletcher
1988?�?2008, 2013
20
6
5
Alan Fletcher
4
Karl Kennedy
1994?�?
20
7
6
Jackie Woodburne
6
Susan Kennedy
1994?�?
20
8
7
Ryan Moloney
6
Toadfish Rebecchi
1995, 1996?�?
18
9
8
Ian Smith
6
Harold Bishop
1987?�?1991, 1996?�?2009, 2011
17
10
9
Stefan Dennis
6
Paul Robinson
1985?�?1992, 1993, 2004?�?
17

Questions and formulas:
Question: How many actors are there?
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: Count the number of actors.
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: List the name of actors in ascending alphabetical order.
Formula: SORTBY(B1,B1,1)
Formula2: SORTBY(B2:B10,B2:B10,1)
Level: easy
Question: What are the names ordered alphabetically?
Formula: SORT(UNIQUE(B1), 1, 1)
Formula2: SORT(UNIQUE(B2:B10), 1, 1)
Level: easy
Question: What are the characters and duration of actors?
Formula: CHOOSE({1,2},D1,E1)
Formula2: CHOOSE({1,2},D2:D10,E2:E10)
Level: easy
Question: Return the characters and durations for each actor.
Formula: CHOOSE({1,2},D1,E1)
Formula2: CHOOSE({1,2},D2:D10,E2:E10)
Level: easy
Question: What are the characters of actors in descending order of age?
Formula: SORTBY(D1,F1,-1)
Formula2: SORTBY(D2:D10,F2:F10,-1)
Level: easy
Question: Return the characters for actors, ordered by age descending.
Formula: SORTBY(D1,F1,-1)
Formula2: SORTBY(D2:D10,F2:F10,-1)
Level: easy
Question: What is the duration of the oldest actor?
Formula: LET(a,SORTBY(E1,F1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(E2:E10,F2:F10,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Return the duration of the actor with the greatest age.
Formula: LET(a,SORTBY(E1,F1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(E2:E10,F2:F10,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: the number of actors
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: How many actors?
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: Names in numerical order of actor ids.
Formula: SORT(UNIQUE(HSTACK(B1,A1)), 2, 1)
Formula2: SORT(UNIQUE(HSTACK(B2:B10,A2:A10)), 2, 1)
Level: medium
Question: the character, duration and actor id
Formula: UNIQUE(HSTACK(D1,E1,A1))
Formula2: UNIQUE(HSTACK(D2:D10,E2:E10,A2:A10))
Level: easy
Question: What is the duration, the characters, and actor ids?
Formula: UNIQUE(HSTACK(D1,E1,A1))
Formula2: UNIQUE(HSTACK(D2:D10,E2:E10,A2:A10))
Level: easy
Question: Duration of the oldest actor.
Formula: LET(a,HSTACK(E1,A1),b,A1,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A1,SUMX(F1)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(E2:E10,A2:A10),b,A2:A10,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A2:A10,SUMX(F2:F10)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: How long did the oldest actor perform?
Formula: TAKE(SORT(SUMMARIZE(HSTACK(E1,A1),SUMX(F1)), 3, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(HSTACK(E2:E10,A2:A10),SUMX(F2:F10)), 3, -1), 1)
Level: hard
Question: What are the characters, durations and actor ids?
Formula: UNIQUE(HSTACK(D1,E1,A1))
Formula2: UNIQUE(HSTACK(D2:D10,E2:E10,A2:A10))
Level: easy