Set defined name
set_defined_nameCreate a defined name for a range or constant in Excel, making it usable in formulas like =SUM(Sales). Replaces any existing name with the same scope.
Instructions
Create a defined name for a range or constant (usable in formulas, '=SUM(Sales)'), replacing one of the same scope. The reference follows the formula safety rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Letters, digits, underscores and periods, e.g. 'TaxRate'. | |
| path | Yes | ||
| sheet | No | Scope sheet. Default: the workbook. | |
| refers_to | Yes | Range with sheet, 'Data!$B$2:$B$100', or a constant, '0.075'. |