Table:
0
A
B
C
D
E
F
G
H
1
to
State
(availability)
Own
Carry
Import
Serial
Custom
2
Australia
Washington
1
N
N
N
N
N
3
Belgium
2
N
N
N
N
?
4
Barbados
1
N
N
N
N
N
5
Brazil
Paran
3
Y
Y*
Y
N
Y
6
Canada
B.C.
3
N
N
?
N
?
7
USA
Alaska
4
Y
N
N
N
Y
8
USA
New York
2
N
N
Y
N
N

Questions and formulas:
Question: Can you carry guns in Washington
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,B1="washington"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H8,B2:B8="washington"),5))
Level: medium
Question: In how many countries can you own a gun
Formula: ROWS(UNIQUE(FILTER(B1, D1="Y")))
Formula2: ROWS(UNIQUE(FILTER(B2:B8, D2:D8="Y")))
Level: medium
Question: How many states in the USA let you import weapons
Formula: ROWS(UNIQUE(FILTER(B1, (F1="Y")*(A1="usa"))))
Formula2: ROWS(UNIQUE(FILTER(B2:B8, (F2:F8="Y")*(A2:A8="usa"))))
Level: medium
Question: Does New York have custom weapon laws
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,B1="new york"),8))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H8,B2:B8="new york"),8))
Level: medium