Rename a Column from "A" to "DepartmentName"

sjay1234

New Member
Joined
Jul 8, 2020
Messages
4
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I need to change my column names so that they are changed from "A", "B", "C" etc to "DepartmentName", "Email", "Phone"..

i have seen a youtube video but when i follow this, it does NOT work in Excel 2019.

Can anyone help as i need to do this and "Protect" the column names so that they cannot be changed.

thanks in advance!

Regards,
Samantha Kidd
 
or if you don't want a helper table (Table2) in the sheet you can use Table.FromRecords in new Query:
Rich (BB code):
// TFR
Table.FromRecords({[A = "Department", B = "Email", C = "Phone"]})
then
Rich (BB code):
let
    Source = Table.Combine({TFR, Table1}),
    #"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true])
in
    #"Promoted Headers"
header2header.png
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,786
Messages
6,174,547
Members
452,571
Latest member
MarExcelTips

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top