How To Copy A Formula Down In All Column In Google Sheets

How To Copy A Formula Down In All Column In Google Sheets

Discover the basic techniques for quickly copying formulae along a whole column in Google Sheets. Our user-friendly manual offers straightforward directions and pointers to ensure a pleasant spreadsheet experience.

There are several efficient techniques available to you when working in a Google Spreadsheet and you need to replicate a formula down to the very last row of the sheet while making sure that it will automatically be updated as new rows are added.

Copy Formula Down in Google Sheets:

Using the fill handle in Google Sheets is the easiest way to copy down formulae. Put your formula on the first row of your spreadsheet to start. Then, move your cursor over the formula cell’s lower right corner.

You’ll note that when you do this, the pointer, which is symbolized by a black plus sign, changes into a fill handle. To move this handle to the bottom row of your document, click and drag it down. This method repeats the visual formatting in addition to copying the formulae to all neighboring cells.

The methods below should be followed if you need to copy the formulae but not the formatting to additional cells: Press Ctrl+C (or Command+C on a Mac) to copy the selected cell with the required formatting to your clipboard. Then, choose the range to which you wish to apply the formula, right-click, choose “Paste Special,” and then pick “Paste Formula Only.”

How To Copy A Formula Down In All Column In Google Sheets

Apply Formula to the Entire Column in Google Sheets:

Consider a Google Spreadsheet with hundreds of rows in which you want the same formula to be applied to all rows within of a certain column. In these situations, employing Array Formulas provides a productive solution that does away with the necessity of laborious copy-paste processes.

Start by selecting the first cell in the target column and typing the formula as normal to utilize Array Formulas. Use a notation like B2:B to denote the complete column (from cell B2 down to the final row of column B), rather than a single cell, as a parameter.

Now that you’ve entered your formula, Google Sheets will automatically use the ARRAYFORMULA function by enclosing it when you hit Ctrl+Shift+Enter (or Cmd+Shift+Enter on a Mac). By changing only one cell, you may use this technique to apply the formula to the entire column.

However, a typical problem occurs when you want to add formulae just to rows with data and ignore blank rows. This can be solved by adding an IF statement to your ARRAYFORMULA. Google Sheets has two functions that may detect if a cell is empty or not:

ISBLANK(A1): Returns TRUE if the referenced cell is empty.
LEN(A1) <> 0: Returns TRUE if the referenced cell is not empty, and FALSE otherwise.

You may change your Array Formulas in the following ways:

When using ISBLANK(Cell Reference):

How To Copy A Formula Down In All Column In Google Sheets

=ArrayFormula(IF(ISBLANK(B2:B), "", ROUND(B2:B*18%, 2)))
=ArrayFormula(IF(LEN(B2:B)<>0, ROUND(B2:B*18%, 2), ""))
=ArrayFormula(IF(B2:B="", "", ROUND(B2:B*18%, 2)))

Use Array Formulas inside Column Headers:

In earlier examples, we mostly changed the column headings but added formulae to the data rows. You may, however, improve your formulae such that they also apply to the column headings themselves. If you wish to integrate dynamic computations within the headers, this method is really helpful.

A formula that can do this is as follows:

=ArrayFormula(IF(ROW(B:B)=1,"Tax",IF(ISBLANK(B:B),"",ROUND(B:B*18%, 2))))

Using the ROW() function, this formula determines if the index of the current row is 1. If so, the column title (in this example, “Tax”) is output. If not, it uses the formula to do the computation, making sure it is applied throughout the column.

How To Copy A Formula Down In All Column In Google Sheets

Auto Fill Formulas into Google Form Submissions:

When using Google Forms and gathering data into a Google Sheet, ARRAYFORMULA functions come in quite handy. You may do live computations in the related spreadsheet even if Google Forms does not support them.

Just add new columns to your Google Spreadsheet and apply ARRAYFORMULA to their initial row. Google Sheets will automatically create a new row and duplicate the formulae when a new form submission is made, smoothly applying them to the new data without the need for laborious copy-paste operations.


You can do lookups over full columns by combining ARRAYFORMULA and VLOOKUP for more difficult applications. Imagine that you have a “Fruits” sheet with a column A for fruit names and a column B for related pricing. You need to figure out the order amount in column C of another sheet named “Orders,” which has fruit names and amounts in columns A and B.

This may be done by applying the formula below:

How To Copy A Formula Down In All Column In Google Sheets

IF(NOT(ISBLANK(A:A)), VLOOKUP(A:A, Fruits!A2:B6, 2, FALSE) * B:B, "")))

Simply simply, the column header (“Total”) is output if the row of the current cell is 1 It uses a VLOOKUP to get the item’s price from the “Fruits” sheet for rows with a row number higher than 1 and non-empty values in column A. The result is generated in column C after this price is multiplied by the quantity in column B.

You can use the IMPORTRANGE() function together with the ID of the other Google Sheet if your VLOOKUP range is located in another Google Spreadsheet.

Leave a Comment