PDF download Download Article

The definitive guide to adding columns headers to your Excel spreadsheet

PDF download Download Article

This wikiHow will show you how to add a header row in Excel. There are several ways that you can create headers in Excel, and they all serve slightly different purposes. You can freeze a row so that it always appears on the screen, even if the reader scrolls down the page. If you want the same header to appear across multiple pages, you can set specific rows and columns to print on each page. If your data is organized into a table, you can use headers to help filter the data. If you imported a dataset using Power Query, you can change the first row into column headers.

Creating an Excel Header Row

To easily create a header row in Excel, go to "Insert" in the Edit menu, choose "Table," then choose "My table has headers." Then, put the header labels in the corresponding boxes at the top of each column. If you change any of the formatting associated with these boxes, your changes will only apply to that row.

Method 1
Method 1 of 4:

Keeping the Header Row Visible

PDF download Download Article
  1. You can set Excel to freeze your header row so it's always visible, even as you scroll.
    • If your header row is in row 1, you don't have to click any cells. Just continue to the next step.
    • If your header row is down further, such as in row 2 or 3, click a cell below the header row.
      • For example, if the row that contains your column labels is row 5, you will need to click a cell in row 6.
  2. You'll see it at the top of the window.
    Advertisement
  3. This menu is in the toolbar at the top of Excel. A list of freezing options will appear.
  4. The option you select on this menu depends on whether your header row is in row 1 or in a different row:
    • If your header row is in row 1 (the first row on your sheet), select Freeze Top Row . This ensures that the top row of your sheet remains locked into position, even as you scroll through your data.
    • If your header row is in a different row, such as row 3, select Freeze Panes . This freezes the row above the cell you selected in Step 1.
      • For example, if you selected A6 in Step 1, selecting Freeze Panes will freeze row 5, making it your header row. This row will always stay visible as you scroll through your data.
    • The Freeze Panes option works as a toggle. That is, if you already have panes frozen, clicking the option again will unfreeze your current setup. Clicking it a second time will refreeze the panes in the new position.
  5. Create a visual contrast for this row by centering the text in these cells, applying bold text, adding a background color, or drawing a border under the cells. this can help the reader take notice of the header when reading the data on the sheet.
  6. Advertisement
Method 2
Method 2 of 4:

Printing a Header Row Across Multiple Pages

PDF download Download Article
  1. If you have a large worksheet that spans multiple pages that you need to print, you can set a row or rows to print at the top of every page.
  2. You'll find this in the Page Setup section.
  3. Click the button next to the Print Area field and then drag the selection over the data you want to print. Don't include the column headers or row labels in this selection.
  4. This will allow you to select the row(s) that you want to treat as the constant header.
  5. The rows that you select will appear at the top of every printed page. This is great for keeping large spreadsheets readable across multiple pages.
  6. This will allow you to select columns that you want to keep constant on each page. These columns will act like the rows you selected in the previous step, and will appear on every printed page.
  7. You can include the company title or document title at the top, and insert page numbers at the bottom. This will help the reader get the pages organized. To set the header and footer:
    • Click the Header/Footer tab
    • Click the Header or Footer drop down menus to select a preset header.
    • Alternatively, click Custom Header or Custom Footer to create your own.
  8. . You can send the spreadsheet to print now, and Excel will print the data that you set with the constant header and columns you chose in the Print Titles window.
    • Click Print to start the printing process.
    • Check the print preview in the preview section.
    • Click Print (the printer icon) to print the spreadsheet.
  9. Advertisement
Method 3
Method 3 of 4:

Creating a Header in a Table

PDF download Download Article
  1. When you convert your data to a table, you can use the table to manipulate the data. One of the features of a table is the ability to set headers for the columns. Note that these are not the same as worksheet column headings or printed headers.
  2. Confirm that your selection is correct.
  3. This will create a table from the selected data. The first row of your selection will automatically be converted into column headers.
    • If you don't select "My table has headers," a header row will be created using default names. You can edit these names by selecting the cell.
  4. This will show or hide the header. It won’t delete the header information, so you can turn it on and off as needed. [1]
    • Click the Design tab
    • Check or uncheck the "Header Row" box to toggle the header row on and off. You can find this option in the Table Style Options section of the Design tab.
    • Note that turning the header off will also remove any applied filters from the table.
  5. Advertisement
Method 4
Method 4 of 4:

Add and Rename Headers in Power Query

PDF download Download Article
  1. This will cause the “Table Design” and “Query” tabs to appear at the top of Excel. This method is used to add row headers to the dataset you imported using Get & Transform (Power Query). You’ll also be able to rename existing headers using this method. [2]
    • Note that this method requires the first row of your dataset to contain column header names.
  2. This is the rightmost tab at the top of Excel.
  3. This is the icon with a spreadsheet and pencil. The Power Query Editor window will open.
  4. This is a tab at the top of the Power Query Editor.
  5. To do so:
    • Click Use First Row as Headers .
    • Select Use First Row as Headers in the drop down menu. This will make row 1 into the headers for the table.
  6. In the Power Query Editor, you can rename the column headers using these steps:
    • Double-click the column header name.
    • Type in a new name for the header.
    • Press Enter to confirm the name.
  7. This will reload the imported table with the changes you made in the editor.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I get my headers to change the dates and days automatically?
    Community Answer
    Use the function @Today. You'll find it near the top under the choice "Functions".
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      1. Click the View tab.
      2. Select the corner cell under the header row.
      3. Click Freeze Panes .
      4. Apply formatting to the header row.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 1,118,318 times.

      Reader Success Stories

      • Antoine Hajjar

        Aug 14, 2016

        "It was a good and fast help, backed up with pictures. I liked that. I needed to know about lines as header. Thank ..." more
      Share your story

      Is this article up to date?

      Advertisement