Table:
0
A
B
C
D
E
F
1
aid
title
year
label
type
albums
2
1
abc
2010
no
asica
3
1
abcd
2011
no
asica

Questions and formulas:
Question: What are all the labels?
Formula: UNIQUE(D1)
Formula2: UNIQUE(D2:D3)
Level: easy
Question: What are the different album labels listed?
Formula: UNIQUE(HSTACK(F1,D1))
Formula2: UNIQUE(HSTACK(F2:F3,D2:D3))
Level: easy
Question: Find all the albums in 2012.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2012),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2012),6))
Level: medium
Question: How many unique labels are there for albums?
Formula: SUMMARIZE(F1,DCOUNTX(D1))
Formula2: SUMMARIZE(F2:F3,DCOUNTX(D2:D3))
Level: easy
Question: What are the unique labels for the albums?
Formula: UNIQUE(HSTACK(D1,F1))
Formula2: UNIQUE(HSTACK(D2:D3,F2:F3))
Level: easy
Question: What is the label that has the most albums?
Formula: TAKE(SORT(SUMMARIZE(D1,DCOUNTX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(D2:D3,DCOUNTX(F2:F3)), 2, -1), 1)
Level: hard
Question: What is the label with the most albums?
Formula: TAKE(SORT(SUMMARIZE(D1,DCOUNTX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(D2:D3,DCOUNTX(F2:F3)), 2, -1), 1)
Level: hard
Question: What are the albums produced in year 2010?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2010),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2010),6))
Level: medium
Question: 2010 albums
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2010),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2010),6))
Level: medium
Question: All labels
Formula: UNIQUE(D1)
Formula2: UNIQUE(D2:D3)
Level: easy
Question: all albums and labels
Formula: UNIQUE(HSTACK(F1,D1))
Formula2: UNIQUE(HSTACK(F2:F3,D2:D3))
Level: easy
Question: Which albums came out in 2012?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2012),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2012),6))
Level: medium
Question: Show all labels and albums
Formula: UNIQUE(HSTACK(D1,F1))
Formula2: UNIQUE(HSTACK(D2:D3,F2:F3))
Level: easy
Question: Label with most albums.
Formula: TAKE(SORT(SUMMARIZE(D1,DCOUNTX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(D2:D3,DCOUNTX(F2:F3)), 2, -1), 1)
Level: hard
Question: Label used by most albums.
Formula: TAKE(SORT(SUMMARIZE(D1,DCOUNTX(F1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(D2:D3,DCOUNTX(F2:F3)), 2, -1), 1)
Level: hard
Question: Any labels?
Formula: UNIQUE(D1)
Formula2: UNIQUE(D2:D3)
Level: easy
Question: the albums and labels
Formula: UNIQUE(HSTACK(F1,D1))
Formula2: UNIQUE(HSTACK(F2:F3,D2:D3))
Level: easy
Question: What are albums in 2012?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2012),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2012),6))
Level: medium
Question: Any labels and albums?
Formula: UNIQUE(HSTACK(D1,F1))
Formula2: UNIQUE(HSTACK(D2:D3,F2:F3))
Level: easy
Question: the albums in 2010
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,Year(C1)=2010),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F3,Year(C1)=2010),6))
Level: medium