Apply Formula to a Range of Cells without Drag and Drop

Typically, in Excel, one can autofill a column by drag a cell down. However, with a lot of cells to fill up, manually dragging and scrolling the spreadsheet is time consuming.

Is there a much better way to fill up a column with formulas?

Edit: I tried to input the $F$1:$F$20000 at the highlighted place, but the values inside column F is not populated.

alt text


Instead of clicking and dragging the square in the lower right corner of the cell, you should try instead to double click it. This will autofill it down.

Also, you should get used to using "ctrl" and "shift". When I use excel I go extremely fast because I use lots of keyboard shortcuts. Let me walk you through an example and let you know exactly what I would type. Lets say you have data in Columns A:E with 20000 rows, and want to create a formula for F. Follow these steps:

  • First put your formula in F1.
  • Now hit ctrl+C to copy your formula.
  • Hit left, so E1 is selected.
  • Now hit Ctrl+Down. This will travel all the way down until a blank is hit, in this example its E20000.
  • Now hit right so F20000 is selected.
  • Now hit ctrl+shift+up. Now you will be selecting F1:F20000.
  • Finally either hit ctrl+V or just hit enter to fill the cells.

Once you get used to doing things like this, these 6 keystrokes happen very fast in a fraction of a second.


Actually there is a better way

  • Copy your formula Ctrl + C
  • press
  • Ctrl + Shift + selects to the last nonblank cell
  • paste Ctrl + V

4 strokes. Discovered it just now