I want to take averages of every few cells. For example, I might want to take the average of a1, b1, c1, then have the next cell take the average of d1, e1, f1, then the next take g1, h1, i1. However, when I use the average function, for example =average(a1, b1, c1), and drag the cell, the next cell will take the averages of b1, c1, d1 instead of c1, d1, e1.

Is there a solution to this?

PS: I am actually taking a much more complicated cell range average, but I do not think that is the problem; the problem is with how the cells are moved when the formula is dragged. However, if it might make a difference, the actual formula I am using is:

=AVERAGE(INDEX(Data!B24:$LGW24, ROWS(B5:B5)-1 + COLUMNS(B5:B5)), INDEX(Data!B24:$LGW24, ROWS(B5:B5)*7+COLUMNS(B5:B5)), INDEX(Data!B24:$LGW24, ROWS(B5:B5)*14+COLUMNS(B5:B5)))