Drag and Fill Problem

Copper Contributor

Hello,

 

I want to calculate the average number of 7 numbers that I tracked for each day of a week. In the next row there should be the average of the next 7 numbers of the next week. And I want this to be drag and fill.

 

So in this example the first weeks average would display as one, the second week as 2 and so on.

What would the formula for this be?

 

Thanks in advance, 

OskarExample.png

5 Replies

@oskar14 

Better use this data structure. Then it is a simple pivot table.

techcommunity_4084063M223842.PNG

@oskar14 

For such layout

image.png

that could be

=IF(LEFT(D2,4)="Week", AVERAGE(OFFSET(E2,0,0,7) ), "" )
Thanks a lot but how do I actually create this pivot table for my specific purpose?

@Detlef Lewin Thanks!