Section Learning Goals
In this section, you will learn:
|
Formatting Worksheets
Using Styles
Styles are collections of formatting choices that you can apply to the data in your cells, or to entire cells, ranges, or worksheets. Later, you can quickly change the formatting of all the cells that use a particular style, simply by changing the formatting of the style.
Microsoft Excel includes built-in styles to format numbers as currency, percentages, and whole numbers with commas. You can modify these styles to suit the needs of your worksheets, or you can create your own custom styles.
Applying a Style
The common number styles can be applied using the buttons on the Formatting toolbar:
- Click to apply the currency style.
- Click to apply the percent style.
- Click to apply the comma style.
Additional options are available from the Style dialog:
- With the cell(s) selected, select Style from the Format menu.
The Style dialog opens.
- Select a style from the Style name drop-down menu. The features of the style appear below, under Style includes.
- Click OK.
Modifying an Existing Style
To modify an existing style:
- From the Format menu, select Style.
The Style dialog opens.
- Select the style you want to modify from the Style name drop-down menu.
- Click the Modify button.
The Format Cells dialog opens.
- Use the options on the various tabs to select the formatting you want the style to use.
- Click OK to close the Format Cells dialog.
- If necessary, check (select) or uncheck any formatting options under Style includes.
- Click Add.
- To apply the style to the selected cell(s), click OK. Otherwise, click Close to close the Style dialog.
Creating a New Style
To create a new style:
- From the Format menu, select Style.
The Style dialog opens.
- Enter a name for the new style into the Style name field.
- Click the Modify button.
The Format Cells dialog opens.
- Use the options on the various tabs to select the formatting you want the style to use, and then click OK.
- Check (select) or uncheck any formatting options under Style includes.
- Click Add.
- To apply the new style to the selected cell(s), click OK. Otherwise, click Close to close the Style dialog.
Copying Styles from Other Workbooks
Excel also lets you copy styles contained in other workbooks:
- Open both workbooks-the one containing the styles you want to copy and the one you want to copy the styles into.
- In the workbook that will receive the styles, select Style from the Format menu.
The Style dialog opens.
- Click the Merge button.
The Merge Styles dialog opens.
- Select the workbook that contains the styles you want to copy and click OK.
- If both workbooks contain styles with the same names (for example, the default number styles), confirm that you want to replace the existing styles in the current workbook.
If you don’t want to replace the existing styles, click No when prompted. Only new styles will be added to the current workbook.