3/29/2012
MS Excel
Formatting a
Workbook
Formatting Workbooks XP
• Formatting is the process of changing a
workbook’s appearance by defining the fonts,
styles, colors, and decorative features
• A theme is a collection of formatting that
specifies the fonts, colors, and graphical effects
used throughout the workbook
• As
A you work, k Live
Li e Preview
Pre ie shows
h th
the effects
ff t off
formatting options on the workbook’s
appearance before you apply them
Engineering Staff College of India
1
3/29/2012
Formatting Text XP
• The appearance of text is
determined by its
typeface, which is the
specific design used for
the characters
– Font
• Serif fonts
• Sans serif fonts
• Theme font
• Non‐theme font
– Font Style
– Font Size
• Measured in points
Engineering Staff College of India
Working with Color XP
• Theme colors are the 12 colors that belong to
the workbook’s theme
• Standard and custom colors
• Apply a color by selecting a cell or range of cells,
clicking the Font Color or Fill Color button arrow,
and then selecting an appropriate color
Engineering Staff College of India
2
3/29/2012
Formatting Text Selections XP
• The Mini toolbar appears when you select text
and contains buttons for commonly used text
formats
Engineering Staff College of India
Setting a Background Image XP
• You can use a picture or image as the
background for all the cells in a worksheet
• Click the Page Layout tab on the Ribbon
• Click the Background button
• Locate the background, and then click the Insert
button
Engineering Staff College of India
3
3/29/2012
Formatting Data XP
• By default, values appear in the General number
format, which, for the most part, displays numbers
exactly as you enter them
• The Number group on the Home tab has buttons for
formatting the appearance of numbers
• Comma style button
• Decrease Decimal button
• Percent Style button
• Increase Decimal button
• Accounting Number Format button
Engineering Staff College of India
Formatting Data XP
Engineering Staff College of India
4
3/29/2012
Formatting Dates and Times XP
• Although dates and times in Excel appear as text,
they are actually numbers that measure the
interval between the specified date and time and
January 1, 1900 at 12:00 a.m.
Engineering Staff College of India
Aligning Cell Content XP
• In addition to left and right alignments, you can
change the vertical and horizontal alignments of
cell content to make a worksheet more readable
• Alignment buttons are located on the Home tab
Engineering Staff College of India
5
3/29/2012
Indenting Cell Content XP
• You increase the indentation by roughly one
character each time you click the Increase Indent
button in the Alignment group on the Home tab
Engineering Staff College of India
Merging Cells XP
• One way to align text over several columns or
rows is to merge, or combine, several cells into
one cell
Engineering Staff College of India
6
3/29/2012
Rotating Cell Content XP
• To save space or to provide visual interest to a
worksheet, you can rotate the cell contents so
that they appear at any angle or orientation
• Select the range
• In the Alignment group, click the Orientation
button and choose a proper rotation
Engineering Staff College of India
Rotating Cell Content XP
Engineering Staff College of India
7
3/29/2012
Adding Cell Borders XP
• You can add borders to the left, top, right, or
bottom of a cell or range, around an entire cell,
or around the outside edges of a range using the
Border button arrow
Engineering Staff College of India
Working with the XP
Format Cells Dialog Box
• The Format Cells dialog
box has six tabs, each
focusing on a different
set of formatting options
Engineering Staff College of India
8
3/29/2012
Copying Formats XP
with the Format Painter
• The Format Painter copies the formatting from
one cell or range to another cell or range,
without duplicating any of the data
• Select the range containing the format you wish
to copy
• Click the Format Painter button on the Home tab
• Click the cell to which you want to apply the
format
Engineering Staff College of India
Copying Formats with the XP
Paste Options Button
Engineering Staff College of India
9
3/29/2012
Copying Formats with Paste Special XP
Engineering Staff College of India
Applying Styles XP
• A style is a collection of formatting
• Select the cell or range to which you want to
apply a style
• In the Styles group on the Home tab, click the
Cell Styles button
• Point to each style in the Cell Styles gallery to see
y on the selected cell
a Live Preview of that style
or range
• Click the style you want to apply to the selected
cell or range
Engineering Staff College of India
10
3/29/2012
Applying Styles XP
Engineering Staff College of India
Working with Themes XP
• The appearance of these fonts, colors, and cell
styles depends on the workbook’s current theme
Engineering Staff College of India
11
3/29/2012
Applying a Table Style XP
to an Existing Table
• You can treat a range of data as a distinct object
in a worksheet known as an Excel table
• Select the range to which you want to apply the
table style
• In the Styles group on the Home tab, click the
Format as Table button
• Click a table style in the Table Style gallery
Engineering Staff College of India
Applying a Table Style XP
to an Existing Table
Engineering Staff College of India
12
3/29/2012
Selecting Table Style Options XP
• After you apply a table style, you can choose
which table elements you want included in the
style
Engineering Staff College of India
Introducing Conditional Formats XP
• A conditional format applies formatting only when a cell’s value
meets a specified condition
• Select the range or ranges to which you want to add data bars.
• In the Styles group on the Home tab, click the Conditional
Formatting button, point to Data Bars, and then click a data bar
color
or
• Select the range in which you want to highlight cells that match a
specified rule
• In the Styles group, click the Conditional Formatting button, point
to Highlight
hl h Cells
ll Rules
l or Top/Bottom
/ Rules,
l andd then
h click
l k the
h
appropriate rule
• Select the appropriate options in the dialog box, and then click
the OK button
Engineering Staff College of India
13
3/29/2012
Adding Data Bars XP
• A data bar is a horizontal bar added to the
background of a cell to provide a visual indicator
of the cell’s value
• Select the cell(s)
• In the Styles group on the Home tab, click the
Conditional Formatting button, point to Data
Bars and
Bars, d th
then click
li k th
the D
DataBar
t B option
ti you wishih
to apply
Engineering Staff College of India
Adding Data Bars XP
Engineering Staff College of India
14
3/29/2012
Hiding Worksheet Data XP
• Hiding rows, columns, and worksheets is an
excellent way to conceal extraneous or
distracting information
• In the Cells group on the Home tab, click the
Format button, point to Hide & Unhide, and
then click your desired option
Engineering Staff College of India
Changing the Page Orientation XP
to Landscape
• Click the Page Layout tab on the Ribbon
• In the Page
g Setupp ggroup,
p, click the Orientation
button, and then click Landscape
Engineering Staff College of India
15
3/29/2012
Defining the Print Area XP
• By default, all parts of the active worksheet
containing text, formulas, or values are printed
• You can select the cells you want to print, and
then define them as a print area
• Select the range, in the Page Setup group on the
Page Layout tab, click the Print Area button, and
th click
then li k Set Print Area
Engineering Staff College of India
Inserting Page Breaks XP
• Excel prints as much as fits on a page and then
inserts a page break to continue printing the
remaining worksheet content on the next page
• Manual page breaks specify exactly where the
page breaks occur
Engineering Staff College of India
16
3/29/2012
Setting and Removing Page Breaks XP
To set a page break:
• Select the first cell below the row where you want to
insert a page break
• In the Page Setup group on the Page Layout tab, click
the Breaks button, and then click Insert Page Break
To remove a page break:
• Select any cell below or to the right of the page break
you want to remove
• In the Page Setup group on the Page Layout tab tab, click
the Breaks button, and then click Remove Page Break
(or click Reset All Page Breaks to remove all the page
breaks from the worksheet)
Engineering Staff College of India
Setting and Removing Page Breaks XP
Engineering Staff College of India
17
3/29/2012
Adding Print Titles XP
• You can repeat information, such as the
company name, by specifying which rows or
columns in the worksheet act as print titles,
titles
information that prints on each page
• In the Page Setup group on the Page Layout tab,
click the Print Titles button
• Click the Rows to repeat at top box, move your
pointer over the worksheet, and then select the
range
• Click the OK button
Engineering Staff College of India
Adding Print Titles XP
Engineering Staff College of India
18
3/29/2012
Adding Headers and Footers XP
• A header is the text printed in the top margin of
each page
• A footer is the text printed in the bottom margin
of each page
• Scroll to the top of the worksheet, and then click
the left section of the header directly above cell
A1 to
t display
di l th the H
Header
d & FFooter
t TToolsl
contextual tab
Engineering Staff College of India
Adding Headers and Footers XP
Engineering Staff College of India
19