ggmkp
ggmkp

Reputation: 725

Define a range of cells. Like Shift + Click

With this formula =AVERAGE(A1:F5)
I want to do something like this =AVERAGE(A1:A1+5)

Where I can define a range of cells.
I tried OFFSET formula but it does ctrl+click where I need Shift+click.

Upvotes: 1

Views: 67

Answers (1)

Scott Craner
Scott Craner

Reputation: 152505

OFFSET is Volatile I prefer INDEX:

=AVERAGE(INDEX(A:A,1):INDEX(A:A,5))

You can then replace the 1 and 5 with a cell reference in which you put the desired row numbers.

Upvotes: 3

Related Questions