Simple Question

rki1966

Active Member
Joined
Feb 1, 2004
Messages
351
I am using an average function which averages the first year. I have the following fucntion in cell FO1
Average(f1:q1) and I want to copy the cell to the right so it will now average the next 12 cells. Average(r1:ac1):

Any suggestions
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,888
Hi rki1966

Try in FO1:

=AVERAGE(OFFSET($F$1,0,12*(COLUMN()-COLUMN($FO$1)),1,12))

Hope this helps
PGC
 
Upvote 0

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,888
Hi

I'm glad it worked.

For the product, try in FO1:

=PRODUCT(1+OFFSET($F$1,0,12*(-1+COLUMNS($FO$1:FO1)),1,12))-1
confirmed with CTRL+SHIFT+ENTER.

Hope it works
PGC
 
Upvote 0

rki1966

Active Member
Joined
Feb 1, 2004
Messages
351
The formula works great but when I try to copy the formula down, it does not change the ranges. I tried to use the f4. It looks like I can either copy down or to the right.

Any suggestions
 
Upvote 0

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,888
Hi rki1966

Try unfreezing the row:

=PRODUCT(1+OFFSET($F1,0,12*(-1+COLUMNS($FO1:FO1)),1,12))-1
confirmed with CTRL+SHIFT+ENTER.

Please try it
PGC
 
Upvote 0

Forum statistics

Threads
1,186,326
Messages
5,957,228
Members
438,294
Latest member
Soikeo79

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
Top