Fill Down Multiple non-adjacent Columns

PaulGotts

New Member
Joined
Nov 5, 2012
Messages
29
Hi There,

Is there a way to fill down multiple non-adjacent columns at the same time?

I have a large worksheet and need to fill down a formula in every 5th column without altering the data in the other columns.

Thanks kindly.
Paul G.
 
Hi

Something like this :-

Code:
Sub PopulateColumns()
Dim LR as Long
LR = Range("A" & Rows.Count).End(xlUp).Row
With Range("S2:S" & LR)
    .Offset(, 5).Formula = "=$s2*5"
    .Offset(, 10).Formula = "=$s2*15"
    .Offset(, 15).Formula = "=$s2*25"
End With
End Sub

Adjust the Columns/Formulae accordingly.

hth
 
Upvote 0
Paul

Put the respective formulae in their individual columns and drag each down separately.

Unforunately, it's not possible to Select the first cells through Select and Ctrl and either drag that down or copy down the columns.
 
Upvote 0
Thank you Mike, I feared this was the result.

I've found a decent non-VBA work around where I hide all but the columns of interest and copy down the first column. Once complete, I am able to double-click the fill icon on the adjacent columns one at a time.

Fingers crossed the developers of Excel use this forum for R&D. Some great stuff on the mr.excel message boards.
 
Upvote 0
Paul

Pleased to have got there in the end.

I tried out your solution - very impressive - I'll have to put that in the memory bank.

Good luck with your project.
 
Upvote 0

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