3.4 Preparing to Print

Learning Objectives

  • Locate and fix formatting consistency errors.
  • Apply new formatting techniques.
  • Use Print Titles to repeat rows and columns on each page of a multiple page worksheet.
  • Control where page breaks occur in a multiple page worksheet.

In this section, we will review a worksheet for formatting consistency, as well as learn two new formatting techniques. This worksheet currently prints on four pages, so we will learn new page setup options to control how these pages print. A new data file will be used for this section.

Reviewing Formatting for Consistency

Open the “CH3-Gradebook and Parks” workbook if it isn’t already open.

Click on the “Park Size” sheet tab within your “CH3-Gradebook and Parks” workbook  .

You have been given a spreadsheet with data about the national parks in the western United States. Your coworker formatted the workbook and has asked you to review it for consistency. You also need to prepare it for printing. Figure 3.26 shows how the second page of the finished worksheet will appear in Print Preview.

Completed National Parks worksheet with formatting errors to review and fix.
Figure 3.26 Completed National Parks worksheet

Reviewing Formatting for Inconsistencies

The first thing you are going to do is review the worksheet for formatting inconsistencies.

  1. Scroll through the worksheet and locate the following formatting errors:
    • The formatting of the Utah label does not match the other states.
    • The Year Established values for Hawaii are not center aligned like the other years.
    • The cells for the Nevada data should have the same green fill color as the other alternating states.
    • The number of digits after the decimal place for the Size values is inconsistent. Also, these values should be formatted with Comma style to make them easier to read.
  2. To fix these errors, complete the following steps:
    • Merge & Center A34:A38. Change the font size to 16 and apply Bold format.
    • Center align C28:C29.
    • Apply the green fill color to A31:E31 (be sure to match the green fill color of the other states).
    • Select E4:E43 and apply Comma Style. Use Increase Decimal and/or Decrease Decimal until one digit appears after the decimal place for all values.
  3. While you’re fixing errors, proofread the sheet and correct any typos.
  4. Finally, let’s add color to the two sheet tabs. The use of colored tabs assists in navigating between sheet tabs.
    • Right-click the “Park Size” sheet tab (Excel for Mac icon Mac users hold down Ctrl key and click the sheet tab) 
    • Point to Tab Color and choose a “blue” color.
    • Now right-click the “Grades” sheet tab, point to Tab Color and choose an “orange” color. That’s it!

Fine-tuning Formatting

Now that you have fixed the inconsistencies in the formatting, you decide to apply some formatting techniques to make the worksheet look even better. You are going to start by vertically aligning the names of the states within the cells.

  1. Select A4:A43 (the cells with the state labels).
  2. Click the Home tab on the ribbon.
  3. In the Alignment group, click the Middle Align button (see Figure 3.26). Notice that the names of the states are now centered between the top and bottom borders of the cells.
Alignment group and Middle Align button selected.
Figure 3.26 Alignment Group

The next new formatting skill is to change the label in E3 from Size (km2) to Size (km2) with the 2 after km formatted with superscript.

  1. Double-click on cell E3 to enter Edit mode
  2. Select just the 2 (be careful not to select anything else).
  3. On the ribbon (Home tab) click the dialog box launcher arrow in the Font group.
    Excel for Mac icon Mac Usersthere is no dialog box launcher for Excel for Mac. Instead, choose Format from the Menu Bar, click Cells:   then continue with Steps 4 and 5  
  4. In the Effects section of the Format Cells dialog box, check the box for Superscript (see Figure 3-27). Click OK.
  5. Save the CH3 Gradebook and Parks file.
Font tab in format cells dialog box shows Calibri (Body) Bold 16 selected, and Effect options Strikethrough, Superscript and Subscript checkboxes.
Figure 3.27 Font Tab in Format Cells Dialog Box

Repeating Column (and Row) Labels

Now that you have fixed the cell and text formatting, you are ready to review the worksheet in Print Preview. You will notice that the worksheet is printing on multiple pages, and you cannot tell what each column of data represents on some of the pages.

  1. With the CH3-Gradebook and Parks file still open, and the Parks tab selected, go to Backstage View by clicking the File tab on the ribbon. Select Print from the menu.
    Excel for Mac icon Mac Users: choose File from the Menu Bar, and then choose Print
  2. Click through each of the pages. The worksheet is currently printing on four pages (Excel for Mac icon Mac users may only see three pages but that is ok), with the City and Sizes columns printing on separate pages from the rest of the data.
  3. Change the Orientation from Portrait to Landscape. This fits all of the columns on one page. All of the columns are now on the same page, but the second and third pages have no column labels to identify what information is in each column. You are going to use Print Titles to repeat the first three rows of the worksheet on each of the printed pages. To set Print Titles you need to exit Print Preview.
  4. Exit Backstage View then click the Page Layout tab on the ribbon.
  5. Click the Print Titles button in the Page Setup group on the ribbon. The dialog box shown in Figure 3.28 should appear.
  6. Click the Sheet tab if necessary.

    Page setup dialog box, Sheet tab open. Print Title options are "Rows to repeat at top:" or "Columns to repeat at left:"

  7. Click in the Rows to repeat at top: box. Be sure your insertion point is blinking in that box before moving on to the next step.
  8. In the worksheet, select Rows 1 through 3. The text $1:$3 should now appear in the Rows to repeat at top: box.
  9. Click OK.

You will not see a change to the worksheet in Normal view, so you will need to return to Print Preview. While looking in Print Preview, you will notice that the pages are breaking in inconvenient places.

  1. Go to Print Preview and look at each of the pages. Notice that the first three rows are now repeated at the top of each page.
  2. Exit Backstage View.

Skill Refresher

Creating Print Titles

  1. Open the Page Setup dialog box and click the Sheet tab.
  2. Click in the Rows to repeat at top: box or the Columns to repeat at left: box.
  3. Click in the worksheet and select the row(s) or column(s) that you want to repeat on each page.

Inserting Page Breaks

Notice that the data for California is split between the first and second pages. You want all of the data for each state to be together on the same page, so you need to control the page breaks. You are going to start by inserting a page break before the California data to force it to start on the second page, then you will move the page break for the third page if needed. To make these changes you are going to work in Page Break Preview.

  1. Click the View tab on the ribbon then click Page Break Preview in the Workbook Views Group. Your screen should look similar to Figure 3.29.
National Parks worksheet with "Page 1" superimposed above automatic page break of dotted, bold blue line dividing Rows 19 & 20. Page 2 superimposed below page break.
Figure 3.29 Page Break Preview

Excel for Mac icon Mac Users: in the next paragraph below, the location of the automatic page breaks may be in different locations. That’s ok.

In Page Break Preview, automatic page breaks are displayed as dotted blue lines. Notice the dotted blue lines after rows 13 and 28. These lines indicate where Excel will start a new page. For this worksheet, you want the first page to break before the California data, so you are going to insert a manual page break.

  1. Select cell A15. When inserting a page break, you select the cell below where you want the page break to appear.
  2. Click the Page Layout tab on the ribbon.
  3. Click the Breaks button in the Page Setup group (see Figure 3.30).
  4. Select Insert Page Break from the menu. There is now a solid blue line after row 14, which indicates a manual page break that was inserted.
  5. Go to Print Preview. Notice that the California data now starts on the second page.
Breaks Button on Page Layout tab.
Figure 3.30 Breaks Button on Page Layout tab

While looking at each page in Print Preview you decide that the third page should start with Montana. To make this change you are going to move the automatic page break that appears after Nevada.

  1. Exit Backstage View. Switch back to Page Break Preview if needed.
  2. Locate the next dotted blue line (automatic page break).
  3. Put your pointer over the dotted blue line and it will switch to a vertical double-headed arrow. Click on the dotted blue line and drag it above Montana.
  4. Release the mouse button when the line is above row 30 (above Montana). The line will now be a solid blue line, indicating a manual page break.
  5. Go to Print Preview. The Montana data now appears at the top of the third page.

While evaluating the pages in Print Preview you decide that there is too much white space at the bottom of the pages. To fix this, you are going to center the contents vertically on the pages.

  1. Click the Page Setup link at the bottom of the Settings section of Backstage View to open the Page Setup dialog box.
    Excel for Mac icon Mac Users: there is no “Page Setup link” in Print Preview for Excel for Mac. Click the Margins list arrow instead, and choose “Manage Custom Margins” then continue with the steps below. margins in print preview
  2. Click on the Margins tab.
  3. In the Center on page section, check the box for Vertically then click OK.
  4. Review each page in Print Preview to see the changes. Exit Backstage View.

Creating a Header and Footer using Page Layout View

Now that the worksheet is printing on three pages, with page breaks in appropriate places, you are ready to add a header with the current date and filename. You will also add a footer with the page number and the total number of pages that will appear as Page 1 of 3. You are going to edit the header and footer in Page Layout View.

  1. Click the View tab on the ribbon and click the Page Layout button in the Workbook Views group.
  2. The white space at the top of the worksheet should say Add header. Place the mouse pointer over the left section of the Header and click to activate that section.
    Excel for Mac icon Mac Users should make sure the mouse pointer turns into a small page icon Macmousepointersymbol then click in the left section of the Header
  3. Click the Header & Footer Tools Design tab on the ribbon.
  4. Click the Current Date button in the Header & Footer Elements group (see Figure 3.31). Inserting the date this way will insert a field that will update every time the workbook is opened.
  5. Click in the right section of the Header. Click the Filename button in the Header & Footer Elements group (see Figure 3.31). Inserting the filename this way will insert a field that will update if the filename is changed.
  6. Click the Go to Footer button in the Navigation group of commands.
  7. In the center section of the footer, type the word Page with a space after it.
  8. Click the Page Number button in the Header & Footer Elements group (see Figure 3.31), then type a space after the &[Page] code that appears.
  9. Type the word of with a space after it, then click the Number of Pages button in the Header & Footer Elements group (see Figure 3.31). The footer should match Figure 3.32.
  10. Click anywhere on the worksheet to close the Footer editing.
  11. Review the worksheet again in Print Preview. Pay careful attention to the page numbers in the footer to ensure they will print correctly, then exit Backstage View.
  12. View the correct print preview screenshot below in Figure 3.33
  13. Check the spelling on all of the worksheets and make any necessary changes. Save and submit the CH3-Gradebook and Parks workbook.
Header & Footer Elements buttons: Page #, Number of pages, Current date, Current Time, File Path, File Name, Sheet Name, & Picture.
Figure 3.31 Header & Footer Elements buttons
Completed Footer formula centered: Page & [Page] of & [Pages].
Figure 3.32 Completed Footer
Screenshot of Print Preview of Parks sheet
Figure 3.3 – Print Preview of Parks sheet

Skill Refresher

Inserting Page Numbers

  1. In Page Layout View, click in the section of the header or footer where you want the page number to appear.
  2. Type the word Page, followed by a space, and then click the Page Number button in the Header & Footer Elements group on the Header & Footer Tools Design ribbon. This will create Page 1.
  3. If desired, type a space after the &[Page] code then type the word of followed by a space. Then click the Number of Pages button. This will create Page 1 of 4.

 

Key Takeaways

  • Always check the formatting of your worksheets for consistency.
  • If a worksheet is printing on multiple pages, use Print Titles to repeat rows at the top and/or columns at the left of every page to make it easier to interpret the data.
  • Insert manual page breaks as needed in Page Break Preview to control where a new page begins.
  • Multiple page worksheets should include the page number in either the header or footer. Be sure to insert the Page Number element so that the correct page number will display on each page of the worksheet.

Attribution

“3.4 Preparing to Print” by Julie Romey and Art Schneider, Portland Community College is licensed under CC BY 4.0

License

Icon for the Creative Commons Attribution 4.0 International License

Beginning Excel 2019 Copyright © 2023 by Noreen Brown; Barbara Lave; Hallie Puncochar; Julie Romey; Mary Schatz; Art Schneider; and Diane Shingledecker is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.