Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the column label? e.g.: change column "A" to column "Name"

Tags:

excel

Can anyone tell me how to change the column label?

For example, I want to change Column "A" to Column "Name" in Excel.

like image 297
Vishal Pandey Avatar asked Jan 14 '14 07:01

Vishal Pandey


People also ask

How do you change a column label?

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

How do you rename a column label in Excel?

Click the letter of the column you want to change and then the "Formulas" or "General" on your computer. Select "Define Name" under the Defined Names group in the Ribbon to open the New Name window. Enter your new column name in the text box.

How do you change a column name in R?

Rename Column using colnames() colnames() is the method available in R base which is used to rename columns/variables present in the data frame. By using this you can rename a column by index and name. Alternatively, you can also use name() method.


1 Answers

What version of 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.

In Excel 2007 and later, you can convert a range of data into an Excel Table (Insert Ribbon > Table). An Excel Table can use structured table references instead of cell addresses, so the labels in the first row of the table now serve as a name reference for the data in the column.

If you have an Excel Table in your sheet (Excel 2007 and later) and scroll down, the column letters will be replaced with the column headers for the table column.

enter image description here

If this does not answer your question, please consider editing your question to include the detail you want to learn about.

like image 181
teylyn Avatar answered Sep 30 '22 19:09

teylyn