Skip to content
ArumSoft Learning
KO

    How to Use Named Ranges in Excel

    Give cells and ranges names like Sales or BonusRate, use them in formulas, and edit, fix or delete them in Name Manager.

    Level
    Intermediate
    Time
    11 min read
    Updated:
    Applies to:
    Excel for Microsoft 365, Excel 2021, Excel 2019, Excel for the web
    Income of 3,200 minus 1,830 in expenses leaves 1,370.
    Example: Income of 3,200 minus 1,830 in expenses leaves 1,370.

    What you'll learn

    • Name a cell or range with the Name Box or the New Name dialog
    • Create names for several columns at once from their headings
    • Use names in formulas instead of cell addresses
    • Edit, filter and delete names in Name Manager
    • Fix formulas that return #NAME? or #REF! because of a name

    A named range is a name, such as Sales or BonusRate, that stands for a cell or a range. =SUM(Sales)*BonusRate says what it does; =SUM(C2:C7)*$E$2 makes you go and look. Names are absolute, so formulas that use them can be copied anywhere, and they make drop-down lists and navigation easier too. Name Manager (Ctrl+F3) is where you see, edit and delete them all.

    Where to find it

    Everything for names is in the Defined Names group on the Formulas tab. Ctrl+F3 opens Name Manager.
    • Name Box, to the left of the formula bar: the fastest way to name the cells you've selected.
    • Formulas then Defined Names then Define Name: opens the New Name dialog, with more options.
    • Formulas then Defined Names then Create from Selection (Ctrl+Shift+F3): names several ranges at once from their headings.
    • Formulas then Defined Names then Name Manager (Ctrl+F3): lists every name in the workbook.

    You can also right-click a selection and choose Define Name.

    Name a cell with the Name Box

    The examples use this sales sheet. The bonus rate in E2 is a single input that several formulas will need.

    1. Select the cell

      Click E2. The Name Box shows its address, E2.

    2. Type the name and press Enter

      Click in the Name Box, type BonusRate and press Enter. If you click away without pressing Enter, the name isn't created.

      ABCDE
      1RepRegionSales
      2AnaEast12,000Bonus rate5%
      3BenWest9,500Total sales
      4ChloeEast15,500Bonus pool
      5DevNorth8,000East sales
      6EvaWest11,000
      7FinnEast7,000
      E2 is selected and the Name Box shows its new name, BonusRate.

    From now on, whenever you select E2, the Name Box shows BonusRate instead of E2. Click the arrow on the Name Box to see every name and jump to any of them.

    Name a range with the New Name dialog

    Define Name does the same job with more control. Select C2:C7 and go to Formulas then Defined Names then Define Name.

    Excel suggests the heading above the selection as the name. Refers to uses an absolute reference, with $ signs.
    • Name: Excel suggests the heading above your selection (Sales). Change it if you like.
    • Scope: Workbook means the name works on every sheet. Choosing a sheet limits the name to that sheet. You can't change the scope later, so decide now.
    • Comment: an optional note that appears in Name Manager.
    • Refers to: the cells, with $ signs. You can also type a constant or a formula here instead (see the discount scenario below).

    Click OK.

    Name every column at once

    To name all three columns in one go, let Excel use the headings.

    1. Select the headings and the data

      Select A1:C7, headings included.

    2. Open Create from Selection

      Go to Formulas then Defined Names then Create from Selection or press Ctrl+Shift+F3.

    3. Tick only Top row

      Excel guesses where the labels are and may tick Left column too. Untick it, or Excel also names each row after the rep in column A. Leave Top row ticked and click OK.

      Top row uses each heading as the name of the cells below it.

    Excel creates Rep (A2:A7), Region (B2:B7) and Sales (C2:C7). If Sales already exists, Excel asks whether to replace it. Headings with spaces get underscores: a heading "Bonus rate" would become Bonus_rate.

    Use names in formulas

    Type a name wherever you'd type a range. As you type =SUM(Sa, the name appears in the AutoComplete list with a different icon from the functions; press Tab to accept it. You can also press F3 to pick from a list, or choose a name from Formulas then Defined Names then Use in Formula.

    Total sales, in E3
    =SUM(Sales)
    Bonus pool, in E4
    =SUM(Sales)*BonusRate
    ABCDE
    1RepRegionSales
    2AnaEast12,000Bonus rate5%
    3BenWest9,500Total sales63,000
    4ChloeEast15,500Bonus pool3,150
    5DevNorth8,000East sales34,500
    6EvaWest11,000
    7FinnEast7,000
    The bonus pool is 63,000 × 5% = 3,150. The formula reads like a sentence.

    Total sales are 63,000 and the bonus pool is 3,150. Names work in any function. This adds up East's sales, 34,500 (12,000 + 15,500 + 7,000):

    Reading a formula with names
    =SUMIF(Region,"East",Sales)
    1. RegionThe name of B2:B7, the cells to check
    2. "East"The value to look for in Region
    3. SalesThe name of C2:C7, the numbers to add up

    Because names are absolute, =SUM(Sales)*BonusRate gives the same result wherever you copy it. To switch existing formulas from addresses to names, select them and use Apply Names, in the Define Name drop-down.

    Manage names in Name Manager

    Press Ctrl+F3 or go to Formulas then Defined Names then Name Manager. Each name gets a row with its Value, Refers To, Scope and Comment. For the sales sheet, the list looks like this:

    NameRefers ToScope
    BonusRate=Sheet1!$E$2Workbook
    Region=Sheet1!$B$2:$B$7Workbook
    Rep=Sheet1!$A$2:$A$7Workbook
    Sales=Sheet1!$C$2:$C$7Workbook
    • New opens the New Name dialog.
    • Edit opens Edit Name, where you can rename a name or change what it refers to. Renaming updates every formula that uses it.
    • Delete removes the selected names. Formulas that used them show #NAME?, so check first.
    • Filter shows, for example, only Names with Errors, which is the quickest way to find broken names, or only Table Names. Excel tables appear in Name Manager too, but you can't delete them there.

    You can also click a name, change the Refers to box at the bottom of Name Manager and click the tick button next to it.

    Name rules

    • Start with a letter, an underscore (_) or a backslash (\). After that, use letters, numbers, periods and underscores.
    • No spaces: write BonusRate or Bonus_Rate.
    • A name can't look like a cell address: Q1, TR1 and FY2026 are all cell addresses. The single letters C and R aren't allowed either.
    • Names can be up to 255 characters long and aren't case-sensitive: sales and Sales are the same name.

    Real-world scenarios

    Sales

    A discount without a cell

    A shop runs a 15% sale. Instead of putting 15% in a cell, define a name that holds the number itself: in New Name, type Discount as the name and =0.15 in Refers to.

    ABC
    1ItemList priceSale price
    2Desk250212.5
    3Chair120102
    4Lamp4034
    Sale prices with a named constant. Change Discount in Name Manager and every price updates.
    =B2*(1-Discount)

    Filled down C2:C4, it returns 212.5, 102 and 34. When the sale changes to 20%, edit Discount in Name Manager; you don't touch a single formula.

    School

    Club sign-up drop-down

    Students choose a club from a drop-down list. The list of clubs is in D2:D5, named Clubs.

    ABCD
    1StudentClubClubs
    2MiaChessChess
    3LeoDramaChoir
    4SaraDrama
    5TomRobotics
    D2:D5 is named Clubs. Column B uses it as the source of a drop-down list.

    Select B2:B5, go to Data then Data Tools then Data Validation, choose List under Allow and type =Clubs in Source. If the clubs move to another sheet later, update the name once and every drop-down follows.

    Budget

    Money left at the end of the month

    A monthly budget names the income cell Income and the expense amounts Expenses (B4:B7).

    AB
    1Income3,200
    2
    3ExpenseAmount
    4Rent1,200
    5Food450
    6Transport120
    7Phone60
    8
    9Left over1,370
    Income of 3,200 minus 1,830 in expenses leaves 1,370.
    =Income-SUM(Expenses)

    The result is 1,370: 3,200 − (1,200 + 450 + 120 + 60). Months from now, the formula still explains itself.

    Common mistakes

    • #NAME? in a formula. The name is misspelled, was deleted, or was never created (the Name Box needs Enter). Check it in Name Manager, or type the name again and pick it from AutoComplete.
    • #REF! in Refers to. Deleting the rows or columns a name pointed to leaves #REF! in Refers to, and every formula using the name returns #REF!. Filter Name Manager by Names with Errors, then edit or delete them.
    • A name that stops short. New rows added below the range aren't included. Use an Excel table for growing lists.
    • Two names with the same text. A sheet-level name and a workbook-level name can share a name. On that sheet, the sheet-level one wins, which can be confusing. Use workbook scope unless you have a reason not to.
    • Left column ticked by accident. Create from Selection then also creates a name for every row label. Delete the extra names in Name Manager.

    Practice

    Practice

    Name a sales sheet

    1. Type the sales sheet from this page into a new workbook: Rep, Region and Sales in A1:C7, and the bonus rate 5% in E2.
    2. Name E2 BonusRate with the Name Box.
    3. Select A1:C7 and use Create from Selection with only Top row ticked.
    4. Write =SUM(Sales), =SUM(Sales)*BonusRate and =SUMIF(Region,"East",Sales). Check that you get 63,000, 3,150 and 34,500.
    5. Open Name Manager, add a comment to BonusRate, then delete Rep. Does any formula break?

    Related

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com