Table:
0
A
B
C
D
E
1
Number
TMS Number
Builder
Year built
Carriage type
2
A 595
A 50702
NZR Addington
1900
47' 6 'Birdcage' gallery coach
3
A 1255
A 50729
NZR Addington
1913
47' 6 passenger coach
4
A 1518
A 50737
NZR Addington
1923
47' 6 passenger coach
5
A 1521
A 50745
NZR Addington
1923
47' 6 passenger coach
6
A A 1132
A 50710
NZR Petone
1919
47' 6 passenger/refreshments coach
7
A F 950
AF 35
NZR Hillside
1906
47' 6 car-van

Questions and formulas:
Question: What where the tms numbers built in 1923
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=1923),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,D2:D7=1923),2))
Level: medium
Question: What year was the carriage type is 47' 6 'birdcage' gallery coach built
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="47' 6 'Birdcage' gallery coach"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,E2:E7="47' 6 'Birdcage' gallery coach"),4))
Level: medium
Question: What tms were built nzr addington in the year 1913
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="NZR Addington")*(D1=1913)),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,(C2:C7="NZR Addington")*(D2:D7=1913)),2))
Level: medium