Copy a function but skip a few cells out

martyloo

Board Regular
Joined
Sep 29, 2010
Messages
100
I have a function in cell B1 which is =MAX(D8:D21)

in cell B2 I would like the function =MAX(J8:J21)
in cell B3 I would like the function =MAX(P8:P21)
in cell B4 I would like the function =MAX(V8:V21)

Is there a way of copying function in the cell below so it knows automatically to jump from (J8:J21) to (P8:P21) basically jumping the alphabet every 6 spaces for every function I copy down into the next cell?

Can anyone help?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
martyloo,

Perhaps this...


Worksheet Formulas
CellFormula
B2=MAX(OFFSET((J8:J21),0,6*(ROW(B2)-2)))

<THEAD>
</THEAD><TBODY>
</TBODY>

<TBODY>
</TBODY>



Drag B2 formula down as required.

Hope that helps.
 
Upvote 0
Hi

Try this in B1 :-
Code:
=MAX(OFFSET($D$8,,(ROWS($B$1:B1)-1)*6,14,1))

and drag down

hth
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,727
Members
449,332
Latest member
nokoloina

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