CHAPTER 10

Worksheet Basics

Add a Worksheet

By default, when you create a new blank workbook in Excel, it contains one worksheet, which is often all you need. In some cases, however, your workbook might require additional worksheets. For example, if your workbook contains data about products your company sells, you might want to add worksheets related to the product data, such as calculations, data analysis, charts, or PivotTables.

When you add a new worksheet, Excel gives it a default name. To help you better keep track of your data, you can rename your new worksheet. For more information, see the next section, “Rename a Worksheet.”

Add a Worksheet

Snapshot of adding a worksheet.

001.eps Click the New Sheet button (9781119893516-ma158).

dga.eps You can also right-click a worksheet tab, click Insert to open the Insert dialog box, click Worksheet, and then click OK.

Snapshot of excel adds a blank worksheet.

dgb.eps Excel adds a new blank worksheet and gives it a default worksheet name.

Rename a Worksheet

When you create a new workbook, Excel assigns the default name Sheet1 to the worksheet. Likewise, Excel assigns default names (Sheet2, Sheet3, and so on) to each worksheet you add to an existing workbook. To help you identify their content, you can change the names of your Excel worksheets to something more descriptive. For example, if your workbook contains four worksheets, each detailing a different sales quarter, then you can give each worksheet a unique name, such as Quarter 1, Quarter 2, and so on.

Rename a Worksheet

Snapshot of renaming the worksheet.

001.eps Double-click the worksheet tab that you want to rename.

dga.eps Excel opens the name for editing and highlights the current name.

dgb.eps You can also right-click the worksheet name and click Rename.

Snapshot of typing a new name for worksheet.

002.eps Type a new name for the worksheet.

Note: Worksheet names must be 1 to 31 characters long, must be unique in the workbook, and cannot contain any of the following characters: / ? * : [ or ].

003.eps Press Ent.

Excel assigns the new worksheet name.

Change Page Setup Options

You can change worksheet settings related to page orientation, margins, and more. For example, suppose that you want to print a worksheet that has a few more columns than will fit on a page in Portrait orientation. (Portrait orientation accommodates fewer columns but more rows on the page and is the default page orientation that Excel assigns.) You can change the orientation of the worksheet to Landscape, which accommodates more columns but fewer rows on a page.

You can also use Excel’s page setup settings to insert page breaks and set margins to control the placement of data on a printed page.

Change Page Setup Options

Snapshot of change page orientations.

Change the Page Orientation

001.eps Click the Page Layout tab.

002.eps Click Orientation.

003.eps Click Portrait or Landscape.

Note: Portrait is the default orientation.

dga.eps Vertical and horizontal (not shown) dotted lines identify page breaks that Excel inserts after you change the orientation at least once.

Snapshot of landscape orientation.

Excel applies the new orientation. This example applies Landscape.

dgb.eps Excel moves the page break indicators based on the new orientation.

dgc.eps You can click the Margins button to set up page margins.

Snapshot of install a page break.

Insert a Page Break

001.eps Select a cell in the row above which you want to insert a page break.

002.eps Click the Page Layout tab.

003.eps Click Breaks.

004.eps Click Insert Page Break.

Snapshot of excel inserts a solid line representing
a user-inserted page break.

dgd.eps Excel inserts a solid line representing a user-inserted page break.

Move or Copy Worksheets

You can move or copy a worksheet to a new location within the same workbook or to an entirely different workbook. For example, moving a worksheet is helpful if you insert a new worksheet and the worksheet tab names appear out of order.

Besides moving worksheets, you can also copy them. Copying a worksheet is helpful when you plan to make major changes to the worksheet and you want a backup copy. Or you might want to copy a worksheet if you need a new worksheet that uses much of the same structure or data as an existing worksheet.

Move or Copy Worksheets

Snapshot of move or copy worksheet.

001.eps If you plan to move or copy a worksheet to a different workbook, open the other workbook.

002.eps Click the tab of the worksheet you want to move or copy to make it the active worksheet.

003.eps Click Home.

004.eps Click Format.

005.eps Click Move or Copy Sheet.

dga.eps You can also right-click the worksheet tab and then click Move or Copy.

Snapshot of move or Copy dialog box appears.

006.eps The Move or Copy dialog box appears.

dgb.eps You can click the To book 9781119893516-ma019 to select a destination workbook.

006.eps Click the worksheet before which you want the moved or copied worksheet to appear.

dgc.eps You can copy a worksheet by selecting Create a copy (9781119893516-ma001 changes to 9781119893516-ma002).

007.eps Click OK.

Excel moves or copies the worksheet to the new location.

Delete a Worksheet

You can delete a worksheet that you no longer need. For example, you might delete a worksheet that contains outdated data or information about a product that your company no longer sells.

When you delete a worksheet, Excel prompts you to confirm the deletion unless the worksheet is blank, in which case it deletes the worksheet immediately. When you delete a worksheet, Excel permanently removes it from the workbook and displays the worksheet to the right of the one you deleted unless you deleted the last worksheet. In that case, Excel displays the worksheet to the left of the one you deleted.

Delete a Worksheet

Snapshot of delete a worksheet.

001.eps Click the tab of the worksheet you want to delete.

002.eps Click Home.

003.eps Click the Delete 9781119893516-ma019.

004.eps Click Delete Sheet.

dga.eps You can also right-click the worksheet tab and then click Delete.

If the worksheet is blank, Excel deletes it immediately.

Snapshot of confirm
the deletion.

If the worksheet contains any data, Excel prompts you to confirm the deletion.

005.eps Click Delete.

Excel deletes the worksheet.

Find and Replace Data

You can search for information in your worksheet and replace it with other information. For example, suppose that you want to change the product category Confections to Sweets. You can search for Confections and replace each occurrence with Sweets. Be aware that Excel finds all occurrences of information as you search and replace it, so be careful when replacing all occurrences at once. You can search and then skip occurrences that you do not want to replace.

You can search the entire worksheet or you can limit the search to a range of cells that you select before you begin the search.

Find and Replace Data

Snapshot of find and replace data.

001.eps Click the Home tab.

002.eps Click Find & Select.

003.eps Click Replace.

Snapshot of excel displays the Replace tab of
the Find and Replace dialog box.

dga.eps To only search for information, click Find instead.

Excel displays the Replace tab of the Find and Replace dialog box.

004.eps Use the Find What text box to type the text that you want to find and replace.

Snapshot of replace the text you
typed in.

005.eps Use the Replace With text box to type the text that you want Excel to use to replace the text you typed in step 4.

006.eps Click Find Next.

Snapshot of replace all text.

dgb.eps Excel finds the first occurrence of the text.

007.eps Click Replace.

Excel replaces the information in the cell and finds the next occurrence.

008.eps Repeat step 7 as needed.

dgc.eps If you find an occurrence that you do not want to replace, click Find Next instead.

dgd.eps You can click Replace All if you do not want to review each occurrence before Excel replaces it.

Excel displays a message when it cannot find any more occurrences.

009.eps Click OK (not shown) and then click Close.

Create a Table

You can create a table from any rectangular range of related data in a worksheet. A table is a collection of related information. Table rows — called records — contain information about one element, and table columns divide the element into fields. In a table containing name and address information, a record would contain all the information about one person, and all first names, last names, addresses, and so on would appear in separate columns.

When you create a table, Excel identifies the information in the range as a table and simultaneously formats the table and adds AutoFilter arrows to each column.

Create a Table

Snapshot of creating a table.

001.eps Set up a range in a worksheet that contains similar information for each row.

002.eps Click anywhere in the range.

Snapshot of click table.

003.eps Click Insert.

004.eps Click Table.

Snapshot of the create Table dialog box.

The Create Table dialog box appears, displaying a suggested range for the table.

dga.eps You can click My table has headers (9781119893516-ma002 changes to 9781119893516-ma001) if labels for each column do not appear in the first row of the range.

dgb.eps You can click the Range selector button (9781119893516-ma200) to select a new range for the table boundaries by dragging in the worksheet.

005.eps Click OK.

Snapshot of excel creates a table and
applies a table style.

Excel creates a table and applies a table style to it.

dgc.eps The Table Design contextual tab appears on the Ribbon.

dgd.eps9781119893516-ma135 appears in each column header.

dge.eps Excel assigns the table a generic name.

Filter or Sort Table Information

When you create a table, Excel automatically adds AutoFilter arrows to each column; you can use these arrows to quickly and easily filter and sort the information in the table.

When you filter a table, you display only those rows that meet conditions you specify, and you specify those conditions by making selections from the AutoFilter lists. You can also use the AutoFilter arrows to sort information in a variety of ways. Excel recognizes the type of data stored in table columns and offers you sorting choices that are appropriate for the type of data.

Filter or Sort Table Information

Snapshot of data meeting the
criteria you selected.

Filter a Table

001.eps Click 9781119893516-ma135 next to the column heading you want to use for filtering.

dga.eps Excel displays a list of the unique values in the selected column.

002.eps To exclude all instances of a particular value, deselect that value’s check box (9781119893516-ma002 changes to 9781119893516-ma001).

003.eps To include all instances of a particular value, select that value’s check box (9781119893516-ma001 changes to 9781119893516-ma002).

004.eps Repeat steps 2 and 3 until you have selected all the filters you want to use.

005.eps Click OK.

Snapshot of excel displays only the data meeting the
criteria you selected.

dgb.eps Excel displays only the data meeting the criteria you selected in step 2.

dgc.eps The AutoFilter 9781119893516-ma135 changes to 9781119893516-ma115 to indicate the data in the column is filtered.

dgd.eps To clear the filter, click Data and then click Clear (9781119893516-ma074).

Snapshot of excel displays a list of possible sort
orders.

Sort a Table

001.eps Click 9781119893516-ma135 next to the column heading you want to use for sorting

dge.eps Excel displays a list of possible sort orders.

002.eps Click a sort order.

This example sorts from largest to smallest.

Snapshot of excel re-orders the information.

dgf.eps Excel re-orders the information.

dgg.eps9781119893516-ma135 changes to 9781119893516-ma116 to indicate the data in the column is sorted.

Note: You cannot clear a sort the way you can a filter. To remove a sort, you can click Home and then click Undo 9781119893516-ma159.

Analyze Data Quickly

You can easily analyze data in a variety of ways using the Quick Analysis button. You can apply various types of conditional formatting; create different types of charts, including line and column charts; or add miniature graphs called sparklines (see Chapter 12 for details on sparkline charts). You can also sum, average, and count occurrences of data as well as calculate percent of total and running total values. In addition, you can apply a table style and create a variety of different PivotTables.

The choices displayed in each analysis category are not always the same; the ones you see depend on the type of data you select.

Analyze Data Quickly

Snapshot of analyze data quickly.

001.eps Select a range of data to analyze.

dga.eps The Quick Analysis button (9781119893516-ma086) appears.

002.eps Click the Quick Analysis button (9781119893516-ma086).

Snapshot of quick analysis categories appear.

Quick Analysis categories appear.

003.eps Click each category heading to view the options for that category.

004.eps Point the mouse (9781119893516-ma030) at a choice under a category.

dgb.eps A preview of that analysis choice appears.

Note: For an explanation of the Quick Analysis choices, see the next section, “Understanding Data Analysis Choices.”

005.eps When you find the analysis choice you want to use, click it and Excel creates it.

Understanding Data Analysis Choices

The Quick Analysis button (9781119893516-ma086) offers a variety of ways to analyze selected data. This section provides an overview of the analysis categories and the choices offered in each category.

Formatting

Snapshot of formatting.

Use formatting to highlight parts of your data. With formatting, you can add data bars, color scales, and icon sets. You can also highlight values that exceed a specified number and cells that contain specified text.

Charts

Snapshot of charts.

Pictures often get your point across better than raw numbers. You can quickly chart your data; Excel recommends different chart types, based on the data you select. If you do not see the chart type you want to create, you can click More.

Totals

Snapshot of totals.

Using the options in the Totals category, you can easily calculate sums — of both rows and columns — as well as averages, percent of total, and the number of occurrences of the values in the range. You can also insert a running total that grows as you add items to your data.

Tables

Snapshot of tables.

Using the choices under the Tables category, you can convert a range to a table, making it easy to filter and sort your data. You can also quickly and easily create a variety of PivotTables — Excel suggests PivotTables you might want to consider and then creates any you might choose.

Sparklines

Sparklines are tiny charts that you can display beside your data that provide trend information for selected data. See Chapter 12 for more information on sparkline charts.

Snapshot of sparklines.

Insert a Note

You can add notes to your worksheets. You might add a note to make a comment or reminder to yourself about a particular cell’s contents, or you might include a note for other users to see. For example, if you share your workbooks with other users, you can use notes to leave feedback about the data without typing directly in the worksheet.

When you add a note to a cell, Excel displays a small red triangle in the upper-right corner of the cell until you choose to view it. Notes you add are identified with your username.

Insert a Note

Snapshot of insert a note.

Add a Note

001.eps Click the cell to which you want to add a note.

002.eps Click Review.

003.eps Click Notes.

004.eps Click New Note.

You can also right-click the cell and choose Insert Note.

Snapshot of note ballon appears.

A note balloon appears.

005.eps Type your note text.

Snapshot of deselect the note.

006.eps Click anywhere outside the note balloon to deselect the note.

dga.eps Cells that contain notes display a tiny red triangle in the upper-right corner.

Snapshot of view a note.

View a Note

001.eps Position the mouse (9781119893516-ma083) over a cell containing a note.

dgb.eps The note balloon appears, displaying the note.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset