In M3 and filled down, try

=AVERAGE(OFFSET(M3,0,-12,1,12))