- Review and learn new cell formatting techniques.
- Understand how to modify page scaling and margins.
- Create custom headers and footers to automatically update information.
In this section, we will review some of the formatting techniques covered in Chapter 1, as well as learn some new techniques. We will also preview a two-page worksheet and set page setup options to present the data in a professional manner. A new data file will be used in this section.
Formatting Worksheet Data
Data File: Continue working with CH2 Personal Budget
You have been given sales data that needs to be formatted in a professional manner. This worksheet will be printed and presented to investors, so it needs to be prepared for printing as well. Figure 2.42 shows how the finished worksheet will appear in Print Preview.
- Switch to the Prepare to Print worksheet.
- To change the font of the entire worksheet, click the Select All button in the top left corner of the worksheet grid (see Figure 2.43).
- Change the font to Calibri, Size 12.
- Using the skills learned in Chapter 1, make the following formatting changes:
- A1:H1 – Merge and Center; format text as bold and apply a font color and size of your choice
- A2:H2 – Merge and Center; format text as bold and italic, apply a font color of your choice
- A5:H5 – Apply a dark fill color; format text as white and bold
- C5:H5 – Center align
- A15:H15 – Apply Top Border to the cells; format text as bold
- C6:H6 and C15:H15 – Apply Accounting Number format with 0 decimal places
- C7:H14 – Apply Comma style with 0 decimal places
- Highlight A6:A14 (salespeople’s names) and click the Increase Indent button in the Alignment group on the Home ribbon (see Figure 2.44). This will indent the text from the cell border.
Using Page Setup Options
Once the worksheet is professionally formatted, you need to look in Print Preview to see how the pages will print.
- Go to Backstage View by clicking the File tab on the ribbon. Select Print from the menu. Notice that the worksheet is currently printing on two pages, with the page breaking between the April and May columns. To fix this problem, you will first change the left and right margins while still in Print Preview
Mac Users should click the File menu option and select Print from the menu
- Click the Margins drop-down arrow in the Settings section (see Figure 2.45)
- Select Custom Margins… at the bottom of the list.
Mac Users should select “Manage Custom Margins”
- Type in 0.5 for the Left Margin and 0.5 for the Right Margin.
- Click OK. Changing the margins brought the May column onto the same page, but the June column is still on a separate page. Next you will use Page Scaling to fix this while still in Print Preview.
- Click the Scaling drop-down arrow in the Settings section (Figure 2.46).
Mac Users: there is no “Scaling drop-down arrow”. Just click the checkbox for “Scale to fit”
- Select Fit All Columns on One Page.
- Exit Backstage View.
Creating a Footer using Page Setup
Now that the entire worksheet is printing on one page, you need to add a footer with information about the date the file was printed along with the filename. In Chapter 1 you learned how to create headers and footers using the Insert ribbon. You can also create headers and footers using the Custom Header/Footer dialog box.
- Click the Page Layout tab on the ribbon.
- Click the dialog box launcher in the Page Setup group. A window similar to Figure 2.47 should appear.
Mac Users: there is no “dialog box launcher”. Just click the Page Setup button and continue with Step 3 below.
- Click the Header/Footer tab in the Page Setup dialog box.
- Click the Custom Footer button. The Footer dialog box should appear (see Figure 2.48).
- Click in the Left section: box and type Printed on.
- Making sure to leave a space after the word on, click the Insert Date button.
- Click in the Right section: box and type Filename:.
- Making sure to leave a space after the colon, click the Insert File Name button.
- The Footer dialog box should look like Figure 2.49.
- Click the OK button. Click OK again to close the Page Setup dialog box.
- Go to Print Preview to see that the current date and file name are displayed in the footer.
- Exit Backstage View. Check the spelling on all of the worksheets and make any necessary changes.
- Save the CH2 Personal Budget file.
- Compare your work with the completed worksheet shown in Figure 2.42 and then submit the CH2 Personal Budget workbook as directed by your instructor.
- It is important to always check your workbooks in Print Preview to ensure that the data is printed in a professional and easy to read manner.
- Adjust margins and page scaling as needed to keep columns of data together on one page if possible.
- Use headers and footers to display information in the top and bottom margins of the printed worksheet. Use the Insert buttons to insert changing information, such as dates and file names, instead of typing them in directly.