Excel 2010 P 3
Excel 2010 P 3
Excel 2010 P 3
Table of Contents
Introduction ....................................................................................................................................2
Sorting Data ....................................................................................................................................2
Sorting Data by a Single Column................................................................................................2
Sorting Data by Multiple Columns .............................................................................................2
Filtering Data .................................................................................................................................3
Enabling AutoFilter.....................................................................................................................4
Applying Filters ..........................................................................................................................4
Clearing Filters ............................................................................................................................6
Disabling AutoFilter ...................................................................................................................6
Entering Data Using AutoFill .......................................................................................................7
Working with Charts .....................................................................................................................7
Creating Charts............................................................................................................................9
Selecting Chart Elements ..........................................................................................................10
Changing the Chart Type ..........................................................................................................10
Changing the Chart Data ...........................................................................................................11
Changing the Chart Layout .......................................................................................................12
Formatting Charts .....................................................................................................................13
Moving Charts ...........................................................................................................................14
Deleting Charts..........................................................................................................................15
Using Formulas and Functions ...................................................................................................15
Using Operators in Formulas ....................................................................................................15
Using Cell References in Formulas ..........................................................................................16
Entering Formulas .....................................................................................................................17
Displaying Formulas .................................................................................................................17
Using Functions in Formulas ....................................................................................................18
Using the AutoSum Button ..................................................................................................18
Inserting Functions ...............................................................................................................19
Using Formula AutoComplete .............................................................................................20
Password-protecting Workbooks ...............................................................................................22
Sorting Data
Sorting makes it easier to read or analyze the data in a worksheet. When you sort data, you
rearrange the rows based on the contents of a particular column or a set of columns. Rows with
duplicate data in the sort column remain in their original order. Rows with blank cells in the sort
column are placed last in the sorted list.
You can sort data alphabetically, numerically, or by date in ascending or descending order.
Ascending order arranges text from A to Z, numbers from smallest to largest, and dates from
oldest to newest. Descending order arranges text from Z to A, numbers from largest to smallest,
and dates from newest to oldest.
3. If the data has a header row, make sure that the My data has headers check box is
selected.
NOTE: When the My data has headers check box is selected, the first row of data is excluded
from the sort and the column headers appear in the Sort by list.
4. Under Column, click the arrow and select the first column that you want to sort by.
5. Under Sort On, click the arrow and select Values.
6. Under Order, click the arrow and select the desired sort order (e.g., A to Z).
NOTE: The options that appear in the Order list change to reflect the data to be sorted.
7. To add another column to sort by, click the Add Level button, and then repeat steps 4
through 6.
NOTE: You can delete a sort level by selecting it, and then clicking the Delete Level button. You
can copy a sort level by selecting it, and then clicking the Copy Level button. You can change a
sort level’s position in the order by selecting it, and then clicking the Move Up button or
Move Down button . Columns higher in the list are sorted before columns lower in the list.
8. When finished, click the OK button.
Filtering Data
Filtering allows you to view or analyze a subset of the data in a large worksheet. When you filter
data, Excel displays only those rows that meet the criteria you specify. The rows that do not meet
the criteria are hidden, not deleted. You can filter by one or more columns. Each filter limits the
data to which you can apply the next filter, helping you narrow down the results. For best results,
do not mix data types (such as text and numbers) in the same column because only one type of
filter command is available for each column. Excel includes an AutoFilter feature that can be
used to quickly filter data.
To enable AutoFilter:
1. Select a cell within the range that you want to filter.
2. On the Data tab, in the Sort & Filter group, click the Filter button (see Figure 3). Filter
arrows appear next to each column heading (see Figure 4).
Applying Filters
Clicking the Filter arrow of a column displays the Sort and Filter menu which includes sorting
and filtering commands as well as a list of the unique values in that column. You can filter data
by selecting values from the list, by searching for values, or by specifying conditions.
Figure 5 – Sort and Filter Menu Figure 6 – Sort and Filter Menu After Selecting
Values
3. In the Custom AutoFilter dialog box, enter one or two filtering conditions by selecting a
comparison operator (such as is less than) from the box on the left and entering a value
in the box on the right (see Figure 9).
NOTE: When filtering by two conditions, select the And option if both conditions must be met,
or the Or option if either condition can be met.
4. Click the OK button. Excel displays only those rows that meet the specified conditions.
Clearing Filters
After applying filters, you may want to remove them from the worksheet to redisplay the hidden
data. You can clear filters one at a time or clear all the filters in a worksheet at once.
Disabling AutoFilter
When you finish using AutoFilter, you can disable it. Disabling AutoFilter clears all filters and
removes the Filter arrows from the worksheet.
To disable AutoFilter:
1. On the Data tab, in the Sort & Filter group, click the Filter button.
3. Drag the Fill handle over the cells that you want to fill. As you drag, a ScreenTip
appears, showing the data that will be entered in each cell.
4. Release the mouse button. Excel fills the cells based on the contents of the first cell, and
the AutoFill Options button appears in the lower-right corner of the last cell (see Figure
12).
NOTE: You can change how the selection is filled by clicking the AutoFill Options button and
selecting the desired option from the menu (see Figure 13). The options that are available on the
AutoFill Options menu depend on the type of content in the cells and on the format of the data.
Element Description
Chart area Consists of the chart border, the background, and all the fonts.
Plot area Consists of the data series and gridlines.
Chart title Text that describes the chart.
Axes The horizontal axis (x-axis) contains the categories being plotted. The vertical
axis (y-axis) contains the values being plotted.
Axis titles The horizontal axis title describes the chart categories. The vertical axis title
describes the chart values.
Gridlines Horizontal or vertical lines in the plot area that make the data easier to read.
Data points Individual values that are plotted in the chart. Data points are represented by
bars, lines, slices, dots, or other markers.
Data labels Text that displays the exact value represented by each data point.
Data series A collection of related data points. Each data series in a chart has a unique
color or pattern.
Legend A key that identifies the colors or patterns associated with each data series.
When a chart is selected, the Chart Tools contextual tabs (Design, Layout, and Format) become
available on the Ribbon (see Figure 15, Figure 16, and Figure 17). You can use the commands on
these tabs to change the design, layout, and appearance of the chart.
Creating Charts
Excel provides a variety of chart types that you can choose from when creating a chart (see Table
2). Each chart type has a number of subtypes and is best suited for conveying a different type of
information.
Chart Description
Column Column charts are used to show how data changes over time or to compare values
across categories.
Line Line charts are used to show trends over time.
Pie Pie charts display the contribution of each value to the total. They can contain only
one data series.
Bar Bar charts are similar to column charts, except they display information in
horizontal rather than vertical bars.
Area Area charts are similar to line charts, except the area below the lines is filled with
color.
XY Scatter charts are typically used to display and compare numeric values such as
(Scatter) scientific, statistical, and engineering data.
Stock Stock charts are most often used to show the fluctuation of stock prices. However,
they may also be used for scientific data.
Surface Surface charts are used to find optimal combinations between two sets of data.
Doughnut Like pie charts, doughnut charts show the relationship of parts to a whole.
However, they can contain more than one data series.
Bubble Bubble charts are similar to X Y (Scatter) charts, except they compare sets of three
values instead of two, with the third values determining the sizes of the bubbles.
Radar Radar charts are used to compare the aggregate values of several data series.
3. In the Change Chart Type dialog box, select the desired chart type in the left pane,
select the desired chart subtype in the right pane, and then click the OK button (see
Figure 21).
Formatting Charts
The overall appearance of a chart’s elements is its style. You can quickly change a chart’s
appearance by applying one of Excel’s predefined styles. In addition, you can manually format
individual chart elements.
Moving Charts
The default location for a chart is the same worksheet as the data from which it is derived. You
can move the chart to another location in the same sheet, to another sheet as an embedded object,
or to its own chart sheet. A chart sheet is a special type of worksheet in Excel used to display
only charts. Chart sheets are inserted to the left of the worksheet that contains the data
represented by the chart.
Deleting Charts
If you no longer need a chart, you can delete it from the workbook.
To delete a chart:
1. Select the chart that you want to delete, and then press the Delete key.
When a formula contains more than one operator, Excel performs calculations from left to right,
based on the standard mathematical order of operations. You can change this order by using
parentheses. Calculations within parentheses are performed first. The basic order of operations is
as follows: (1) percentage, (2) exponentiation, (3) multiplication and division, (4) addition and
subtraction, and (5) comparison.
Entering Formulas
You can create a simple formula by entering constant values or using cell references. The
advantage of using cell references in a formula is that the formula automatically recalculates
whenever the value in any cell referenced in the formula changes.
To enter a formula:
1. Select the cell in which you want to enter the formula.
2. Type an equal sign (=).
3. Enter the first value or cell reference.
NOTE: To avoid typing mistakes, you can click a cell to insert its cell reference in a formula
rather than typing its address.
4. Enter the desired operator.
5. Enter the next value or cell reference.
6. Repeat steps 4 and 5 as needed to complete the formula (see Figure 33).
7. When finished, press the Enter key. The result of the formula appears in the cell (see
Figure 34).
Displaying Formulas
Cells containing formulas display the results of the formula, not the formula itself. You can see
the underlying formulas by selecting individual cells and looking at the Formula bar. Another
way to see formulas in a worksheet is to make them all visible.
Each function has its own syntax which specifies how it must be written. The general syntax of a
function is an equal sign (=), followed by the function name, an opening parenthesis, the function
arguments, and a closing parenthesis. Function names (such as SUM and AVERAGE) describe
the operation the function performs. Arguments specify the values or cell references the function
uses when it performs its operations. Some functions have no arguments or the argument is
optional.
Inserting Functions
Functions are organized into categories (Financial, Logical, Text, Date & Time, Lookup &
Reference, Math & Trig, etc.) based on their purpose (see Figure 39). Each of the categories has
a button in the Function Library group on the Formulas tab of the Ribbon. You can insert a
function into a formula by selecting it from one of the function categories. If you are not sure
which category to choose, you can use the Insert Function dialog box to browse through the
entire list of functions and select the one you need.
To insert a function:
1. Select the cell in which you want to enter the formula.
2. On the Formulas tab, in the Function Library group, click the Insert Function button
(see Figure 39). Or, click the Insert Function button on the Formula bar (see Figure 40).
3. In the Insert Function dialog box, search for a function or select a category, select the
desired function, and then click the OK button (see Figure 41).
NOTE: When you select a function in the Select a function box, the function’s syntax and
description appear below the box.
4. In the Function Arguments dialog box, enter the function’s arguments, and then click
the OK button to display the result (see Figure 42).
NOTE: If you need help with entering arguments, click the Help on this function link in the
lower-left corner of the Function Arguments dialog box.
4. Double-click the function that you want to use. Excel enters the function name in the cell,
followed by an opening parenthesis (see Figure 44).
NOTE: After the function is added, a ScreenTip appears, displaying the function’s syntax. The
current argument is in bold. Optional arguments appear in square brackets.
5. Enter the first argument for the function (see Figure 45).
6. If there is another argument, type a comma, and then enter the next argument. Repeat this
step for each argument.
Password-protecting Workbooks
In Excel, you can protect a workbook with a password, allowing only authorized users to open
the file. This can be used to protect files stored on computers or external storage devices, as well
as data being transferred via networks.
To password-protect a workbook:
1. Open the workbook that you want to protect.
2. Click the File tab, and then click Info. The Info page of the Backstage view opens.
3. In the center pane, click the Protect Workbook button, and then click Encrypt with
Password (see Figure 46).
4. In the Encrypt Document dialog box, type a password in the Password box, and then
click the OK button (see Figure 47).
NOTE: Passwords are case-sensitive. Lost or forgotten passwords cannot be recovered.