Table:
0
A
B
C
D
E
F
1
Maryland Counties
Fall 05
Fall 06
Fall 07
Fall 08
Fall 09
2
Allegany
791
755
751
789
792
3
Montgomery
465
457
484
475
495
4
Prince George's
324
330
373
423
470
5
Baltimore County
271
294
292
346
347
6
Frederick
249
240
260
270
302
7
Anne Arundel
254
248
242
254
296

Questions and formulas:
Question: What is the average value for Fall 07 when Fall 05 is 271 and Fall 09 is less than 347?
Formula: AVERAGE(FILTER(D1, (B1=271)*(F1<347)))
Formula2: AVERAGE(FILTER(D2:D7, (B2:B7=271)*(F2:F7<347)))
Level: easy
Question: What was the average value for Fall 07 when Fall 09 is less than 296?
Formula: AVERAGE(FILTER(D1, F1<296))
Formula2: AVERAGE(FILTER(D2:D7, F2:F7<296))
Level: easy
Question: What is the sum of all values in Fall 09 in Allegany county with Fall 07 less than 751?
Formula: SUM(FILTER(F1, (A1="allegany")*(D1<751)))
Formula2: SUM(FILTER(F2:F7, (A2:A7="allegany")*(D2:D7<751)))
Level: easy
Question: What is the largest value for Fall 08 when Fall 09 is 792 and Fall 05 is less than 791?
Formula: MAX(FILTER(E1, (F1=792)*(B1<791)))
Formula2: MAX(FILTER(E2:E7, (F2:F7=792)*(B2:B7<791)))
Level: easy
Question: What is the largest value for Fall 08 when Fall 07 is less than 242?
Formula: MAX(FILTER(E1, D1<242))
Formula2: MAX(FILTER(E2:E7, D2:D7<242))
Level: easy