Page Layout

In Excel page layout is useful for printing Excel spreadsheets correctly. With page layout view Excel lets you preview what you print.

Introduction

Video: Page Layout

Launch "Page Layout" video!Watch the video (4:02).

Many of the commands you'll use to prepare your workbook for printing and PDF export can be found on the Page Layout tab. These commands let you control the way your content will appear on a printed page, including the page orientation and margin size. Other page layout options, such as print titles and page breaks, can help make your workbook easier to read.

Optional: Download our practice workbook.

Page Layout view

Before you start modifying a workbook's page layout, you may want to view the workbook in Page Layout view, which can help you visualize your changes.

Page orientation

Excel offers two page orientation options: landscape and portrait. Landscape orients the page horizontally, while portrait orients the page vertically. Portrait is especially helpful for worksheets with a lot of rows, while landscape is best for worksheets with a lot of columns. In the example below, portrait orientation works best because the worksheet includes more rows than columns.

Screenshot of Excel 2013Portrait and Landscape orientation

To change page orientation:

  1. Click the Page Layout tab on the Ribbon.
  2. Select the Orientation command, then choose either Portrait or Landscape from the drop-down menu.


    Screenshot of Excel 2013Choosing a page orientation
  3. The page orientation of the workbook will be changed.

To format page margins:

A margin is the space between your content and the edge of the page. By default, every workbook's margins are set to Normal, which is a one-inch space between the content and each edge of the page. Sometimes you may need to adjust the margins to make your data fit more comfortably on the page. Excel includes a variety of predefined margin sizes.

  1. Click the Page Layout tab on the Ribbon, then select the Margins command.
  2. Select the desired margin size from the drop-down menu. In our example, we'll select Narrow to fit more of our content on the page.


    Screenshot of Excel 2013Choosing a pre-defined margin size
  3. The margins will be changed to the selected size.

To use custom margins:

Excel also allows you to customize the size of your margins in the Page Setup dialog box.

  1. From the Page Layout tab, click Margins. Select Custom Margins... from the drop-down menu.
    Screenshot of Excel 2013Selecting Custom Margins...
  2. The Page Setup dialog box will appear.
  3. Adjust the values for each margin, then click OK.
    Screenshot of Excel 2013Setting custom page margins
  4. The margins of the workbook will be changed.

To include Print Titles:

If your worksheet uses title headings, it's important to include these headings on each page of your printed worksheet. It would be difficult to read a printed workbook if the title headings appeared only on the first page. The Print Titles command allows you to select specific rows and columns to appear on each page.

  1. Click the Page Layout tab on the Ribbon, then select the Print Titles command.
    Screenshot of Excel 2013Clicking the Print Titles command
  2. The Page Setup dialog box will appear. From here, you can choose rows or columns to repeat on each page. In our example, we'll repeat a row.
  3. Click the Collapse Dialog button next to the Rows to repeat at top: field.
    Screenshot of Excel 2013Clicking the Collapse Dialog Button
  4. The cursor will become a small selection arrow and the Page Setup dialog box will be collapsed. Select the row(s) you want to repeat at the top of each printed page. In our example, we'll select row 1.
    Screenshot of Excel 2013Selecting row 1
  5. Row 1 will be added to the Rows to repeat at top: field. Click the Collapse Dialog button again.
    Screenshot of Excel 2013Clicking the Collapse Dialog button
  6. The Page Setup dialog box will expand. Click OK. Row 1 will be printed at the top of every page.
    Screenshot of Excel 2013Clicking OK

To insert a page break:

If you need to print different parts of your workbook across separate pages, you can insert a page break. There are two types of page breaks: vertical and horizontal. Vertical page breaks separate columns, while horizontal page breaks separate rows. In our example, we'll insert a horizontal page break.

  1. Locate and select the Page Break view command. The worksheet will appear in Page Break view.


    Screenshot of Excel 2013Selecting Page Break View
  2. Select the row below where you want the page break to appear. For example, if you want to insert a page break between rows 28 and 29, select row 29.
    Screenshot of Excel 2013Selecting a row
  3. Click the Page Layout tab on the Ribbon, select the Breaks command, then click Insert Page Break.
    Screenshot of Excel 2013Inserting a page break
  4. The page break will be inserted, represented by a dark blue line.


    Screenshot of Excel 2013The inserted page break

When viewing your workbook in Normal view, inserted page breaks are represented by a solid gray line, while automatic page breaks are represented by a dashed line.

Screenshot of Excel 2013Viewing inserted and automatic page breaks in Normal view

To insert headers and footers:

You can make your workbook easier to read and look more professional by including headers and footers. The header is a section of the workbook that appears in the top margin, while the footer appears in the bottom margin. Headers and footers generally contain information such as page number, date, and workbook name.

  1. Locate and select the Page Layout view command at the bottom of the Excel window. The worksheet will appear in Page Layout view.
    Screenshot of Excel 2013Selecting Page Layout View
  2. Select the header or footer you want to modify. In our example, we'll modify the footer at the bottom of the page.
    Screenshot of Excel 2013Selecting a footer to modify
  3. The Header & Footer Tools tab will appear on the Ribbon. From here, you can access commands that will automatically include page numbers, dates, and workbook names. In our example, we'll add page numbers.
    Screenshot of Excel 2013Adding page numbers from the Header & Footer Tools tab
  4. The footer will change to include page numbers automatically.
    Screenshot of Excel 2013The newly added footer

Excel uses the same tools as Microsoft Word to modify headers and footers. Check out our lesson on Headers, Footers, and Page Numbers from our Word 2013 tutorial to learn more.

Challenge!

  1. Open an existing Excel workbook. If you want, you can use our practice workbook.
  2. Change the page orientation to landscape.
  3. Try modifying the margins of a worksheet.
  4. Try using the Print Titles command to include a row or column on each page of your workbook. If you are using the example, use the Print Titles command to make row 1 of the Schedule worksheet appear at the top of every page.
  5. Insert a page break. If you are using the example, insert a page break between rows 19 and 20 on the Schedule worksheet.
  6. Navigate to Page Layout view and insert a header or footer.