Table:
0
A
B
C
D
E
F
G
1
Name
Level
Digits
Average size (square miles)
Number of HUs (approximate)
Example name
Example code (HUC)
2
Region
1
2
177,560
21
Pacific Northwest
17
3
Subregion
2
4
16,800
222
Lower Snake
1706
4
Basin
3
6
10,596
370
Lower Snake
170601
5
Subbasin
4
8
700
2,200
Imnaha River
17060102
6
Watershed
5
10
227 (40,000–250,000 acres)
22,000
Upper Imnaha River
1706010201
7
Subwatershed
6
12
40 (10,000–40,000 acres)
160,000
South Fork Imnaha River
170601020101

Questions and formulas:
Question: What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?
Formula: AVERAGE(FILTER(G1, (F1="lower snake")*(C1=6)*(B1<3)))
Formula2: AVERAGE(FILTER(G2:G7, (F2:F7="lower snake")*(C2:C7=6)*(B2:B7<3)))
Level: easy
Question: What's the approximate number of HUs when there are more than 2 digits, and 6 levels?
Formula: SUM(FILTER(E1, (C1>2)*(B1=6)))
Formula2: SUM(FILTER(E2:E7, (C2:C7>2)*(B2:B7=6)))
Level: easy
Question: How many HUC example codes have 1 level?
Formula: SUM(FILTER(G1, B1=1))
Formula2: SUM(FILTER(G2:G7, B2:B7=1))
Level: easy
Question: What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370?
Formula: AVERAGE(FILTER(B1, (F1="lower snake")*(E1<370)))
Formula2: AVERAGE(FILTER(B2:B7, (F2:F7="lower snake")*(E2:E7<370)))
Level: easy