Table:
0
A
B
C
D
E
F
G
1
Riding
Candidate
Gender
Residence
Occupation
Votes
Rank
2
Avalon
Randy Wayne Dawe
M
Clark's Beach
Truck driver
5,707
3rd
3
Bonavista—Gander—Grand Falls—Windsor
Jason Holley
M
Amherst Cove
Artist
3,577
3rd
4
Humber—St. Barbe—Baie Verte
Mark Kennedy
M
Corner Brook
Engineering Technician
4,603
2nd
5
Labrador
Phyllis Artiss
F
St. John's
Retired University Professor
1,378
2nd
6
Random—Burin—St. George's
Terry White
M
Stephenville
Carpenter
5,563
2nd
7
St. John's East
Jack Harris
M
St. John's
Lawyer
30,881
1st
8
St. John's South—Mount Pearl
Ryan Cleary
M
St. John's
Journalist
13,971
2nd

Questions and formulas:
Question: What is the occupation of the candidate that has a riding of labrador?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="labrador"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,A2:A8="labrador"),5))
Level: medium