thothal
thothal

Reputation: 20399

Define Dynamic Range for a Table

Background

I find myself quiet often in the situation where I want to define a dynamic range covering a whole table. I want enough flexibility in the sense that if I add more columns or rows or move the table, the range should be updated.

So what I do is basically:

Explanation

Question

This approach seems to be quite on overkill and I was thinking whether I could not simply replace the whole INDIRECT(...) construct by $A:$A and $1:$1 respectively. First test would confirm that it works, but I was wondering whether I am overlooking something here? Do you see any potenital issues with this approach?

Upvotes: 0

Views: 354

Answers (1)

ManishChristian
ManishChristian

Reputation: 3784

This is what I use in name manager to define dynamic table:

=OFFSET(SheetName!$A$1,0,0,COUNTA(SheetName!$A:$A),COUNTA(SheetName!$1:$1))

This will cover all the rows and columns on your given sheet.

Upvotes: 1

Related Questions