10
3
I have a formula in Excel that I would like to autofill to 999,999 other cells. How can I do this without dragging the autofill handle down the entire sheet?
10
3
I have a formula in Excel that I would like to autofill to 999,999 other cells. How can I do this without dragging the autofill handle down the entire sheet?
14
The key is to select all the cells from the one that has the formula all the way down and then fill down the formula. These steps do that quickly:
Select the cell with the formula, then while holding down the Shift key, press the End key and then press the down arrow; now release the Shift key. This will resize the selection to include the blank cells below the active cell; if all cells below are blank, it will resize the selection all the way to the end of the sheet.
Once the range is selected, press Ctrl-D to fill down the formula.
This only repeats the value in the first cell. Unlike dragging the fill handle, which will automatically increment certain things. How to get the auto-increment? – Ben – 2016-05-17T16:03:53.680
Turns out that's answered and links back here: https://superuser.com/questions/841439/excel-auto-fill-a-column-with-increment?lq=1
– Ben – 2016-05-17T16:06:36.307The OP was asking how to fill down formulas, not values. – Rachel Hettinger – 2016-05-17T21:21:31.040
3
The problem: User has a formula in a cell and wishes to copy it to the next 999,999 rows. Simple techniques like copy'n'paste are too primitive because they don't go fast enough, and 999,999 is a large number.
Here is one solution:
1
My solution is inspired from Jay Jacob's answer, and I do believe that following is the easiest way to do it.
1
Double clicking the auto-fill handle (small rectangle at bottom left of selected cells) will auto-fill the column, until it detects a blank cell to its left.
See for example: http://www.techrepublic.com/blog/microsoft-office/a-quick-fill-handle-trick-for-microsoft-excel/
Only useful, if you already have 999,999 entries already entered to the left or right. – Ben – 2016-05-17T16:04:23.073
Possible duplicate of How to fill a large series (over 10,000 rows) in Microsoft Excel without dragging or selecting cells?
– phuclv – 2019-03-21T05:40:27.910Possible to apply a function to an entire column?, Apply Formula to a Range of Cells without Drag and Drop, How to make Excel 2010 auto-fill new row with formulas?, Excel Auto-Fill a Series Without Mouse – phuclv – 2019-03-24T00:17:17.433