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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi rki1966

Try in FO1:

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

Hope this helps
PGC
 
Upvote 0
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
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
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,214,668
Messages
6,120,825
Members
448,990
Latest member
rohitsomani

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