Return to Excel Formulas List

Increment Cell Reference – Excel & Google Sheets

Download Example Workbook

Download the example workbook

This tutorial will demonstrate how to increment cell references by using the OFFSET Function in Excel and Google Sheets.

increment cell reference Main Function

Increment Cell Reference

When copying formulas across rows or columns, if your cell references are not locked, they will move proportionally. If you want to increment cell references at different increments, you can use the OFFSET Function.

Increment Cell Reference in a Column

First, let’s look at an example. This example will increment cell references by 4 rows at a time using the OFFSET and ROW Functions:

increment cell reference 1

Let’s see how this formula works exactly.

ROW Function

If you only have useful data in every nth row, you need to increase the cell reference by n. We can use the ROW Function to find the relevant row numbers.

increment cell reference 2

In the example above, we only need data from every 4th row (n = 4). Starting at the header of your dataset (here, cell B2), use the formula above to find the row numbers for every 4th row.

OFFSET Function

The OFFSET Function returns the value of the cell that is a specified number of rows and columns from the given cell.

increment cell reference 3

Here, we start at the dataset header (cell B2) and increase the row by 4 (cell D3). Since we are staying in the same column, the cols argument of this function is set to 0. The $s in “$B$2” lock the cell reference, so that cell E3 also starts at the data header when calculating the offset.

Combining these functions gives us our original formula:

Increment Cell Reference in a Row

If you want to increase cell references by more than 1 when filling formulas across a row, you can combine the OFFSET Function with the COLUMN Function.

increment cell reference 4

This formula works exactly the same way as the above one for incrementing cell reference in a column. The only difference is that the rows argument of the function is set to zero and the cols argument is incremented by 4.

Increment Cell Reference in Google Sheets

These formulas work exactly the same in Google Sheets as in Excel.

increment cell reference Google Function