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. In this article, we will show you how to name a group of cells in Excel through 3 easy methods (with one bonus) and use these named cells with an example at the end.
Download Practice Workbook
3 Suitable Ways 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.
- Then, type a name in NameBox (Goals, in this example) and hit Enter.
- Here, 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 dialog 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.
Read More :How to Edit Defined Names in Excel (Step-by-Step Guideline)
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.
- Then, from the Name Manager window, click the New button.
- Hence, 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 Matches.
Let’s Check:
The above 3 methods enabled us to name C5:C11 cells as Goals.
- Similarly, we named D5:D11 as Matches following any of the three methods.
- Then, 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
- After that, 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)
How to Apply Create From Selection Option to Give Name to Grouped Cells in Excel
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.
- After that, we selected Left Column from the Create Names from Selection tab. And don’t forget to click OK.
- Finally, 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.
Conclusion
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. Now you know three easy methods how to name a group of cells in Excel. If you have any further queries or suggestions, don’t forget to comment below.