» Automatically Updating a Range Name Reference
CATEGORY - Excel Range Name
VERSION - All Microsoft Excel Versions
To automatically update a range Name:
Insert the following formula into the Refers to box in the Define Name dialog box:
=OFFSET(Ref,0,0,COUNTA(ColA),COUNTA(Row1))
This OFFSET formula returns the measurement size of the data table (width and height).
The syntax of the OFFSET formula is:
(Reference,Rows,Cols,Height,Width).
Reference:
The reference from which you want to base the offset (in the example the reference is A1).
Rows,Cols:
The number of rows or columns that you want the upper-left cell to refer to (for example, 0 rows and 0 columns).
Height,Width:
The height or width, in number of rows (columns) that you want the returned reference to be, the numbers must be positive.

Book Store:
Recommended Books:
- Infectious Greed: How Deceit and Risk Corrupted the Financial Markets
- The 22 Immutable Laws of Branding
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Keys to Reading an Annual Report (Barron's Business Keys)
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- Windows XP for Dummies
No comments have been submitted.

