Copying formulae down or across

jo54321

New Member
Joined
Nov 27, 2008
Messages
37
Hi,

I know this must be a simple answer,

I have the following cell D5 = A5, and E5 = A6.

I want to be able to drag these down so D6 = A7 and E6 = A8 and so on down.

Obviously i am dragging and getting D6 = A6 and E6 = A7.

what is the solution?

Thanks

J
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
In D5 copied down and across

=OFFSET(A5,ROW()-5,0)


Explanation:
Need to increase the row number by 2 each time we go down one row
- the usual filling down increases it by 1and the offset increases by a further 1

In D5
A5 is offset by 0 rows [ ROW(A5) - 5 ]
In D6
A5 has become A6 and is offset by 1 row [ ROW(A6) - 5 ]
In D7
A5 has become A7 and is offset by 2 rows [ ROW(A7) - 5 ]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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