I am using the averageifs formula and I have two criteria to meet (state and year). Everything seems to work fine when I type my criteria in as a value, but when I put it in as a cell reference the formula doesn't work. For example, the following formula works fine:
=AVERAGEIFS($R$9:$R$2387,$N$9:$N$2387,"="&$BZ13,$M$9:$M$2387,">=1951",$M$9:$M$2387,"<=2011")*100 -- "$BZ13" refers to a state reference. However, when I replace the "<=2011" with "<="&$CB$3 (i.e., a cell reference for year) the formula does not work. Any idea what I'm doing wrong? Thanks.
Bookmarks