Renaming a column in excel

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

Contents

  • 1 How do you rename a column in Excel?
  • 2 How do I change rows and column names in Excel?
  • 3 How do I change column headings in Excel?
  • 4 How do I get column header name in Excel?
  • 5 How do you rename a column?
  • 6 How do you change the name of a column?
  • 7 How do I change Excel columns to alphabetical order?
  • 8 What is a column header?
  • 9 What is an Xlookup in Excel?
  • 10 How do I get column names from column numbers in Excel?
  • 11 How do you modify a column?
  • 12 How do I rename a column in R?
  • 13 How do I rename multiple columns in postgresql?
  • 14 How do you change a column name in a data frame?
  • 15 How do you name columns in a data frame?
  • 16 How do I rename a column in PostgreSQL?
  • 17 Can you change the column letters in Excel?
  • 18 How do you alphabetize names in Excel?
  • 19 Can I change the letters in Excel?
  • 20 How do I create a header label in Excel?

How do you rename a column in Excel?

Single Sheet

  1. Click the letter of the column you want to rename to highlight the entire column.
  2. Click the “Name” box, located to the left of the formula bar, and press “Delete” to remove the current name.
  3. Enter a new name for the column and press “Enter.”

How do I change rows and column names in Excel?

Rename columns and rows in a worksheet

  1. Click the row or column header you want to rename.
  2. Edit the column or row name between the last set of quotation marks. In the example above, you would overwrite the column name Gold Collection.
  3. Press Enter. The header updates.

How do I change column headings in Excel?

To change the column headings to letters, select the File tab in the toolbar at the top of the screen and then click on Options at the bottom of the menu. When the Excel Options window appears, click on the Formulas option on the left. Then uncheck the option called “R1C1 reference style” and click on the OK button.

How do I get column header name in Excel?

Just click the Navigation Pane button under Kutools Tab, and it displays the Navigation pane at the left. Under the Column Tab, it lists all column header names. Note:It will locate a cell containing column header name as soon as possible if you click the column name in the navigation pane.

How do you rename a column?

ALTER TABLE table_name RENAME TO new_table_name; Columns can be also be given new name with the use of ALTER TABLE. QUERY: Change the name of column NAME to FIRST_NAME in table Student.

How do you change the name of a column?

To rename a column using Table Designer

  1. In Object Explorer, right-click the table to which you want to rename columns and choose Design.
  2. Under Column Name, select the name you want to change and type a new one.
  3. On the File menu, click Save table name.

How do I change Excel columns to alphabetical order?

Sort data in a table

  1. Select a cell within the data.
  2. Select Home > Sort & Filter. Or, select Data > Sort.
  3. Select an option: Sort A to Z – sorts the selected column in an ascending order. Sort Z to A – sorts the selected column in a descending order.

What is a column header?

In Excel and other spreadsheet applications, the column header is the colored row of letters used to identify each columnwithin the sheet, or workbook. The column header row is located above the row one.

What is an Xlookup in Excel?

Use the XLOOKUP function to find things in a table or range by row.With XLOOKUP, you can look in one column for a search term, and return a result from the same row in another column, regardless of which side the return column is on.

How do I get column names from column numbers in Excel?

Slightly manual but less VBA and a simpler formula:

  1. In a row of Excel, e.g. cell A1, enter the column number =column()
  2. In the row below, enter =Address(1,A1)
  3. This will provide the result $A$1.

How do you modify a column?

To change the data type of a column in a table, use the following syntax:

  1. SQL Server / MS Access: ALTER TABLE table_name. ALTER COLUMN column_name datatype;
  2. My SQL / Oracle (prior version 10G): ALTER TABLE table_name. MODIFY COLUMN column_name datatype;
  3. Oracle 10G and later: ALTER TABLE table_name.

How do I rename a column in R?

To rename a column in R you can use the rename() function from dplyr. For example, if you want to rename the column “A” to “B”, again, you can run the following code: rename(dataframe, B = A).

How do I rename multiple columns in postgresql?

In this statement:

  1. First, specify the name of the table that contains the column which you want to rename after the ALTER TABLE clause.
  2. Second, provide name of the column that you want to rename after the RENAME COLUMN keywords.
  3. Third, specify the new name for the column after the TO keyword.

How do you change a column name in a data frame?

You can rename the columns using two methods.

  1. Using dataframe.columns=[#list] df.columns=[‘a’,’b’,’c’,’d’,’e’]
  2. Another method is the Pandas rename() method which is used to rename any index, column or row df = df.rename(columns={‘$a’:’a’})

How do you name columns in a data frame?

Method #1: Using rename() function. One way of renaming the columns in a Pandas dataframe is by using the rename() function. This method is quite useful when we need to rename some selected columns because we need to specify information only for the columns which are to be renamed. Rename a single column.

How do I rename a column in PostgreSQL?

The syntax to rename a column in a table in PostgreSQL (using the ALTER TABLE statement) is: ALTER TABLE table_name RENAME COLUMN old_name TO new_name; table_name. The name of the table to modify.

Can you change the column letters in Excel?

In general, you cannot change the column letters. They are part of the Excel system. You can use a row in the sheet to enter headers for a table that you are using. The table headers can be descriptive column names.

How do you alphabetize names in Excel?

To alphabetize in Excel using Sort, select the data, go to the Data Ribbon, click Sort, then select the column you want to alphabetize by. Select the data you want to alphabetize with your cursor. You can select just one column, or multiple columns if you want to include other information.

Can I change the letters in Excel?

Note: You cannot change the default font for an entire workbook in Excel for the web, but you can change the font style and size for a worksheet. Select the cell or cell range that has the text or number you want to format. Click the arrow next to Font and pick another font.

Go to the “Insert” tab on the Excel toolbar, and then click the “Header & Footer” button in the Text group to start the process of adding a header. Excel changes the document view to a Page Layout view. Click on the top of your document where it says “Click to Add Header,” and then type the header for your document.

Содержание

  1. Rename a column (Power Query)
  2. How to change the name of the column headers in Excel
  3. How to Name Columns in Excel for Office 365
  4. How to Title Columns in Excel
  5. How to Rename a Column in Excel (Guide with Pictures)
  6. Step 1: Open the Excel file containing the column you wish to rename.
  7. Step 2: Click the column letter above the spreadsheet.
  8. Step 3: Click inside the Name field that is above the row numbers and to the left of the formula bar.
  9. Step 4: Delete the current column name.
  10. Step 5: Type the new name, then press Enter on your keyboard.
  11. How to Change a Column Header in the Name Box Dropdown List in Microsoft Excel
  12. More Information on How to Name Columns in Excel
  13. Frequently Asked Questions About How to Name a Column in Excel
  14. Are headers and column names the same thing in Excel?
  15. Where is the Excel formula bar?
  16. How do I delete a column in Microsoft Excel?
  17. Renaming Columns A, B, C, D, E, etc. in Excel?
  18. Lee H.
  19. Advertisements
  20. Dave Peterson
  21. ShaneDevenshire
  22. Crenz
  23. Renaming columns in excel
  24. Inspirations and the Thinking Process:
  25. Solution
  26. First thing first. Load the tables to Power Query.
  27. Get the column names of TableA
  28. Get the “New” Column Name by Merging Query
  29. Convert the two columns into a list of list (with two values)
  30. Rename Column Names dynamically
  31. Testing the result
  32. Application – Append tables with different column names

Rename a column (Power Query)

You can rename a column header to make it more clear. You can only rename one column at a time.

Note To prevent a column name conflict from other commands that create column, Power Query disambiguates by creating a unique name. In these cases, you often want to rename them. But table column names must be unique for all columns. Renaming a column to a column name that already exists creates an error.

To open a query, locate one previously loaded from the Power Query Editor, select a cell in the data, and then select Query > Edit. For more information see Create, load, or edit a query in Excel.

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

Enter the new name.

Renaming a column header in Power Query doesn’t rename the original data source column header. Avoid renaming the column header in the data source because it can cause query errors. But it’s possible someone else could change the column header in an imported external data source. If this happens, you can receive the error:

“The column ‘ ‘ of the table wasn’t found.”

To correct the query error, select Go To Error in the yellow message box, and correct the formula in the formula bar. But proceed carefully. Whenever you change a previous step under Applied Steps in the Query Settings pane, subsequent steps might also be affected. To confirm your fix, refresh the data by selecting Home > Refresh Preview > Refresh Preview.

Источник

How to change the name of the column headers in Excel

In Microsoft Excel, the column headers are named A, B, C, and so on by default. Some users want to change the names of the column headers to something more meaningful. Unfortunately, Excel does not allow the header names to be changed.

The same applies to row names in Excel. You cannot change the row names, or numbering, but you can add your desired row names in column A for the corresponding rows.

Instead, if you want to have meaningful column header names, you can do the following.

  1. Click in the first row of the worksheet and insert a new row above that first row.
  • How to add or remove a cell, column, or row in Excel.
  1. In the inserted row, enter the preferred name for each column.
  2. To make the row of column names more noticeable, you could increase the text size, make the text bold, or add background color to the cells in that row.

After inserting the new row and adding column header names, if you want to hide the default column header names, follow the steps below to hide column and row headers.

  1. In Microsoft Excel, click the File tab or the Office button in the upper-left corner.
  2. In the left navigation pane, click Options.
  3. In the Excel Options window, click the Advanced option in the left navigation pane.
  4. Scroll down to the Display options for this worksheet section. Uncheck the box for Show row and column headers.

The column and row headers are now hidden. To display them again, re-check the box in step 4 above.

Источник

How to Name Columns in Excel for Office 365

posted on October 13, 2022

While many people will use a header row in their spreadsheets to identify the information that is contained within a column, that might not be useful for what you need to do.

Another option that you have involves learning how to name a column in Excel.

This gives you some additional flexibility with cell references and formulas, which may be more optimal for the way that you use Excel.

Our tutorial below will show you how to name columns in Excel so that you can start taking advantage of the additional features this enables.

How to Title Columns in Excel

  1. Open your spreadsheet.
  2. Click the column letter to rename.
  3. Click in the Name field next to the formula bar.
  4. Delete the current name.
  5. Enter the new name, then press Enter.

Our article continues below with additional information on naming columns in Excel for office 365, including pictures of these steps.

When you need to reference a specific cell in Microsoft Excel it is common for you to use row numbers and column letters. These are shown at the left side and top of the spreadsheet, respectively, and provide an easy way to locate cells for formulas.

But you may be looking for a way to create custom column names in Excel if you don’t want to use the default column headings.

This can be useful when you are working with a lot of similar data and are running into problems with properly identifying columns. It can also be a useful way to may writing formulas easier because you can just enter your custom name into the formula rather than going back to see which column contains which data.

Fortunately, it is possible for you to give a column a name in Excel if you would like to be able to reference the column by that name rather than the standard column letters.

How to Rename a Column in Excel (Guide with Pictures)

the steps in this article were performed in the desktop version of the Microsoft Excel for Office 365 application. However, these steps will also work in most other versions of Excel.

These steps will show you how to label columns in Excel.

Step 1: Open the Excel file containing the column you wish to rename.

Open your spreadsheet.

Step 2: Click the column letter above the spreadsheet.

Choose the letter of the column to name.

Step 3: Click inside the Name field that is above the row numbers and to the left of the formula bar.

Select the Name field.

It is at the upper left corner of the Excel worksheet, above the row numbers and to the left of the column letters.

Step 4: Delete the current column name.

Remove the existing column name.

Step 5: Type the new name, then press Enter on your keyboard.

Input the new column name and press Enter.

Now that you know how to name a column in Excel you can take advantage of this when you are working on spreadsheets that need column names.

The next section discusses editing a column header in Excel.

How to Change a Column Header in the Name Box Dropdown List in Microsoft Excel

The steps above walk you through the process of how you create names for single columns in an Excel spreadsheet. Once you have elected to give a new, custom name rather than the default Excel names for some of your columns, then those custom names are going to appear in a dropdown list within the Name field.

You can quickly select a column and choose to rename one of these column headers by simply clicking inside that Name field and choosing the column name. That will select that column. You can then click inside the Name field again, delete the current name, enter a new name, then press Enter.

Our guide continues below with more information, such as what to do if you are seeing an error when trying to name columns in Excel.

More Information on How to Name Columns in Excel

If the row numbers and columns aren’t visible in Microsoft Excel then they have probably been hidden. You can display them by selecting the View tab at the top of the window, then checking the box next to Headings in the Show group of the ribbon.

If you are having trouble giving your column a name, then it may be because you are attempting to include a space. In my example above I am giving my column the name “LastName” but I would get an error if I tried to give it a name of “Last Name.”

Once a column is renamed you can do stuff like =SUM(LastName) to quickly add all of the values in that column.

One helpful thing that you can do when you have renamed columns in Excel is to quickly select an entire column by its name. if you click the arrow in the Name field you will see a dropdown list with all of your custom column names. If you select one of those names it will automatically highlight that entire column.

These column names are a little different than creating titles in the first row of each column. Traditionally that is used as a simple way to identify what type of data is in a column. It also makes it very easy to use the “Print Titles” button on the Page Layout tab so that you can repeat the top row of your spreadsheet on every page.

it is possible for you to use the first row as a title row in Microsoft Excel while still creating custom column names using the steps outlined in the tutorial above.

One additional similar action you can take is to create an Excel named range that consists of a few cells. You can use your mouse to select the cells to include in that range, then click inside the Name field, delete the current name, enter the new one, then press Enter on the keyboard. When you start creating more and more named ranges in your spreadsheet you can really make selections quickly by clicking the Name Manager to cycle through all of your defined names group values.

Frequently Asked Questions About How to Name a Column in Excel

Are headers and column names the same thing in Excel?

No, these are two different things.

A header in Excel is the first row of the spreadsheet, where you can enter a word or phrase that describes the information that will appear in cells in that column.

A name is something that you apply with the special “Name” field to the left of the column letters.

An Excel header and name can have the same values, but they serve different purposes.

Often row headers will be sufficient for an Excel sheet.

Where is the Excel formula bar?

you can find the formula bar in your Excel spreadsheet above the column letters.

It is possible to hide the formula bar, however, you can also go to the View tab, then make sure that the Formula Bar option in the Show group is checked.

How do I delete a column in Microsoft Excel?

If you have a column in your Excel document that you don’t need anymore, then you are able to remove it.

You can do this by right-clicking on the column letter, then choosing the Delete option.

You can also use this option to delete multiple columns.

Simply hold down the Ctrl key on your keyboard, then click each column letter that you want to remove.

Once all of the columns are selected you can right-click on one of them and choose the Delete option.

Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.

Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.

Источник

Renaming Columns A, B, C, D, E, etc. in Excel?

Lee H.

How can a user rename Column «A» to say «Last Name,» rename Column «B» to say
«First Name,» Column «C» to say «Address 1,» etc?

This would allow the data to start on row #1 for automatic renumbering when
new rows are added, rather than having to put the column names on row 1,
causing the data to start on row 2.

Advertisements

Dave Peterson

You can show letters or numbers as the column headers—or hide them. But you
can’t rename them.

ShaneDevenshire

You can «sort of» do this 2007:

1. Select the range and choose Home, Format as Table and pick a style
2. As you scroll down the screen the column letters will be replaced with
the titles in the table when you reach the limit of viewing the titles.

Crenz

Thank you very much Shane! So simple, yet so elegant!

I had seen this done in a spreadsheet and wondered how it was done. Searched the net extensively with several different keyword patterns, didn’t find what I was looking for. until I stumbled upon your response. This is the only response I have seen so far and it is perfect.

Thanks once again.

Cren

You can «sort of» do this 2007:

1. Select the range and choose Home, Format as Table and pick a style
2. As you scroll down the screen the column letters will be replaced with
the titles in the table when you reach the limit of viewing the titles.


Thanks,
Shane Devenshire

«Lee H.» wrote:

> How can a user rename Column «A» to say «Last Name,» rename Column «B» to say
> «First Name,» Column «C» to say «Address 1,» etc?
>
> This would allow the data to start on row #1 for automatic renumbering when
> new rows are added, rather than having to put the column names on row 1,
> causing the data to start on row 2.

Источник

Renaming columns in excel

We have many different tables to be appended. It should be a simple task with Power Query. You may refer to my blogpost here for the basic of appending tables with Power Query. Nevertheless, life could be challenging in workplace. What if the tables do not have consistent column names? We need to convert all the column names into common names before appending tables. Are we going to read and rename all column names table by table, manually? Of course not! And this is exactly the reason for this post! 😉

Inspirations and the Thinking Process:

Before jumping to the solution, I would like to share with you the inspirations and the thinking process behind the scene.

Indeed, I came across this topic from a video by Leila Gharani. In the video she demonstrated how to solve the problem in a very elegant (and advanced) way with M code using the function List.Accumulate. You can see the formula she used in the following screenshot.

To be perfectly honest, it is out of my comprehension. I watched the video a couple of times. I kind of understand it while she explained along but I knew I could not write that formula by myself. It’s still a long way for me to do so. 😅

I love Power Query because it empowers non-programmer like me to do super powerful stuffs.

So, I have been thinking for quite a long time: Can I solve the problem

  • by using mainly elements on the user interface of Power Query Editor…
  • without using advanced M code…
  • well, probably with some simple formula (basic M code)?

Then I started doing experiments (or put it in other words, trial and error). The first thing I did was to examine the code auto-generated when I renamed columns manually.

Well… it seems to be a simple line of code. The function involved is Table.RenameColumns. Then I further drilled into the description of the function which requires two parameters:

  1. table as table
  2. renames as list

umm… what does that mean?

The first parameter is simple. It’s a table. Usually it refers to previous step (but not necessary).

But what about the second parameter? A list of two values, provided in a list?

Let’s look at the auto-generated code again:

A list is enclosed by a pair of < >. The code above contains a list of list. I realized that as long as I can create a dynamic list of list (with two values) and then feed it into the second parameter of the function, I should be able to rename columns in a dynamic way, with the help of a conversion table.

A conversion table is a predefined list of (inconsistent) headers anticipated, and the corresponding list of common (consistent) headers.

I know how to convert a column into a list. That is super easy by using Convert to List on the Transform tab of Power Query Editor.

Tip: This can also be achieved by right-clicking a column header, followed by Drill Down.

However, there is no easy way to convert two columns into a list of list.

I tried many different ways without success. I was a bit frustrated. I wondered if that’s possible, Leila should have done it and demonstrated it in another video. So I gave it up. 😁

Then today I came across a video by Oz from Excel On Fire. Indeed It has nothing related to the problem we discussed above. In the video Oz showed how to split text from a column using the function Text.Split. At 2:08 in the video, after he added a custom column using Text.Split, the result showed on the screen was the light-bulb moment to me!

Did you see that? The result returns a List. Bravo! This is exactly what I need. I can’t stop myself from testing it in Excel. It works!

Solution

It’s time to show my solution. If you are still with me, I expect you have some knowledge in Power Query. Therefore the following will not be a step-by-step tutorial but the key transformation steps required.

You may download a sample file to follow along.

First thing first. Load the tables to Power Query.

Now we have TableA, i.e. the table with headers needed to be changed, based on the content in the Conversion Table.

Get the column names of TableA

To get the column names of TableA, I added a custom step by using the following formula:

The result was a List. I turned the resulting list to a Table.

Get the “New” Column Name by Merging Query

I performed a Left-Outer Merge with the Conversion Table, as shown below:

Convert the two columns into a list of list (with two values)

Here’s the tricky part that I got stuck for long, until I watched Oz’s video.

In order to create the list of list, I merged the two columns first.

Note: I chose “Comma” as the separator

Then, I split it by adding a Custom Column using the function Text.Split.

Here’s the formula used for this step:

Now I’ve got a list of two values. The next step is get create a list of list.

Right-Click the column header [Custom] ==> Drill Down

YESSS! I had just created the list of list that I have been looking for.

Then I renamed the last step from “Custom” to “NewColumnNames(just to make the next step more readable).

Rename Column Names dynamically

The final step has become easy. Do you still remember the auto-generated code for renaming columns?

What we need to do here is to add a custom step with the same formula, but substituting the second hard-coded parameter by NewColumnNames.

Can you believe it? It is done!

Testing the result

As always, we have to test the result to see if it is working as expected. Let’s change the conversion table and see what happens:

The column names updated per changes on Conversion Table!

Now let’s change the headers and see:

The result gives consistent column names!

You may also download a sample file with the queries:

Application – Append tables with different column names

With this technique, we can combine workbooks with inconsistent column headers with ease. This would be better illustrated with a video, which is under production. Stay tuned! 😉

Источник

Excel for Microsoft 365 Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 More…Less

You can rename a column header to make it more clear. You can only rename one column at a time. 

Note    To prevent a column name conflict from other commands that create column, Power Query disambiguates by creating a unique name. In these cases, you often want to rename them. But table column names must be unique for all columns. Renaming a column to a column name that already exists creates an error.

  1. To open a query, locate one previously loaded from the Power Query Editor, select a cell in the data, and then select Query > Edit. For more information see Create, load, or edit a query in Excel.

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

    Renaming a column header

  3. Enter the new name. 

Renaming a column header in Power Query doesn’t rename the original data source column header. Avoid renaming the column header in the data source because it can cause query errors. But it’s possible someone else could change the column header in an imported external data source. If this happens, you can receive the error:

“The column ‘<column name>’ of the table wasn’t found.”

To correct the query error, select Go To Error in the yellow message box, and correct the formula in the formula bar. But proceed carefully. Whenever you change a previous step under Applied Steps in the Query Settings pane, subsequent steps might also be affected. To confirm your fix, refresh the data by selecting Home > Refresh Preview > Refresh Preview.

See Also

Power Query for Excel Help

Rename columns (docs.com)

Promote a row to column headers

Add or change data types

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.


Download Article


Download Article

This wikiHow teaches you how to name columns in Microsoft Excel. You can name columns by clicking on them and typing in your label. You can also change the column headings from letters to numbers under settings, but you cannot rename them completely.

  1. Image titled Name a Column in Excel Step 1

    1

    Open Microsoft Excel on your computer. The icon is green with white lines in it. On a PC it will be pinned to your Start Menu. On a Mac, it will be located in your Applications folder.

  2. Image titled Name a Column in Excel Step 2

    2

    Start a new Excel document by clicking “Blank Workbook”. You can also open an existing Excel document if you click Open other Workbooks.

    Advertisement

  3. Image titled Name a Column in Excel Step 3

    3

    Double-click on the first box under the column you want to name.

  4. Image titled Name a Column in Excel Step 4

    4

    Type in the name that you want. The headers at the top (letters A-Z) will not change as those are Excel’s way of keeping track of information within your document. However, when you type in a name for column A1 that will become the name for the rest of the “A” column.

  5. Advertisement

  1. Image titled Name a Column in Excel Step 5

    1

    Open Microsoft Excel on your computer. The icon will be green with white lines. On a Windows PC, it will be pinned to your Start Menu. On a macOS, it will be in your Applications folder.

  2. Image titled Name a Column in Excel Step 6

    2

    Start an Excel document by clicking on “Blank Workbook”. You can also open an existing Excel document if you click Open other Workbooks.

  3. Image titled Name a Column in Excel Step 7

    3

    Click on Excel and then Preferences on a Mac.

    • On a PC click File and then Options.
  4. Image titled Name a Column in Excel Step 8

    4

    Click on General on a Mac.

    • On a PC click Formulas.
  5. Image titled Name a Column in Excel Step 9

    5

    Click the box next to “Use R1C1 Reference Style.» Press Ok if prompted. This will change the header columns from letters to numbers.

  6. Advertisement

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Thanks for submitting a tip for review!

About This Article

Article SummaryX

1. Open your Excel document.
2. Double-click on the first box under the column you want to rename.
3. Type in the name you want and press enter.

Did this summary help you?

Thanks to all authors for creating a page that has been read 44,677 times.

Is this article up to date?

While many people will use a header row in their spreadsheets to identify the information that is contained within a column, that might not be useful for what you need to do.

Another option that you have involves learning how to name a column in Excel.

This gives you some additional flexibility with cell references and formulas, which may be more optimal for the way that you use Excel.

Our tutorial below will show you how to name columns in Excel so that you can start taking advantage of the additional features this enables.

  1. Open your spreadsheet.
  2. Click the column letter to rename.
  3. Click in the Name field next to the formula bar.
  4. Delete the current name.
  5. Enter the new name, then press Enter.

Our article continues below with additional information on naming columns in Excel for office 365, including pictures of these steps.

When you need to reference a specific cell in Microsoft Excel it is common for you to use row numbers and column letters. These are shown at the left side and top of the spreadsheet, respectively, and provide an easy way to locate cells for formulas.

But you may be looking for a way to create custom column names in Excel if you don’t want to use the default column headings.

This can be useful when you are working with a lot of similar data and are running into problems with properly identifying columns. It can also be a useful way to may writing formulas easier because you can just enter your custom name into the formula rather than going back to see which column contains which data.

Fortunately, it is possible for you to give a column a name in Excel if you would like to be able to reference the column by that name rather than the standard column letters.

How to Rename a Column in Excel (Guide with Pictures)

the steps in this article were performed in the desktop version of the Microsoft Excel for Office 365 application. However, these steps will also work in most other versions of Excel.

These steps will show you how to label columns in Excel.

Step 1: Open the Excel file containing the column you wish to rename.

Open your spreadsheet.

Step 2: Click the column letter above the spreadsheet.

click the column letter

Choose the letter of the column to name.

Step 3: Click inside the Name field that is above the row numbers and to the left of the formula bar.

click in the Name field

Select the Name field.

It is at the upper left corner of the Excel worksheet, above the row numbers and to the left of the column letters.

Step 4: Delete the current column name.

Remove the existing column name.

Step 5: Type the new name, then press Enter on your keyboard.

how to rename a column in Excel

Input the new column name and press Enter.

Now that you know how to name a column in Excel you can take advantage of this when you are working on spreadsheets that need column names.

The next section discusses editing a column header in Excel.

How to Change a Column Header in the Name Box Dropdown List in Microsoft Excel

The steps above walk you through the process of how you create names for single columns in an Excel spreadsheet. Once you have elected to give a new, custom name rather than the default Excel names for some of your columns, then those custom names are going to appear in a dropdown list within the Name field.

You can quickly select a column and choose to rename one of these column headers by simply clicking inside that Name field and choosing the column name. That will select that column. You can then click inside the Name field again, delete the current name, enter a new name, then press Enter.

Our guide continues below with more information, such as what to do if you are seeing an error when trying to name columns in Excel.

More Information on How to Name Columns in Excel

If the row numbers and columns aren’t visible in Microsoft Excel then they have probably been hidden. You can display them by selecting the View tab at the top of the window, then checking the box next to Headings in the Show group of the ribbon.

If you are having trouble giving your column a name, then it may be because you are attempting to include a space. In my example above I am giving my column the name “LastName” but I would get an error if I tried to give it a name of “Last Name.”

Once a column is renamed you can do stuff like =SUM(LastName) to quickly add all of the values in that column.

One helpful thing that you can do when you have renamed columns in Excel is to quickly select an entire column by its name. if you click the arrow in the Name field you will see a dropdown list with all of your custom column names. If you select one of those names it will automatically highlight that entire column.

These column names are a little different than creating titles in the first row of each column. Traditionally that is used as a simple way to identify what type of data is in a column. It also makes it very easy to use the “Print Titles” button on the Page Layout tab so that you can repeat the top row of your spreadsheet on every page.

it is possible for you to use the first row as a title row in Microsoft Excel while still creating custom column names using the steps outlined in the tutorial above.

One additional similar action you can take is to create an Excel named range that consists of a few cells. You can use your mouse to select the cells to include in that range, then click inside the Name field, delete the current name, enter the new one, then press Enter on the keyboard. When you start creating more and more named ranges in your spreadsheet you can really make selections quickly by clicking the Name Manager to cycle through all of your defined names group values.

Frequently Asked Questions About How to Name a Column in Excel

Are headers and column names the same thing in Excel?

No, these are two different things.

A header in Excel is the first row of the spreadsheet, where you can enter a word or phrase that describes the information that will appear in cells in that column.

A name is something that you apply with the special “Name” field to the left of the column letters.

An Excel header and name can have the same values, but they serve different purposes.

Often row headers will be sufficient for an Excel sheet.

Where is the Excel formula bar?

you can find the formula bar in your Excel spreadsheet above the column letters.

It is possible to hide the formula bar, however, you can also go to the View tab, then make sure that the Formula Bar option in the Show group is checked.

How do I delete a column in Microsoft Excel?

If you have a column in your Excel document that you don’t need anymore, then you are able to remove it.

You can do this by right-clicking on the column letter, then choosing the Delete option.

You can also use this option to delete multiple columns.

Simply hold down the Ctrl key on your keyboard, then click each column letter that you want to remove.

Once all of the columns are selected you can right-click on one of them and choose the Delete option.

Matthew Burleigh

Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.

Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.

The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.

You can read his full bio here.

Понравилась статья? Поделить с друзьями:
  • Rename file with excel
  • Rename column pandas excel
  • Rename cells in excel
  • Renaissance is the french word for
  • Removing watermarks from word