-
- Rate Projections Functions Walkthrough
- Accruals and Cash
- Repeating Formulae
- Range Names and References
- Optional Parameters
- Using PmtsPerYear
- Modelling Seasonality
- Calculating Interest
- Using Business Functions in VBA (Visual Basic for Applications)
- Array Functions
- Volatility
- Annual Equivalent Rates
- Array Function
- Auto Multi Functions
- Variable Plurality
- GoalSeek
- It is a range name that you can use in your formulae like any other.
- It can only be used on the sheet where it is defined. Using it anywhere else causes a #NAME? error.
- You can have the same name on different sheets.
Create Local Range Name | |
Quick way to do a sheet-local rangename | |
Sheet-local range names are very useful in some kinds of models. What is a Sheet-Local Range Name? Why are they useful? The last characteristic means that if you have a sheet which does a certain job in a modular fashion eg calculate a loan or a lease, you can copy that sheet over to another sheet, and when all the formulae are copied, the range names and the range definitions will be copied as well. How do you define a local range name in Excel To define a sheet-local range name, when you come to name the range, you simply preface it with the sheet name eg MySheet!MyName, and then you can use MyName anywhere on that sheet. For the technical: Why is this possible at all? This functionality is possibe because in Excel, a name range is actually a name attached to a formula. Prefacing a range name with a sheet name is a perfectly valid cell reference, and therefore a valid formula. What Excel does which is clever is the copying over thing, where the local range name definition is copied to the new sheet. So what does the BF macro do? The "Create a Local Range Name" option in BF simply puts in the sheet reference for you, not much more than that. Because I always forget how to define local range names (remembering to put in an exclamation mark eludes my fading memory!), I find this utility useful. Whenever you are building sheets that do a certain job that yuo want to replicate to other sheets, think about local range names. |