Select all the cells at the intersections of the states vertically and horizontally and give them the names of the state.
Enter the name of the State interested in in A17. In B17 enter this formula:
Formula:
=AVERAGE(INDIRECT(LOOKUP(A17,{"California","Florida","Maine","Michigan","New Jersey","New York","Oklahoma","Texas";"California","Florida","Maine","Michigan","New_Jersey","New_York","Okahoma","Texas"})))
You could use a lookup table R2:S9 with the names of the states in the first column and in the second column the names of the states without spaces.
The formula would then be:
Formula:
=AVERAGE(INDIRECT(VLOOKUP(A17,R2:S9,2,0)))
The sums would be:
Formula:
=SUM(INDIRECT(LOOKUP(A17,{"California","Florida","Maine","Michigan","New Jersey","New York","Oklahoma","Texas";"California","Florida","Maine","Michigan","New_Jersey","New_York","Okahoma","Texas"})))
Formula:
=SUM(INDIRECT(VLOOKUP(A17,R2:S9,2,0)))
Bookmarks