FillDown vs Copy&Paste

alee001

Board Regular
Joined
Sep 9, 2014
Messages
154
Office Version
  1. 2010
Platform
  1. Windows
Anyone know that what method will more efficient between using FillDown and Copy&Paste on range (over 10K rows)?
Is it need add Application.CutCopyMode = False after using FillDown?
Thanks.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
2nd question 1st, no you don't need CutCopymode false with Filldown.
1st question, what are you doing? If you are putting in a formula it is better to apply the formula to the entire range rather than use either.
 
Upvote 0
2nd question 1st, no you don't need CutCopymode false with Filldown.
1st question, what are you doing? If you are putting in a formula it is better to apply the formula to the entire range rather than use either.

I used to copy formula then calculation in range, thanks.
 
Upvote 0
Not much detail there to go on but just as an example if you wanted to fill the formula down from B3 to the same row as the last row in column A then say you had the formula
=IF(C3<>"",SUMIF($C$3:$D$23,C3,$D$3:$D$23),"")
you would double any quotes and use the code below (Excel is smart enough to realise that you are filling a formula and will do any incrementation needed).

VBA Code:
Sub Formula_Filldown()
    With Application
        .Calculation = xlManual
        .ScreenUpdating = False
    End With
    
    Range("B3:B" & Range("A" & Rows.Count).End(xlUp).Row).Formula = "=IF(C3<>"""",SUMIF($C$3:$D$23,C3,$D$3:$D$23),"""")"
    
    With Application
        .Calculation = xlAutomatic
        .ScreenUpdating = True
    End With
End Sub
 
Upvote 0
I feel using FillDown faster than Copy&Paste without add Application.CutCopyMode = False to release ram?
 
Upvote 0
Filldown should be faster because it doesn't use the same number of clipboards as copy/paste, applying the formulas directly should be faster.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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