However, with a little work it’s possible to construct formula references that follow specific patterns.

The next argument isrows, which indicates the desired row offset from the starting reference.

Here, theROW functionis used to get the row number for cell D1.

Excel formula: Copy value from every nth column

We start with D1 because we want to start with 1 for the first value.

For example, if n is changed to 5, the formula will pick up every 5th value.

OFFSET is handy in formulas that require a dynamic range.

Excel formula: Sum every nth column

ROW Function

The Excel ROW function returns the row number for a reference.

For example, ROW(C5) returns 5, since C5 is the fifth row in the spreadsheet.

When no reference is provided, ROW returns the row number of the cell which contains the formula.

Excel formula: Sum every n rows

Excel formula: Unwrap column into fields

Excel OFFSET function

Excel ROW function