The Complete Guide To Named Ranges In Excel [Clear & Simple] (2023)

A named range is a descriptive name given to a single cell or range of cells.

You can use an Excel named range in a formula, to create a drop-down list, or in your conditional formatting.

Working with named ranges, is covered extensively in our intermediate and advanced Excel courses.

Reasons to Use Named Ranges

The advantages of using named ranges include:

  • You don’t have to physically select the cell range each time you want to use it.

  • You don’t have to remember the cell reference.

  • Named ranges can be managed easily by using Name Manager.

  • Navigation to your named range is much easier through the Name Box feature.

The 5 Rules For Naming Ranges In Excel

    1. A name cannot be more than 255 characters long.

    2. You cannot use spaces in your names.

    3. The first letter can only be a letter, an underscore, or a backslash.

    4. You cannot use actual cell addresses as named ranges. For example, you cannot call your named range “A7”.

    5. You can use symbols such as forward slashes, underscores and dots in names, but you cannot use other symbols.

Tip: Try to give your range a name that describes the data it contains.

Four Different Ways To Create A Named Range

1. Create a Named Range Using Define Name

Let’s see how to name a range in Excel. In the example below, we have a data range in Excel that shows common beverages.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (1)

1. Select the cell range B1:B5, which contains the data.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (2)

2. With the range selected, go to the Formulas Tab on the ribbon (Step 1 in the image) and on the Defined Names group, choose Define Name (Step 2 in the image).

The Complete Guide To Named Ranges In Excel [Clear & Simple] (3)

3. The New Name Dialog Box will appear.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (4)

4. Using the New Name Dialog Box:

    • Type the name which you’d like your range to be. In this case “Beverages”.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (5)

    • The Scope refers to where the named range can be applied. The default setting is the workbook which means that you can use the named range anywhere in the workbook. In this case we will leave the default option.

If the scope is set to worksheet, then the name will only be recognised in the worksheet.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (6)

    • You can add a comment to provide more information about the range.

    • In the Refers to: section check that the range of interest is selected. By default, Excel creates an absolute reference.

If you’d like to learn about the differences between absolute, relative and mixed references, read this post.

5. Click OK.

2. Create A Named Range By Using The Name Box

You can create named ranges in Excel by using the Name Box.

In the example below, we have cell B2, that will contain the age of the user.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (7)

1. Select cell B2.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (8)

2. Using the Name Box, type Age and press Enter.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (9)

3. If you click on the Name Box drop-down arrow, you will see the named range.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (10)

4. If you click on the named range then cell B2 will be selected.

3. Create A Named Range By Using Create From Selection

You can use Excel to name a range by using the Create from Selection option. This method works well when you have row or column labels.

In the example, we have some of the typical departments in an organisation shown.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (11)

1. Select range D4:D9. Ensure that you include the label. Go to the Formulas Tab(Step 1 in the image) on the ribbon and on the Defined Names group, choose Create from Selection (Step 2 in the image).

The Complete Guide To Named Ranges In Excel [Clear & Simple] (12)

2. The Create Names from Selection Dialog Box will appear. Ensure that the Top row option is checked since our heading is in the top row.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (13)

3. Click OK.

4. This automatically creates a name for the range using the heading in cell D4. Now if you click on Departments in the Name Box, cells D5:D9 will be selected.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (14)

The Complete Guide To Named Ranges In Excel [Clear & Simple] (15)

4. Create A Named Range Using Name Manager

You can use the Name Manager to create named ranges in Excel.

In the example below, we have a list showing an item of furniture and its corresponding price. We would like to name the range containing the prices.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (16)

1. Go to the Formulas Tab(Step 1 in the image) on the ribbon and on the Defined Names group, choose Name Manager (Step 2 in the image).

The Complete Guide To Named Ranges In Excel [Clear & Simple] (17)

2. The Name Manager Dialog Box should appear.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (18)

3. Click on the New button…

The Complete Guide To Named Ranges In Excel [Clear & Simple] (19)

The New Name Dialog Box should appear.

4. Enter a name for the range which in this case is Prices. Select the range E4:E7 in the Refers to: section.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (20)

5. Click OK.

6. You should now have a named range called Prices.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (21)

7. Click Close.

Using Named Ranges in Your Formulas

An Excel range name is very useful in a formula. To illustrate this, let’s use our example above, where we named our Prices range.

We want to find the price of the second most expensive furniture item in cell E10.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (22)

To do this we are going to use the LARGE Function in combination with our named range.

1. Select cell E10 and type the following formula using our named range Prices. As you type Prices, Excel will show a drop down displaying the matched name.

=LARGE(Prices, 2)

The Complete Guide To Named Ranges In Excel [Clear & Simple] (23)

2. Press Enter.

3. The second most expensive value is returned.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (24)

Tip: Alternatively, you can also select the cell of interest.

Then enter the equals sign and LARGE. After opening the parenthesis go to the Formulas Tab (Step 1 in the image) on the ribbon and on the Defined Names group, click on Use In Formula (Step 2 in the image) and select the name of the range.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (25)

Complete the rest of the formula and press Enter to get the second most expensive item.

See this article for more details on

Editing A Named Range

You can edit or change a named range in Excel by using the Name Manager.

We would like to edit the Prices named range, which we created in the example above.

To edit an Excel named range do the following:

1. Go to the Formulas Tab on the ribbon and on the Defined Names group, choose Name Manager.

2. The Name Manager Dialog Box will appear which should show you all the named ranges you have created and any tables that you may have in the workbook.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (26)

3. Select the Prices named range and click on the Edit… button.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (27)

4. The Edit Name Dialog Box should appear. We would like to change the name of our range to Prices_of_Items, so type this into the Name section.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (28)

5. Click Ok.

6. Close Name Manager.

Deleting A Named Range

You can delete a named range by using Name Manager.

1. Go to the Formulas Tab on the ribbon and on the Defined Names group, choose Name Manager.

2. Select the named range that you would like to delete, in this case it is Departments and click on the Delete button.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (29)

3. Click Ok to confirm and this named range should now be deleted.

Creating A Named Constant

Let’s say we have a list of products and their corresponding prices as shown in the example below.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (30)

There is a half-price sale happening over the weekend and all the prices should be discounted by half.

So, we would like to have a calculated column that contains the discounted price of each product.

1. Since we are applying the same discount which is 0.5. We can use this as a named constant.

2. Press Ctrl-F3 to open Name Manager. Click New…

The New Name Dialog Box should appear.

Type the name of the constant which in this case is Discount_For_Weekend_Sale.

In the Refers to: section type =0.5 as shown below. Click Ok and then Close.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (31)

3. In cell C3 type the following formula

=B3*(1-Discount_For_Weekend_Sale)

and press Enter.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (32)

4. Drag the formula down the column.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (33)

Creating a Dynamic Named Range

A dynamic range refers to a range that updates automatically as new values are added to the source data.

Let’s say we have a worksheet containing the names of potential contestants in column A. We want to create a range, and have it update automatically as we receive applications.

The source data is shown below.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (34)

1. To create a dynamic named range. Press Ctrl-F3 to open the Name Manager.

2. Click the New button…

3. Name the range Potential_Contestants.

In the Refers to: section enter the following formula:

=$A$1:INDEX($A:$A, COUNTA($A:$A) )

4. Click Ok and Close.

The Complete Guide To Named Ranges In Excel [Clear & Simple] (35)

The INDEX Function is being used to return the reference of the last cell that has data in column A. Since the starting point was given as $A$1 the entire formula will return the range starting from A1 to the last used cell.

To learn about how to use the INDEX Function with other lookup examples, please read our .

Useful Shortcuts

Ctrl+F3 opens the Name Manager Dialog Box.

Ctrl+Shift+F3 opens the Create Name from Selection Dialog Box.

To learn more about other useful shortcuts read our post on Microsoft Office Shortcuts.

Conclusion

You can see the benefits of using an Excel named range in your workbooks. You can define a range in Excel in multiple ways.

Named ranges in Excel make your formulas easier to understand. You can name Excel lists to simplify your workbooks.

If you want more top tips for Excel, read our Ultimate Guide to Highlighting Duplicates in Excel.

Special thank you to Taryn Nefdt for collaborating on this article!

Special thank you to Taryn Nefdt for collaborating on this article!

FAQs

What are the steps to name a range in Excel? ›

Create a named range from selected cells in a worksheet
  1. Select the range you want to name, including the row or column labels.
  2. Click Formulas > Create from Selection.
  3. In the Create Names from Selection dialog box, select the checkbox (es) depending on the location of your row/column header. ...
  4. Click OK.

How do you clear all named ranges in Excel? ›

To select all named ranges, simply press the Shift key. And if your intention is to delete only a few named ranges, hold down the Ctrl key and the select those ranges to delete. After you have selected them, click on delete button.

What is the the basic rules for naming a cell range? ›

The 5 Rules For Naming Ranges In Excel

A name cannot be more than 255 characters long. You cannot use spaces in your names. The first letter can only be a letter, an underscore, or a backslash. You cannot use actual cell addresses as named ranges.

What is a named range in Excel? ›

A named range is one or more cells that have been given a name. Using named ranges can make formulas easier to read and understand. They also provide simple navigation via the Name Box. Note: named ranges are absolute references by default.

How can you name a range in a spreadsheet? ›

Name a range
  1. Open a spreadsheet in Google Sheets.
  2. Select the cells you want to name.
  3. Click Data. Named ranges. A menu will open on the right. ...
  4. Type the range name you want.
  5. To change the range, click Spreadsheet .
  6. Select a range in the spreadsheet or type the new range into the text box, then click Ok.
  7. Click Done.

How do I use a named range from another sheet in Excel? ›

To reference a cell or range of cells in another worksheet in the same workbook, put the worksheet name followed by an exclamation mark (!) before the cell address. For example, to refer to cell A1 in Sheet2, you type Sheet2!

How do you clear a named range? ›

Delete a Named Range
  1. Open Microsoft Excel, then click "File" and open the document containing the named range you want to delete.
  2. Click the "Formulas" tab and click "Name Manager" in the Defined Names group. ...
  3. Click the name you want to delete. ...
  4. Click "Delete," then confirm the deletion by clicking "OK."

How do I remove blanks from a named range in Excel? ›

How to remove blank cells in Excel
  1. Select the range where you want to remove blanks. ...
  2. Press F5 and click Special… . ...
  3. In the Go To Special dialog box, select Blanks and click OK. ...
  4. Right-click any of the selected blanks, and choose Delete… from the context menu:
Mar 16, 2023

How do I clear cell range formatting? ›

How to clear all formatting in Excel
  1. Select the cell or range of cells from which you want to clear formatting.
  2. On the Home tab, in the Editing group, click the arrow next to the Clear button.
  3. Select the Clear Formats option.
Mar 21, 2023

What are 2 advantages of using a named range in Excel? ›

For accountants, named ranges allow you to quickly navigate a workbook, read formulas with ease and create formulas with named ranges while waiting on data. Setting up named ranges can be done very quickly with a few clicks of the mouse. Once set up they can be used in formula and used to navigate a workbook.

What is the benefit of named ranges in Excel? ›

Conclusion: naming ranges in Excel has many advantages, making your workbooks easier to read, making formulas faster to type and debug, and allowing to create ranges with variable-size to make your spreadsheets dynamic and easy to update.

What is not allowed in names of ranges? ›

Named ranges can include numbers but cannot include any spaces.

Why is a named range used in a spreadsheet? ›

Named ranges in Excel are labels that you can assign to individual cells or cell ranges. This allows you to use range names anywhere you would use a cell or cell range reference.

How do you use a named range in a formula? ›

Name Box

Press "Enter," and the cell range now has a unique name. Example: Select the cell range A1:A10. Type "Prices" into the Name Box and press "Enter." Use that named range in formulas such as =SUM(Prices), which gives you the sum of all the figures in the Prices cells.

How to use range in Excel? ›

How to calculate range using the SMALL and LARGE functions
  1. Enter the data into A1 through A10.
  2. Enter the formula =SMALL(A1:A10) into cell B1.
  3. In cell B2, enter the formula =LARGE(A1:A10).
  4. Subtract the two formulas by entering =B2-B1 into cell C1.
  5. You now have the range of your data.
Jun 24, 2022

How do I reference a cell within Excel named range? ›

Just select the name of interest in the Excel Name Manager, and type a new reference directly in the Refers to box, or click the button at the right and select the desired range on the sheet. After you click the Close button, Excel will ask if you want to save the changes, and you click Yes. Tip.

How do I edit multiple named ranges in Excel? ›

How to edit named ranges in Excel
  1. Navigate to the "Formulas" tab.
  2. Locate "Name Manager."
  3. Select the named range that you want to edit.
  4. Type the new name in the "Name" line in the "Edit Name" box.
  5. Press "OK."
  6. Click "Close" on the "Name Manager" box.
Jun 24, 2022

How can I get a list of named ranges? ›

Find named ranges
  1. The Go to popup window shows named ranges on every worksheet in your workbook.
  2. To go to a range of unnamed cells, press Ctrl+G, enter the range in the Reference box, and then press Enter (or click OK).

Do named ranges slow down Excel? ›

The only problem is that named ranges, especially dynamic ranges, consume a considerable amount of working memory. Overusing them may slow down your Excel spreadsheet.

How do I delete a named range in sheets? ›

How to Delete a Named Range in Google Sheets?
  1. Go to Data > Named ranges. Named Ranges in Google Sheets (Complete Guide) - Data > Named Ranges.
  2. Select the named range you want to delete and click the pencil icon. ...
  3. Click the trash can icon next to the range name to delete the named range.
Jan 31, 2023

How do I ignore blanks in Data Validation named range? ›

Select the cells where the data validation is set, and then in the Ribbon, go to Data > Data Tools > Data Validation. This option is available with any validation criteria be it whole number, decimal, list, date, time, text length or a custom format. Make sure Ignore Blank is checked and then click OK.

What is the clear formatting button? ›

With Word's Clear All Formatting command, you can remove text formatting like font, size, and color to return text to its default style. It's an easy way to start with a clean slate and apply the formatting of your choice.

What is the main difference between a named range to a table? ›

A table is a defined grid of cells for data and formulas that automatically expands as you add to it and also automatically has the capacity to sort and filter. Creating a table also automatically adds a named range to your worksheet. A named range is just one or more cells to which you, or Excel, have assigned a name.

Do named ranges speed up Excel? ›

Named ranges make formulas easier to read, faster to develop, and more portable. They're also useful for data validation, hyperlinks, and dynamic ranges. This article shows you how you can use named ranges to build better spreadsheets, and better formulas.

What are the disadvantages of Excel name ranges? ›

So, what are the disadvantages of name ranges? Well, at first, if you don't use them often, they can seem just a little bit fiddly. The second disadvantage of name ranges is that they don't lend themselves to copying relative references. However, there are some workarounds for this when we are creating name ranges.

What is the function of named ranges? ›

Excel Named Ranges makes it easy to refer to data sets in Excel. You can create a named range in Excel for each data category, and then use that name instead of the cell references. For example, dates can be named 'Date', Sales Rep data can be named 'SalesRep' and sales data can be named 'Sales'.

What is the difference between name range and table in Excel? ›

Range in Excel means any group of selected cells. It is defined by the reference of the top-left cell and the bottom-right cell. For example, in the left-hand part of the image below, the data is in the range A1:C6. Excel table is a structured and pre-formatted dynamic range of cells that has its own name.

What characters are valid in Excel named range? ›

The only symbols valid in range names are the period (.), question mark (?), underscore (_), and backslash (\) symbols, as long as they are not used as the first character of the name. You can use any single letter as a range name except for R and C.

How many characters are allowed in named range in Excel? ›

A name can contain up to 255 characters. If a name that is defined for a range contains more than 253 characters, you cannot select it from the Name box, but you can still use it in formulas.

What is a benefit of naming cells and ranges? ›

By using names, you can make your formulas much easier to understand and maintain. You can define a name for a cell range, function, constant, or table.

How do you check if a value is in a named range? ›

In Excel, to check if a value exists in a range or not, you can use the COUNTIF function, with the IF function. With COUNTIF you can check for the value and with IF, you can return a result value to show to the user. i.e., Yes or No, Found or Not Found.

What 3 types of data can be entered in a spreadsheet? ›

The three types of data you can enter into a cell are data, labels and formulas.

How to do a range in Excel? ›

How to calculate range using the SMALL and LARGE functions
  1. Enter the data into A1 through A10.
  2. Enter the formula =SMALL(A1:A10) into cell B1.
  3. In cell B2, enter the formula =LARGE(A1:A10).
  4. Subtract the two formulas by entering =B2-B1 into cell C1.
  5. You now have the range of your data.
Jun 24, 2022

What is an example of a range in Excel? ›

A group of cells is known as a cell range. Rather than a single cell address, you will refer to a cell range using the cell addresses of the first and last cells in the cell range, separated by a colon. For example, a cell range that included cells A1, A2, A3, A4, and A5 would be written as A1:A5.

What is used range formula in Excel? ›

A used range includes any cell that has ever been used. For example, if cell A1 contains a value, and then you delete the value, then cell A1 is considered used. In this case, the UsedRange property will return a range that includes cell A1.

How do I name columns in Excel? ›

Select a column, and then select Transform > Rename. You can also double-click the column header. Enter the new name.

How do I create a named table array in Excel? ›

Type a name in the Name Box

The Name Box in Excel is fastest way to create a named range: Select a cell or a range of cells that you want to name. Type a name into the Name Box. Press the Enter key.

What is good practice when naming worksheets? ›

Important: Worksheet names cannot:
  • Be blank .
  • Contain more than 31 characters.
  • Contain any of the following characters: / \ ? * : [ ] ...
  • Begin or end with an apostrophe ('), but they can be used in between text or numbers in a name.
  • Be named "History". This is a reserved word Excel uses internally.

References

Top Articles
Latest Posts
Article information

Author: Corie Satterfield

Last Updated: 29/11/2023

Views: 6400

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.