Top Banner
Chapter 6 Formatting a Worksheet
42
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter.06

Chapter 6Formatting a Worksheet

Page 2: Chapter.06

2Practical Microsoft Office 2010

What’s inside and on the CD?

• In this chapter you will learn how to:– Format worksheets created with Microsoft Excel– Determine special formatting characteristics for

each type of data– Make changes to spreadsheet data in order to

show how changes effect results– Avoid making incorrect modifications to data

Page 3: Chapter.06

3Practical Microsoft Office 2010

How do I add borders and background colors?

• Borders and background colors define areas and can draw attention to important information

• To add borders, use the Font group on the Home tab and Format Cells dialog box

Page 4: Chapter.06

4Practical Microsoft Office 2010

How do I add borders and background colors?

Page 5: Chapter.06

5Practical Microsoft Office 2010

How do I add borders and background colors?

• Select border option buttons in the Border section of dialog box

• The Line area allows selection of decorative line styles or add color

• For a shortcut to Borders, use the button in the Font group on the Home tab

• Click the Fill tab to add a colored background to selected cells

Page 6: Chapter.06

6Practical Microsoft Office 2010

How do I format worksheet data?

• Buttons in the Font group on the Home tab allow you to select different font attributes for data in worksheet cells

• Values and formula results can use the same font attributes used in labels

Page 7: Chapter.06

7Practical Microsoft Office 2010

How do I format worksheet data?

Page 8: Chapter.06

8Practical Microsoft Office 2010

How do I format worksheet data?

• To apply format:– Click in the cell to format– Click as many font attributes as wanted– Click outside cell to complete

• To change font for range:– Click top-left cell – Drag mouse to selected cells– Release mouse button – Apply font formatting option

Page 9: Chapter.06

9Practical Microsoft Office 2010

How do I format worksheet data?

• Separate words or letters in a cell can be formatted differently. Use the mouse inside the cell to select words or characters to format

• More formatting options:– Select cell(s) – Click Format Cells– Click Cells to display Cells Format dialog box– Select formatting option– Click OK to apply

Page 10: Chapter.06

10Practical Microsoft Office 2010

How do I use the Format Cells dialog box?

• These number formats can be applied to cells that contain values:– Currency– Percent– Commas– Decimals

• Number group on the Home tab can be used to apply most common number formats

• Format Cells dialog box provides options to improve readability

Page 11: Chapter.06

11Practical Microsoft Office 2010

How do I use the Format Cells dialog box?

• The Accounting Number Format button button displays contents in local currency format

• The Percent Style button displays the cell contents as a percentage

• The Comma style button adds a comma to values• The Decrease Decimal button, one less digit is

displayed, the Increase Decimal button, one more digit is displayed

• Select a range of cells then click any format buttons to apply formatting to a range

Page 12: Chapter.06

12Practical Microsoft Office 2010

How do I use the Format Cells dialog box?

Page 13: Chapter.06

13Practical Microsoft Office 2010

How do I adjust column and row size?

• A column too narrow will display as #####. The entire column width can be changed, but not just one cell

• To adjust the width, position the pointer between two column headings. When the shape changes to , press and hold the left mouse button while you drag to adjust the width of the column

• If a label is too long to fit into a cell, it will extend into the cell on the right if that cell is empty. If not, the label will be cut off

Page 14: Chapter.06

14Practical Microsoft Office 2010

How do I adjust column and row size?

Page 15: Chapter.06

15Practical Microsoft Office 2010

How do I center and align cell contents?

• By default, labels are left-aligned while values and formulas are right-aligned.

• Typically, you will want to center or right-align a label when it is a column heading.

• Select the header cell and click the Align Text Right button.

Page 16: Chapter.06

16Practical Microsoft Office 2010

How do I center and align cell contents?

• Select a range of cells and click the desired alignment button to align a range of cells.

• Click column header at top of a column to select entire column.

• Click row header on left of row to select all cells in row.

• To center text across columns, select the range, then click the Merge & Center button.

Page 17: Chapter.06

17Practical Microsoft Office 2010

How do I center and align cell contents?

• To merge a range of cells in a column:– Select the range– Click the Merge & Center button in the Alignment

group on the Home tab• The down-arrow button next to the Merge & Center

button allows you to:– Unmerge cells– Merge without centering

Page 18: Chapter.06

18Practical Microsoft Office 2010

How do I center and align cell contents?

Page 19: Chapter.06

19Practical Microsoft Office 2010

What happens when I copy and move cells?

• Use the Cut, Copy, and Paste buttons to copy or move cell contents to a different worksheet location.

• Label data is copied or moved without changing.• When you copy and paste cells containing a formula,

the copied formula is altered to work in the new location.

Page 20: Chapter.06

20Practical Microsoft Office 2010

What happens when I copy and move cells?

• A cell reference that changes when a formula is copied or moved is called a relative reference.

• Unless you specify otherwise, Excel treats all cell references as relative.

Page 21: Chapter.06

21Practical Microsoft Office 2010

What happens when I copy and move cells?

• To move data in cells:– select the cells, then click the Cut button– click the new cell, then click the Paste button

• When you copy or move data in a range, click the cell in the top-left corner where you want the data to be pasted

Page 22: Chapter.06

22Practical Microsoft Office 2010

What happens when I copy and move cells?

• A formula containing a relative reference changes when it is copied or moved.– Example:

• Assume cell B11 contains the formula =SUM(B5:B10). If you copy and paste that formula to cell C11, the formula will be changed to =SUM(C5:C10)

– This is because the references B5 and B10 are relative references.

Page 23: Chapter.06

23Practical Microsoft Office 2010

What happens when I copy and move cells?

• When the formula was in cell B11, Excel interpreted it as:=SUM the numbers in the six cells above

• When it was copied to cell C11, Excel adjusted the formula so it retained the same relative references, making it =SUM(C5:C10)

Page 24: Chapter.06

24Practical Microsoft Office 2010

What happens when I copy and move cells?

Page 25: Chapter.06

25Practical Microsoft Office 2010

When should I use absolute references?

• Sometimes, you do not want cell references to change when moved to a new location.

• An absolute reference will not change and always refer to the same cell.

• To create an absolute reference, insert a dollar sign ($) before the column reference and another dollar sign before the row reference.

Page 26: Chapter.06

26Practical Microsoft Office 2010

When should I use absolute references?

• If you want to use an absolute reference in a formula, begin typing, then press the F4 key after you click a cell to add it to the formula.

• Pressing the F4 key changes the current reference to an absolute reference.

• References can be combined so only one row or column is an absolute reference.

Page 27: Chapter.06

27Practical Microsoft Office 2010

When should I use absolute references?

• For example,– $C1 creates an absolute column and a relative row

reference– C$1 creates a relative column and an absolute row

reference• The absolute identifier will not change, but the

relative identifier will.

Page 28: Chapter.06

28Practical Microsoft Office 2010

When should I use absolute references?

Page 29: Chapter.06

29Practical Microsoft Office 2010

How do I delete and insert rows and columns?

• When you insert or delete rows or columns, Excel will adjust your formulas to refer to the correct cells.

• To insert a row, select a row, click the down-arrow button next to Insert in the Cells group, then click Insert Sheet Rows.

Page 30: Chapter.06

30Practical Microsoft Office 2010

How do I delete and insert rows and columns?

• To insert more than one row, drag down over the number of rows to insert and follow the same steps for inserting a row

• To delete rows, select rows, drag over the rows you want to delete, click the down-arrow button next to Delete in the Cells group, then click Delete Sheet Rows

Page 31: Chapter.06

31Practical Microsoft Office 2010

How do I delete and insert rows and columns?

• Use the same procedures to insert and delete columns.

• Excel will adjust the relative cell references in formulas to keep them correct as you insert or delete.

Page 32: Chapter.06

32Practical Microsoft Office 2010

How do I delete and insert rows and columns?

Page 33: Chapter.06

33Practical Microsoft Office 2010

Can I use styles?

• Use predefined styles or create your own styles• Predefined includes formats for displaying:

– currency – percentages– numbers

• Create your own to enhance your worksheet– Click Styles in the Styles group, click the More

button, then click New Cell style– Type style name, and then use the Format Cells

dialog box to modify your style

Page 34: Chapter.06

34Practical Microsoft Office 2010

Can I use styles?

• The Format Painter button allows you to copy and paste formats from one cell to another– Click cell containing formats to be copied– Click Format Painter button– Click cell where you want format applied

• The Styles group includes a variety of predefined formats designed to format entire worksheets or sections of worksheets

Page 35: Chapter.06

35Practical Microsoft Office 2010

Can I use styles?

• The Hide function is used to hide rows or columns you don’t want displayed

• To use Hide function:– Select rows or columns to be hidden– Right-click highlighted area– Select Hide

• To display hidden rows or columns, select rows or columns bordering hidden section and right-click, then choose Unhide

Page 36: Chapter.06

36Practical Microsoft Office 2010

Can I use styles?

Page 37: Chapter.06

37Practical Microsoft Office 2010

How do I manage multiple worksheets?

• A workbook – sometimes called a “3D workbook” – is a collection of worksheets

• Workbooks allow related worksheets to be grouped together

• Worksheets in a workbook can access data from other worksheets

Page 38: Chapter.06

38Practical Microsoft Office 2010

How do I manage multiple worksheets?

• Default workbook contains three worksheets, titled Sheet 1, Sheet 2, and sheet 3

• Click tabs at bottom of screen to navigate• Rename worksheets, change color of tab, or change

order by right-clicking worksheet tab and making selection

Page 39: Chapter.06

39Practical Microsoft Office 2010

How do I manage multiple worksheets?

• To insert new worksheet:– Right-click tab for worksheet that should follow

new worksheet– Select Insert from shortcut menu– Make selection from Insert dialog box

• To delete existing worksheet:– Right-click worksheet’s tab– Click Delete

Page 40: Chapter.06

40Practical Microsoft Office 2010

How do I manage multiple worksheets?

• Move/copy option allows you to change the order of worksheets

• For example, to insert new worksheet in front of Sheet 1, insert new sheet after any tab, then use Move/copy option to position as first sheet

Page 41: Chapter.06

41Practical Microsoft Office 2010

How do I manage multiple worksheets?

• To reference data from other worksheets, include tab name before row letter and column number

• Example:– Sheet3!A1 indicates Column A, Row 1 on Sheet 3

• Also reference data on other worksheets by:– Navigating to worksheet– Click desired cell – Enter formula or function

Page 42: Chapter.06

42Practical Microsoft Office 2010

How do I manage multiple worksheets?


Related Documents