There are several ways to create a header row in Excel, depending on your specific needs. You can freeze a row so it remains visible on the screen even when you scroll down. If you'd like the header to appear across multiple pages, you can set up rows and columns to print on each page. If your data is organized in a table format, you can use the header to filter the data.
Steps
Freeze a Row or Column to Keep It Visible

Click on the View tab. If you'd like a row of data to remain visible even as you scroll down, you can choose to freeze that row.
- You can also set it to print on every page, which is particularly helpful when dealing with spreadsheets that span multiple pages. Read the next section for more details.

Select the area inside the row or column you want to freeze. You can set Excel to freeze a specific row or column so it remains visible at all times. First, click on a cell in the corner of the area you'd like to unlock.
- For example, if you want to freeze the top row and first column, select cell B2. The entire left column and top row will be frozen.

Click on the "Freeze Panes" button and select "Freeze Panes." This action will lock the row above the selected cell and the column to the left of it. For instance, if you choose cell B2, the top row and the first column will be frozen on the screen.

Add emphasis to the header row (optional). To create a visual contrast for this row, you can center the text, bold it, add a background color, or draw a border below this cell. This helps draw the reader's attention to the header row when they view the data in the table.
Print the header row on multiple spreadsheet pages

Click on the Page Layout tab. If you need to print a multi-page spreadsheet, you can set one or more rows to print at the top of each page.

Click on the "Print Titles" button. You can find this button in the Page Setup section.

Select the Print Area, which is the range containing your data. Click on the button next to the Print Area field and drag to highlight the entire data range you want to print. Avoid selecting the header rows or columns.

Click on the button next to "Rows to repeat at top". This button allows you to choose one or more rows to be repeated as the header on every page.

Choose the row that you want to use as the header. This row will appear at the top of each printed page. This method is especially useful when working with spreadsheets that span multiple pages.

Click on the button next to "Columns to repeat at left". This feature lets you select one or more columns that will appear on every page. These columns function like the rows selected above, repeating on each printed page.

Set up a header or footer (optional). Click on "Header/Footer" and add a header and/or footer to the document you want to print. You can place the company name or document title at the top, and insert page numbers at the bottom. This also helps organize the pages for the reader.

Print the spreadsheet. You can now send the spreadsheet to the printer. Excel will print the data with the header and columns set to repeat, as configured in the Print Titles window.
Create a header in the table

Select the data you want to convert into a table. Once the data is converted into a table, it becomes easier to manage. One of the table features is the ability to set column headers. Note that these headers are different from the spreadsheet's header row or the printed header.

Click on the Insert tab and then click on the "Table" button. Confirm that your selection is correct.

Check the box labeled "My table has headers" and click "OK." The program will create a table from the selected data, and the first row you selected will automatically be treated as the header row.
- If you don't select "My table has headers," the header row will use default names. You can edit these names by clicking on the cells.

Enable or disable the header. Click on the Design tab and select or deselect the "Header Row" checkbox to turn the header on or off. You can find this option under the Table Style Options in the Design tab.
Tip
- The "Freeze Panes" command acts like a toggle. If you’ve frozen a selected area, clicking this button will unfreeze it. Clicking again will freeze a new position.
- Most common issues with Freeze Panes occur when the header row is selected instead of the row below it. If the result is not as expected, uncheck "Freeze Panes," select the row below the header, and try again.
