A typical Excel spreadsheet may contain formulas that are made of different cell ranges. It can be difficult to remember these cell ranges and re-use them. Naming a group of cells in Excel could make formulas more readable, easy to understand, and maintainable. Although naming cells is one of the most useful features in Excel, it is not commonly used. This article will guide you on how to name a group of cells through 3 easy methods (with one bonus) and use these named cells with an example at the end.
Download Practice Workbook
3 Easy Methods to Name a Group of Cells in Excel (With One Bonus)
We are going to name two groups of cells of this dataset through 3 easy methods. After that, we’ll use those named cells in a formula to see how it makes our formula easy to read, understand, and maintain.
The dataset represents 7 soccer players with their career goals and the number of matches played to score these goals until July 2020. From this, we’ll be able to calculate the number of matches required for each player to score a goal.
Note: Naming cells should follow the naming convention defined by Microsoft Excel.
1. Get Named Group of Cells by Entering Name in the Name Box
This method shows, how we can name a group of cells in Excel by typing a name in the Name Box. Let’s begin:
- At first, we selected a range of cells by dragging the mouse (here C5:C11). We see in the NameBox(on the top-left corner of the worksheet), it only shows the column reference C5.
- Now, type a name in NameBox (Goals, in this example) and hit Enter.
- If we select the cell group again, the NameBox shows the given name(Goals).
Read More: How to Name a Cell in Excel (4 Easy Ways)
2. Name a Group of Cells by Using the Define Name Option
By using the Define Name option in the Formula tab, we can name a range of cells in MS Excel. Let’s follow along:
- Firstly, we selected the Formulas tab and then, click the Defined Names option.
- The previous step would open up a dialogue box, where you put your desired name. We put Goals in the input box here. Finally, press OK to finish the process.
- Now, we can see the named group of cells.
3. Use Excel Name Manager to Name a Group of Cells in Excel
Another way to get a named group of cells is to use the Name Manager in the Formulas tab in Excel. Here is the complete guide:
- In the first step, we selected a range of cells(C5:C11), the Formulas tab and then, the Name Manager option.
- From the Name Manager window click the New button.
- A new window popped up where we entered our desired name(Goals) and clicked OK to save.
- Finally, we could give a name to a group of cells(C5:C11) as
The above 3 methods enabled us to name C5:C11 cells as Goals. Now,
- Similarly, we named D5:D11 as Matches following any of the three methods.
- Let’s divide the Goals column by the Matches Played column to get Goals per Match for each player. In the cell E5, we type the following formula
And hit Enter. Then, apply the same formula in E6:E11 by dragging the Autofill Handler.
That’s how we can make our complex formulas more edible.
Related Content : How to Name a Range in Excel (5 Easy Tricks)
Bonus Method: Apply Create From Selection Option in Excel to Give Name to Grouped Cells
If your data is organized in a tabular form, this bonus method will enable you to give a name to each cell of a column corresponding to another column’s cells. Let’s follow the example to make it clear to understand:
- Here, we selected two columns B5:B11 and C5:C11, and then from the Formulas tab got the Create from Selection option.
- From the Create Names from Selection tab, we selected Left Column. And don’t forget to click OK.
- In the final result, if we select any of the cells in the Goals column, the NameBox shows the corresponding name of the player from the Player Name column. The Player column is left to the Goals column, that’s why we selected the left column option in the previous step.
In this article, we tried to illustrate how the practice of naming a group of cells in Excel could make formulas easy to read, understand, and maintain. If you have any further queries or suggestions, don’t forget to comment below.
- How to Edit Named Range in Excel
- Use Named Range in Excel VBA (2 Ways)
- Paste Range Names in Excel (7 Ways)