|
Got any Excel Questions? Free Excel Help
Possibly one of Excels most underutilized aspects is its ability to create dynamic named ranges that will expand and contract according to the data in them. Below are 7 different types of these ranges.
Excel Add-ins Get a free Workbook Size Reducer when you buy any of the OzGrid Add-ins. Or save by buying the collection. These Add-ins are designed to increase your Excel productivity, eliminate errors and do what can only be done via VBA code. The OzGrid Excel Plus includes a "Dynamic Named Range" creator that can create all the different types.
Named Range Manager Excel Add-in that does dynamic named ranges and so much more!
Dynamic Named Ranges Examples
For ALL examples you need to:
See Also: Advanced Dynamic Named Ranges
The good thing about number 3,4,5,6 and 7 is that they
will include blank cells.
You can also change the Columns the dynamic range will span by simply changing
the last Argument of the OFFSET function to a higher number than 1.
You could even expand across your Columns dynamically by placing another
COUNT or COUNTA formula as the last argument, instead of 1. See below:
In the Refers to box type: =OFFSET($A$1,0,0,COUNTA($A:$A),COUNTA($1:$1))
This dynamic range will now also expand across Columns in Row 1. So
if you add another Column to your Table the dynamic range will automatically
incorporate it.
To try and give you a better understanding of the OFFSET formula, read the
text below taken from the Excel help file.
OFFSET(reference,rows, cols,height,width)
Reference : is the reference from which you want to base the offset. Reference
must be a reference to a cell or range of adjacent cells; otherwise, OFFSET returns
the #VALUE! error value.
Rows : is the number of rows, up or down, that you want the upper-left cell
to refer to. Using 5 as the rows argument specifies that the upper-left cell in
the reference is five rows below reference. Rows can be positive (which means below
the Starting reference) or negative (which means above the Starting reference).
Cols : is the number of columns, to the left or right, that you want the
upper-left cell of the result to refer to. Using 5 as the cols argument specifies
that the upper-left cell in the reference is five columns to the right of reference.
Cols can be positive (which means to the right of the Starting reference) or negative
(which means to the left of the Starting reference).
If rows and cols offset reference over the edge of the worksheet, OFFSET returns
the #REF! error value.
Height : is the height, in number of rows, that you want the returned reference
to be. Height must be a positive number.
Width : is the width, in number of columns, that you want the returned reference
to be. Width must be a positive number.
If height or width is omitted, it is assumed to be the same height or width as reference.
See Also: Advanced Dynamic Named Ranges
Excel Dashboard Reports & Excel Dashboard Charts 50% Off Become an ExcelUser Affiliate & Earn Money
Special! Free Choice of Complete Excel Training Course OR Excel Add-ins Collection on all purchases totaling over $64.00. ALL purchases totaling over $150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to [email protected] 31 days after purchase date.
Instant Download and Money Back Guarantee on Most Software
Excel Trader Package Technical Analysis in Excel With $139.00 of FREE software!
Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft
Some of our more popular products are below...
Convert Excel Spreadsheets To Webpages | Trading In Excel | Construction Estimators | Finance Templates & Add-ins Bundle | Code-VBA | Smart-VBA | Print-VBA | Excel Data Manipulation & Analysis | Convert MS Office Applications To...... | Analyzer Excel | Downloader Excel
| MSSQL Migration
Toolkit |
Monte Carlo Add-in |
Excel
Costing Templates