Help with Continuous Patterns in Non Sequential Cells

leknuok

New Member
Joined
Apr 7, 2015
Messages
1
I need help with creating a pattern with the average formula. I'm brand new to this site so I tried a search, but didn't have any luck finding what I wanted. This is the formula I'm currently using:

=IFERROR(AVERAGE(B19,B32,B45,B58,B71),"")

The IFERROR is for the cells that can't divide by 0 which I find works very nicely because the Average formula only takes in the numbers that actually exist.

My problem is that every week I add a new row of data. The pattern I have is essentially B+13 (I'm using cells B to AE) short of manually entering in the next cell, I'd like to know if there's a way to just have the formula do it for me automatically essentially to infinity.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
This array formula seems to test well:

Code:
{=AVERAGE(IF(($B$3:$B$1000<>0)*(MOD(ROW($B$3:$B$1000),13)=6),$B$3:$B$1000))}

Ctrl+Shift+Enter to get the brackets.
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top