How to prevent formula from being filled to the 1,048,576 row?

Ian Y

New Member
Joined
Nov 18, 2023
Messages
37
Office Version
  1. 2019
Platform
  1. Windows
I tested filling a formula into adjacent cells by using the Fill command. The problem is that, the worksheet I'm testing contains only 11 rows and the aforementioned method filled my formula down to the 1,048,576th row.

I don't mind if it fills my formula down to the 1,000th row, but filling 1,048,576 rows is too much and that caused a freeze of 2~3 seconds.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
The first step in those instructions is to select the cell with the formula and the adjacent cells you want to fill.
It sounds like you might have selected the whole column, rather just the 11 cells you need the formula in.
 
Upvote 0
Solution
I see that my suggestion must have been the issue, so glad that is resolved. :)
In case you are not aware of it, sometimes using the 'Fill Handle' may be more useful than using the 'Fill' menu. For example, in my sample sheet below, instead of selecting E1:E6 and using 'Fill Down' I can select the formula cell (E1) and then either ..
  1. Click and drag the Fill Handle (little solid square at the bottom right of the selected cell) down to E6, or
  2. Simply double-click that Fill Handle in E1 and the formula will fill down to E6. This double-click method is especially useful if the formula needs to copied down a few hundred or a few thousand rows as it is very fast.
1704696695131.png
 
Upvote 1
I see that my suggestion must have been the issue, so glad that is resolved. :)
In case you are not aware of it, sometimes using the 'Fill Handle' may be more useful than using the 'Fill' menu. For example, in my sample sheet below, instead of selecting E1:E6 and using 'Fill Down' I can select the formula cell (E1) and then either ..
  1. Click and drag the Fill Handle (little solid square at the bottom right of the selected cell) down to E6, or
  2. Simply double-click that Fill Handle in E1 and the formula will fill down to E6. This double-click method is especially useful if the formula needs to copied down a few hundred or a few thousand rows as it is very fast.
View attachment 104574
Thank you! I knew the first method but didn't know the second one. It looks like the second method makes things easier and it does not unwantedly fill the formula down to the 1,048,576th row.
 
Upvote 0

Forum statistics

Threads
1,215,087
Messages
6,123,050
Members
449,092
Latest member
ikke

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