Line in header excel

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

You can add headers or footers at the top or bottom of a printed worksheet in Excel. For example, you might create a footer that has page numbers, the date, and the name of your file. You can create your own, or use many built-in headers and footers.

Headers and footers are displayed only in Page Layout view, Print Preview, and on printed pages. You can also use the Page Setup dialog box if you want to insert headers or footers for more than one worksheet at a time. For other sheet types, such as chart sheets, or charts, you can insert headers and footers only by using the Page Setup dialog box.

Add or change headers or footers in Page Layout view

  1. Click the worksheet where you want to add or change headers or footers.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the worksheet in Page Layout view.

  3. To add or edit a header or footer, click the left, center, or right header or footer text box at the top or the bottom of the worksheet page (under Header, or above Footer).

  4. Type the new header or footer text.

    Notes: 

    • To start a new line in a header or footer text box, press Enter.

    • To include a single ampersand (&) in the text of a header or footer, use two ampersands. For example, to include «Subcontractors & Services» in a header, type Subcontractors && Services.

    • To close headers or footers, click anywhere in the worksheet. To close headers or footers without keeping the changes that you made, press Esc.

  1. Click the worksheet or worksheets, chart sheet, or chart where you want to add or change headers or footers.

    Tip: You can select multiple worksheets with Ctrl+Left-click. When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets.

  2. On the Page Layout tab, in the Page Setup group, click the Dialog Box Launcher Button image.

    Excel displays the Page Setup dialog box.

  3. On the Header/Footer tab, click Custom Header or Custom Footer.

  4. Click in the Left, Center, or Right section box, and then click any of the buttons to add the header or footer information that you want in that section.

    Page Setup Custom Header dialog

  5. To add or change the header or footer text, type additional text or edit the existing text in the Left, Center, or Right section box.

    Notes: 

    • To start a new line in a header or footer text box, press Enter.

    • To include a single ampersand (&) in the text of a header or footer, use two ampersands. For example, to include «Subcontractors & Services» in a header, type Subcontractors && Services.

Excel has many built-in text headers and footers that you can use. For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts you need to go through the Page Setup dialog.

  1. Click the worksheet where you want to add or change a built-in header or footer.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the worksheet in Page Layout view.

  3. Click the left, center, or right header or the footer text box at the top or the bottom of the worksheet page.

    Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

  4. On the Design tab, in the Header & Footer group, click Header or Footer, and then click the built-in header or footer that you want.

    Built-in Header & Footer options

Instead of picking a built-in header or footer, you can choose a built-in element. Many elements (such as Page Number, File Name, and Current Date) are found on the ribbon. For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts, you can work with headers and footers in the Page Setup dialog.

  1. Click the worksheet to which you want to add specific header or footer elements.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the worksheet in Page Layout view.

  3. Click the left, center, or right header or footer text box at the top or the bottom of the worksheet page.

    Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

  4. On the Design tab, in the Header & Footer Elements group, click the elements that you want.

    Headers & Footers Design Ribbon tab

  1. Click the chart sheet or chart where you want to add or change a header or footer element.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the Page Setup dialog box.

  3. Click Custom Header or Custom Footer.

    Page Setup Custom Header dialog

  4. Use the buttons in the Header or Footer dialog box to insert specific header and footer elements.

    Tip: When you rest the mouse pointer on a button, a ScreenTip displays the name of the element that the button inserts.

For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts, you can work with headers and footers in the Page Setup dialog.

  1. Click the worksheet where you want to choose header and footer options.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the worksheet in Page Layout view.

  3. Click the left, center, or right header or footer text box at the top or the bottom of the worksheet page.

    Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

  4. On the Design tab, in the Options group, check one or more of the following:

    Header and Footer options in the Design tab on the ribbon

    • To remove headers and footers from the first printed page, select the Different First Page check box.

    • To specify that the headers and footers on odd-numbered pages should differ from those on even-numbered pages, select the Different Odd & Even Pages check box.

    • To specify whether the headers and footers should use the same font size and scaling as the worksheet, select the Scale with Document check box.

      To make the font size and scaling of the headers or footers independent of the worksheet scaling, which helps create a consistent display across multiple pages, clear this check box.

    • To make sure the header or footer margin is aligned with the left and right margins of the worksheet, select the Align with Page Margins check box.

      To set the left and right margins of the headers and footers to a specific value that is independent of the left and right margins of the worksheet, clear this check box.

  1. Click the chart sheet or chart where you want to choose header or footer options.

  2. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the Page Setup dialog box.

  3. Select one or more of the following:

    Header and footer options in the Page Setup dialog

    • To remove headers and footers from the first printed page, select the Different first page check box.

    • To specify that the headers and footers on odd-numbered pages should differ from those on even-numbered pages, select the Different odd & even pages check box.

    • To specify whether the headers and footers should use the same font size and scaling as the worksheet, select the Scale with document check box.

      To make the font size and scaling of the headers or footers independent of the worksheet scaling, which helps create a consistent display across multiple pages, clear the Scale with Document check box.

    • To guarantee that the header or footer margin is aligned with the left and right margins of the worksheet, select the Align with page margins check box.

      Tip: To set the left and right margins of the headers and footers to a specific value that is independent of the left and right margins of the worksheet, clear this check box.

To close the header and footer, you must switch from Page Layout view to Normal view.

  • On the View tab, in the Workbook Views group, click Normal.

    On the View tab, click Normal

    You can also click Normal on the status bar.

  1. On the Insert tab, in the Text group, click Header & Footer.

    Header & Footer option on the Insert tab

    Excel displays the worksheet in Page Layout view.

  2. Click the left, center, or right header or the footer text box at the top or the bottom of the worksheet page.

    Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

  3. Press Delete or Backspace.

    Note: If you want to delete headers and footers for several worksheets at once, select the worksheets, and then open the Page Setup dialog box. To delete all headers and footers instantly, on the Header/Footer tab, select (none) in the Header or Footer box.

Top of Page

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

See Also

Printing in Excel

Page Setup in Excel

Need more help?


We would like to add a horizontal line to the header of an Excel file to be repeated on every page.

To add a horizontal-line we first need to create an image of a horizontal line in your favorite imaging software.

Create a PNG image 660 by 3 pixels and color it in some shade of gray.  Save the image with an appropriate meaningful name.  You will be using this file each time you need to add a line to Excel header of footer.
Now, insert this image into Excel header:

Note that &[Picture] code should be bellow any other code that you have in the header.

Now we have a nice Excel header with a horizontal line that serves as a visual separator:

The same technique applies to the Excel footer.  Here &[Picture] code should be above any other code that you have in the header:

There is one more method to place a horizontal line in Excel 2007 header, without using images.  Just with underscore symbols.  If you place this into your custom Excel header:

You will get these results bellow:

This is not bad, for a simple low-tech solution.

(Visited 7,723 times, 4 visits today)


Download Article

The definitive guide to adding columns headers to your Excel spreadsheet


Download Article

  • Keeping the Header Row Visible
  • |

  • Printing a Header Row Across Multiple Pages
  • |

  • Creating a Header in a Table
  • |

  • Add and Rename Headers in Power Query
  • |

  • Q&A
  • |

  • Tips

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.

Things You Should Know

  • Freeze a row by going to View > Freeze Panes.
  • Print a row across multiple pages using Page Layout > Print Titles.
  • Create a table with headers with Insert > Table. Select My table has headers.
  • Add headers to a Power Query table: Query > Edit > Transform > Use First Row as Headers.
  1. Image titled Add Header Row in Excel Step 1

    1

    Select a cell in the row you want to freeze. 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. Image titled Add Header Row in Excel Step 2

    2

    Click the View tab. You’ll see it at the top of the window.

    Advertisement

  3. Image titled Add Header Row in Excel Step 3

    3

    Click Freeze Panes. This menu is in the toolbar at the top of Excel. A list of freezing options will appear.

  4. Image titled Add Header Row in Excel Step 4

    4

    Select a Freeze Pane option. 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. Image titled Add Header Row in Excel Step 5

    5

    Add emphasis to your header row (optional). 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

  1. Image titled Add Header Row in Excel Step 6

    1

    Click the Page Layout tab. 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. Image titled Add Header Row in Excel Step 7

    2

    Click the Print Titles button. You’ll find this in the Page Setup section.

  3. Image titled Add Header Row in Excel Step 8

    3

    Set your Print Area to the cells containing the data. 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. Image titled Add Header Row in Excel Step 9

    4

    Click the button next to «Rows to repeat at top.» This will allow you to select the row(s) that you want to treat as the constant header.

  5. Image titled Add Header Row in Excel Step 10

    5

    Select the row(s) that you want to turn into a header. 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. Image titled Add Header Row in Excel Step 11

    6

    Click the button next to «Columns to repeat at left.» 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. Image titled Add Header Row in Excel Step 12

    7

    Set a header or footer (optional). 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. Image titled Add Header Row in Excel Step 13

    8

    Print your sheet. 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

  1. Image titled Add Header Row in Excel Step 14

    1

    Select the data that you want to turn into a table. 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.

    • For example, if you’re using Excel to track your bills, you might have headers like Date, Expense Type, and Amount.
  2. Image titled Add Header Row in Excel Step 15

    2

    Click the Insert tab and click Table. Confirm that your selection is correct.

    • If you’re looking for Pivot Table information, check out our intro guide here.
  3. Image titled Add Header Row in Excel Step 16

    3

    Check the «My table has headers» box and click OK. 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. Image titled Add Header Row in Excel Step 17

    4

    Enable or disable the header. 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

  1. Image titled Add Header Row in Excel Step 18

    1

    Select a cell in your imported data. 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. Image titled Add Header Row in Excel Step 19

    2

    Click Query. This is the rightmost tab at the top of Excel.

  3. Image titled Add Header Row in Excel Step 20

    3

    Click Edit in the Query tab. This is the icon with a spreadsheet and pencil. The Power Query Editor window will open.

  4. Image titled Add Header Row in Excel Step 21

    4

    Click Transform. This is a tab at the top of the Power Query Editor.

  5. Image titled Add Header Row in Excel Step 22

    5

    Make the first row of data the header. 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. Image titled Add Header Row in Excel Step 23

    6

    Rename the headers. 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. Image titled Add Header Row in Excel Step 24

    7

    Click Close & Load in the Home tab of the editor. This will reload the imported table with the changes you made in the editor.

  8. Advertisement

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

200 characters left

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

Submit

Advertisement

  • Most errors that occur from using the Freeze Panes option are the result of selecting the header row instead of the row just beneath it. If you receive an unintended result, remove the «Freeze Panes» option, select 1 row lower and try again.

Thanks for submitting a tip for review!

Advertisement

About This Article

Article SummaryX

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,049,311 times.

Is this article up to date?

Содержание

  1. Headers and footers in a worksheet
  2. Add or change headers or footers in Page Layout view
  3. Need more help?
  4. Turn Excel table headers on or off
  5. Show or hide the Header Row
  6. Show or hide the Header Row
  7. Show or hide the Header Row
  8. Need more help?

You can add headers or footers at the top or bottom of a printed worksheet in Excel. For example, you might create a footer that has page numbers, the date, and the name of your file. You can create your own, or use many built-in headers and footers.

Headers and footers are displayed only in Page Layout view, Print Preview, and on printed pages. You can also use the Page Setup dialog box if you want to insert headers or footers for more than one worksheet at a time. For other sheet types, such as chart sheets, or charts, you can insert headers and footers only by using the Page Setup dialog box.

Click the worksheet where you want to add or change headers or footers.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the worksheet in Page Layout view.

To add or edit a header or footer, click the left, center, or right header or footer text box at the top or the bottom of the worksheet page (under Header, or above Footer).

Type the new header or footer text.

To start a new line in a header or footer text box, press Enter.

To include a single ampersand (&) in the text of a header or footer, use two ampersands. For example, to include «Subcontractors & Services» in a header, type Subcontractors && Services.

To close headers or footers, click anywhere in the worksheet. To close headers or footers without keeping the changes that you made, press Esc.

Click the worksheet or worksheets, chart sheet, or chart where you want to add or change headers or footers.

Tip: You can select multiple worksheets with Ctrl+Left-click. When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets.

On the Page Layout tab, in the Page Setup group, click the Dialog Box Launcher .

Excel displays the Page Setup dialog box.

On the Header/Footer tab, click Custom Header or Custom Footer.

Click in the Left, Center, or Right section box, and then click any of the buttons to add the header or footer information that you want in that section.

To add or change the header or footer text, type additional text or edit the existing text in the Left, Center, or Right section box.

To start a new line in a header or footer text box, press Enter.

To include a single ampersand (&) in the text of a header or footer, use two ampersands. For example, to include «Subcontractors & Services» in a header, type Subcontractors && Services.

Excel has many built-in text headers and footers that you can use. For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts you need to go through the Page Setup dialog.

Click the worksheet where you want to add or change a built-in header or footer.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the worksheet in Page Layout view.

Click the left, center, or right header or the footer text box at the top or the bottom of the worksheet page.

Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

On the Design tab, in the Header & Footer group, click Header or Footer, and then click the built-in header or footer that you want.

Instead of picking a built-in header or footer, you can choose a built-in element. Many elements (such as Page Number, File Name, and Current Date) are found on the ribbon. For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts, you can work with headers and footers in the Page Setup dialog.

Click the worksheet to which you want to add specific header or footer elements.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the worksheet in Page Layout view.

Click the left, center, or right header or footer text box at the top or the bottom of the worksheet page.

Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

On the Design tab, in the Header & Footer Elements group, click the elements that you want.

Click the chart sheet or chart where you want to add or change a header or footer element.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the Page Setup dialog box.

Click Custom Header or Custom Footer.

Use the buttons in the Header or Footer dialog box to insert specific header and footer elements.

Tip: When you rest the mouse pointer on a button, a ScreenTip displays the name of the element that the button inserts.

For worksheets, you can work with headers and footers in Page Layout view. For chart sheets or charts, you can work with headers and footers in the Page Setup dialog.

Click the worksheet where you want to choose header and footer options.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the worksheet in Page Layout view.

Click the left, center, or right header or footer text box at the top or the bottom of the worksheet page.

Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

On the Design tab, in the Options group, check one or more of the following:

To remove headers and footers from the first printed page, select the Different First Page check box.

To specify that the headers and footers on odd-numbered pages should differ from those on even-numbered pages, select the Different Odd & Even Pages check box.

To specify whether the headers and footers should use the same font size and scaling as the worksheet, select the Scale with Document check box.

To make the font size and scaling of the headers or footers independent of the worksheet scaling, which helps create a consistent display across multiple pages, clear this check box.

To make sure the header or footer margin is aligned with the left and right margins of the worksheet, select the Align with Page Margins check box.

To set the left and right margins of the headers and footers to a specific value that is independent of the left and right margins of the worksheet, clear this check box.

Click the chart sheet or chart where you want to choose header or footer options.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the Page Setup dialog box.

Select one or more of the following:

To remove headers and footers from the first printed page, select the Different first page check box.

To specify that the headers and footers on odd-numbered pages should differ from those on even-numbered pages, select the Different odd & even pages check box.

To specify whether the headers and footers should use the same font size and scaling as the worksheet, select the Scale with document check box.

To make the font size and scaling of the headers or footers independent of the worksheet scaling, which helps create a consistent display across multiple pages, clear the Scale with Document check box.

To guarantee that the header or footer margin is aligned with the left and right margins of the worksheet, select the Align with page margins check box.

Tip: To set the left and right margins of the headers and footers to a specific value that is independent of the left and right margins of the worksheet, clear this check box.

To close the header and footer, you must switch from Page Layout view to Normal view.

On the View tab, in the Workbook Views group, click Normal.

You can also click Normal on the status bar.

On the Insert tab, in the Text group, click Header & Footer.

Excel displays the worksheet in Page Layout view.

Click the left, center, or right header or the footer text box at the top or the bottom of the worksheet page.

Tip: Clicking any text box selects the header or footer and displays the Header and Footer Tools, adding the Design tab.

Press Delete or Backspace.

Note: If you want to delete headers and footers for several worksheets at once, select the worksheets, and then open the Page Setup dialog box. To delete all headers and footers instantly, on the Header/Footer tab, select (none) in the Header or Footer box.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

When you create an Excel table, a table Header Row is automatically added as the first row of the table, but you have to option to turn it off or on.

When you first create a table, you have the option of using your own first row of data as a header row by checking the My table has headers option:

If you choose not to use your own headers, Excel will add default header names, like Column1, Column2 and so on, but you can change those at any time. Be aware that if you have a header row in your data, but choose not to use it, Excel will treat that row as data. In the following example, you would need to delete row 2 and rename the default headers, otherwise Excel will mistakenly see it as part of your data.

The screen shots in this article were taken in Excel 2016. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

The table header row should not be confused with worksheet column headings or the headers for printed pages. For more information, see Print rows with column headers on top of every page.

When you turn the header row off, AutoFilter is turned off and any applied filters are removed from the table.

When you add a new column when table headers are not displayed, the name of the new table header cannot be determined by a series fill that is based on the value of the table header that is directly adjacent to the left of the new column. This only works when table headers are displayed. Instead, a default table header is added that you can change when you display table headers.

Although it is possible to refer to table headers that are turned off in formulas, you cannot refer to them by selecting them. References in tables to a hidden table header return zero (0) values, but they remain unchanged and return the table header values when the table header is displayed again. All other worksheet references (such as A1 or RC style references) to the table header are adjusted when the table header is turned off and may cause formulas to return unexpected results.

Click anywhere in the table.

Go to Table Tools > Design on the Ribbon.

In the Table Style Options group, select the Header Row check box to hide or display the table headers.

If you rename the header rows and then turn off the header row, the original values you input will be retained if you turn the header row back on.

The screen shots in this article were taken in Excel 2016. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

The table header row should not be confused with worksheet column headings or the headers for printed pages. For more information, see Print rows with column headers on top of every page.

When you turn the header row off, AutoFilter is turned off and any applied filters are removed from the table.

When you add a new column when table headers are not displayed, the name of the new table header cannot be determined by a series fill that is based on the value of the table header that is directly adjacent to the left of the new column. This only works when table headers are displayed. Instead, a default table header is added that you can change when you display table headers.

Although it is possible to refer to table headers that are turned off in formulas, you cannot refer to them by selecting them. References in tables to a hidden table header return zero (0) values, but they remain unchanged and return the table header values when the table header is displayed again. All other worksheet references (such as A1 or RC style references) to the table header are adjusted when the table header is turned off and may cause formulas to return unexpected results.

Click anywhere in the table.

Go to the Table tab on the Ribbon.

In the Table Style Options group, select the Header Row check box to hide or display the table headers.

If you rename the header rows and then turn off the header row, the original values you input will be retained if you turn the header row back on.

Click anywhere in the table.

On the Home tab on the ribbon, click the down arrow next to Table and select Toggle Header Row.

Click the Table Design tab > Style Options > Header Row.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Microsoft Excel Logo

There are several ways to add a customized title to a spreadsheet in Microsoft Excel. Titles aren’t just for file names—you can place one right above your spreadsheet data so viewers can understand it more easily.

Adding a Header in Excel

To add a header title, click the “Insert” tab at the top left of the workbook.

Clicking "Insert" on the Excel ribbon.

Click the “Text” menu toward at the right side of the ribbon and click the “Header & Footer” option.

You’ll be zoomed out from the workbook, allowing you to see all of your data on one page. We’ll cover how to get back to the normal view in a moment.

Click anywhere within the “Header” section and type in your text.

Typing a spreadsheet header in Excel

To return to the default workbook view, click the “Normal” page layout icon at the bottom of the document.

When you return to the “Normal” workbook view, you’ll notice that your text doesn’t appear. In Excel, these headers don’t appear while you’re working in the workbook, but they will appear once it’s printed. If you’re looking for a title line that always appears, keep reading.

Adding an Always-Visible Top Row

To add an always-visible title, you can place it in the top row of your spreadsheet.

First, right-click anywhere inside cell A1 (the first cell at the top left of your spreadsheet), and choose “Insert.”

Selecting the A1 cell in Microsoft Excel

Select “Entire Row” and click “OK” to add a row of free space.

Type the title for the spreadsheet anywhere in the new row. The exact cell you choose doesn’t matter, as we’ll be merging them in just a second.

Typing a header into the A1 cell

Highlight the section of your new row that you want to center your title in. In this case, we’ll highlight from A1 to E1, centering our title within the top row.

Selecting multiple cells in Excel

Click the “Home” header in the ribbon and click “Merge & Center.” Your text should now be centered within the new row.

That’s it—you can use these techniques to quickly add headers to your Excel spreadsheets in the future.

READ NEXT

  • › How to Make a Simple Budget in Microsoft Excel
  • › How to Add and Remove Columns and Rows in Microsoft Excel
  • › The New NVIDIA GeForce RTX 4070 Is Like an RTX 3080 for $599
  • › This New Google TV Streaming Device Costs Just $20
  • › How to Adjust and Change Discord Fonts
  • › BLUETTI Slashed Hundreds off Its Best Power Stations for Easter Sale
  • › Google Chrome Is Getting Faster
  • › HoloLens Now Has Windows 11 and Incredible 3D Ink Features

How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read billions of times. Want to know more?

Понравилась статья? Поделить с друзьями:
  • Line highlight in word
  • Line height word wrap
  • Line graph on word
  • Line focus в word
  • Line dance the word