Table:
0
A
B
C
D
E
F
G
1
Vehicle
Operating mode
EPA rated All-electric range
EPA rated combined fuel economy
Clean electric grid California (San Francisco)
U.S. national average electric mix
Dirty electric grid Rocky Mountains (Denver)
2
Mitsubishi i-MiEV
All-electric
mi (km)
112 mpg-e (30kW-hrs/100mi)
100 g/mi (62 g/km)
200 g/mi (124 g/km)
290 g/mi (180 g/km)
3
Ford Focus Electric
All-electric
mi (km)
105 mpg-e (32kW-hrs/100mi)
110 g/mi (68 g/km)
210 g/mi (131 g/km)
310 g/mi (193 g/km)
4
BMW ActiveE
All-electric
mi (km)
102 mpg-e (33kW-hrs/100mi)
110 g/mi (68 g/km)
220 g/mi (137 g/km)
320 g/mi (199 g/km)
5
Nissan Leaf
All-electric
mi (km)
99 mpg-e (34kW-hrs/100mi)
120 g/mi (75 g/km)
230 g/mi (143 g/km)
330 g/mi (205 g/km)
6
Chevrolet Volt
Electricity only ( charge-depleting )
mi (km)
94 mpg-e (36kW-hrs/100mi)
190 g/mi (118 g/km) (1)
260 g/mi (162 g/km) (1)
330 g/mi (205 g/km) (1)
7
Smart ED
All-electric
mi (km)
87 mpg-e (39kW-hrs/100mi)
130 g/mi (81 g/km)
260 g/mi (162 g/km)
380 g/mi (236 g/km)
8
Coda
All-electric
mi (km)
73 mpg-e (46kW-hrs/100mi)
160 g/mi (99 g/km)
300 g/mi (186 g/km)
440 g/mi (273 g/km)

Questions and formulas:
Question: When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?
Formula: ROWS(UNIQUE(FILTER(E1, A1="BMW ActiveE")))
Formula2: ROWS(UNIQUE(FILTER(E2:E8, A2:A8="BMW ActiveE")))
Level: medium
Question: When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="102 mpg-e (33kW-hrs/100mi)"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,D2:D8="102 mpg-e (33kW-hrs/100mi)"),1))
Level: medium
Question: When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?
Formula: ROWS(UNIQUE(FILTER(A1, E1="100 g/mi (62 g/km)")))
Formula2: ROWS(UNIQUE(FILTER(A2:A8, E2:E8="100 g/mi (62 g/km)")))
Level: medium
Question: When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="380 g/mi (236 g/km)"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,G2:G8="380 g/mi (236 g/km)"),6))
Level: medium
Question: When bmw activee is the vehicle type what is the u.s national average electric mix?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="BMW ActiveE"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,A2:A8="BMW ActiveE"),6))
Level: medium
Question: When  87 mpg-e (39kw-hrs/100mi) is the  epa rated combined fuel economy how many operating modes are there?
Formula: ROWS(UNIQUE(FILTER(B1, D1="87 mpg-e (39kW-hrs/100mi)")))
Formula2: ROWS(UNIQUE(FILTER(B2:B8, D2:D8="87 mpg-e (39kW-hrs/100mi)")))
Level: medium