Using the Autofill feature skipping calculated cells.

zero

New Member
Joined
Jan 18, 2011
Messages
2
Suppose I have data values from A1 to A6 and it consists of 2 sets of data, one of which is from A1 to A3 and the other is from A4 to A6.

I want to simply the average of each set by inserting one formula and using the drag down feature.

B1 = AVERAGE(A1:A3), however when I drag this formula down it becomes B2 = AVERAGE(A2:A4). How can I make it B2 = AVERAGE(A4:A6) without manually inputting it?

I ask this because I have my data in rows of 3 and a lot of it! I don't want to manually input the reference cells everytime. Also I already tried to highlight 3 manually input of the formula and dragging it down, hoping that it would recognize the pattern but it does not.

I'm using Excel 2010.
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Can anyone help me?


There are probably better ways, but I think you could use a helper column to accomplish this.

Say for instance your helper column was "E"

Then in "E1" you put a zero, in E2 you put =E1+2 and then drag down Column E

Then in B1 enter the below formula and drag down.

=AVERAGE(OFFSET(B1,E1,-1),OFFSET(B1,E1+1,-1),OFFSET(B1,E1+2,-1))
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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