Defining Label Ranges

You can define label ranges on your worksheets so that you can use the label names, instead of cell references, in formulas. You can even specify label ranges that contain row and column labels on your worksheet. Naming a cell or range of cells is a major shortcut for referring to long cell addresses in formulas or row and column labels on worksheets.

Adding Names

To add a name, select the cell or range of cells you want to name. Then choose Insert, Name, Label. The Label Ranges dialog box pops up, as shown in Figure 16.14.

Figure 16.14. The Label Ranges dialog box.


The range you selected appears in the Add Label Range box. Notice the Row labels option is selected. The data in rows 5 through 9 are labels for those rows. Click the Add button to add the label range to the existing list at the bottom of the dialog box. You can select another range on the worksheet, and click the Add button to repeat the process and add as many label ranges as you want. When you're finished labeling your ranges, click OK.

To refer to the label range on your worksheet in a formula, type the formula until you get to the place where you need to insert the label range. Then choose Insert, Name, Label. Double-click the label range in the Existing label ranges list. Excel inserts the range into your formula.

Removing Names

To remove a label range from your worksheet, choose Insert, Name, Label. In the Label Ranges dialog box, click the label range you want to get rid of. Click the Remove button. Excel removes the label range from the list. Then click OK.

    Part I: Excel Basics