Skip to main content

logoCorrectSize.png

Adaptive Insights LLC.

P-NAMED RANGES

Create a Named Range

Use one of two methods to create a named range:

  • Select an area on the grid
  • Use the Define Name command

To create a named range by selecting the area:

  1. Select the area you want to include in the range, whether it’s a set of cells, rows, or columns.

  2. Click in the Name Box so that the current contents are selected.

    Create a named range in Excel

  3. Type the name you want for this named range, and then press Enter.
    The named range is created. You can click the arrow in the Name Box in any sheet in this workbook and see the named range. Select the named range in the dropdown, and Excel goes to its location in the grid.

You can also create a named range by using the Define Name command.

To create a named range by using the Define Name command:

  1. Select the area you want to include in the named range, whether it’s a single cell or a set of cells, rows, or columns.

  2. Select Formulas > Defined Names > Define Name.

  3.  Type the name you want for this named range.

  4.  In Scope, specify whether this named range is available from a particular worksheet in the workbook, or to the whole workbook.

  5.  In Comments, add a note if necessary.

  6.  In Refers to, verify the code reflects the area you selected for this range. Make any corrections as needed, either by selecting in the grid or by editing the code.

  7. Click OK.
    The named range is created as you specified. You can click the arrow in Name Box and see the named range in the drop-down menu.

Edit a Named Range

You can dynamically add or remove columns or rows within the scope of a named range.  The named range adjusts automatically.

Use the Name Manager to:

  • Add or remove columns or rows that are outside the current scope of the named range.
  • Change the name of the named range.
  • Delete a named range.

To edit or delete a named range:

  1.  Select Formulas > Defined Names > Name Manager.
    The Name Manager dialog appears, listing all named ranges in this workbook.

  2. Select the named range you want to change, and then select Edit. To delete a named range, select Delete.

  3. Change the name of the named range.

  4. In Commentsadd or change a note about the named range.

  5. In Refers to, change the area for this named range. When you click in the box, the range appears in the grid. Make your changes by either selecting in the grid or by editing the code.

  1.  Click OK.

  2.  Click Close in the Name Manager dialog box.
    The named range is modified as you specified.

  • Was this article helpful?