Shortcut to Apply a Formula to an Entire Column in Excel

ExcelExcel Formula

Excel Problem Overview


If I select a cell containing a formula, I know I can drag the little box in the right-hand corner downwards to apply the formula to more cells of the column. Unfortunately, I need to do this for 300,000 rows!

Is there a shortcut, similar to CTRL+SPACE, that will apply a formula to the entire column, or to a selected part of the column?

Excel Solutions


Solution 1 - Excel

Try double-clicking on the bottom right hand corner of the cell (ie on the box that you would otherwise drag).

Solution 2 - Excel

If the formula already exists in a cell you can fill it down as follows:

  • Select the cell containing the formula and press CTRL+SHIFT+DOWN to select the rest of the column (CTRL+SHIFT+END to select up to the last row where there is data)
  • Fill down by pressing CTRL+D
  • Use CTRL+UP to return up

On Mac, use CMD instead of CTRL.

An alternative if the formula is in the first cell of a column:

  • Select the entire column by clicking the column header or selecting any cell in the column and pressing CTRL+SPACE
  • Fill down by pressing CTRL+D

Solution 3 - Excel

Select a range of cells (the entire column in this case), type in your formula, and hold down Ctrl while you press Enter. This places the formula in all selected cells.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionJohn ShedletskyView Question on Stackoverflow
Solution 1 - ExcelsooView Answer on Stackoverflow
Solution 2 - ExcelrobinCTSView Answer on Stackoverflow
Solution 3 - ExcelPhilView Answer on Stackoverflow