Vous êtes sur la page 1sur 10

Analyzing Data with Excel 2002

Viewing Help

To view Help
1. On the Start menu, point to Programs, and then click
Microsoft Excel.
2. On the Help menu, click Microsoft Excel Help.
3.
Viewing Help
Type the question How do I save a workbook? in the text box
provided, and then click Search.
4. You can view the topic that is displayed in the right pane, or
select one of the additional topics for more information.
Importing a Delimited Text File

To import a delimited text file


1. On the File menu, click Open.
2. Select the folder where you downloaded the sample data files,

Importing a Delimited Text


3.
and double-click analyzing_data.xls.
Click the Sheet1 tab to select it.
4.
File
Click Data, point to Import External Data, and then click
Import Data.
5. Switch to the folder from which you opened the workbook, and
change the Files of type to Text Files. Select the text_file.txt
file, and then click Open. The Text Import Wizard opens.
6. Verify that Delimited is selected, and then click Next.
7. Verify that Tab is selected, and then click Next.
8. Verify that General is selected, and then click Finish.
9. Verify that Existing worksheet is selected, and then click OK.
10. On the File menu, click Save.
Querying a Database

To query
6. If you wanta database
to remove any columns from the list, select the
heading and click the left arrow. For this query, you probably
1. In the analyzing_data.xls spreadsheet, click the Sheet2 tab to
don’t have any use for the arbitrary ID number that was
select it.
assigned to each record. Click Student ID #, and then click the
2. left
Clickarrow.
Data, point to Import External Data, and then click New
Database Query.

Querying a Database
7. The Filter Data Query Wizard allows you to filter the data that
3. you
On theareDatabases
querying directly fromMS
tab, click theAccess
database. For example,
Database, if
click Use
you wantedWizard
the Query to include the records queries,
to create/edit only of minority
and thenstudents,
click OK.
you could do so here. The social science students want to see
4. Locate
all the major_database.mdb
the data in Excel, so they chose database file (located
not to filter in the
data at this
sample_data
point. folder that you downloaded with this tutorial) in
Click Next.
the Select Database dialog box, and then click OK. The Query
8. The
WizardSort Order Query Wizard allows you to sort the data that
opens.
you are querying from the database by ascending or
5. From the listorder.
descending on theThe
left,students
click Declared major
might want to by
sortgender and
their data
ethnicity
later and but
in Excel, thenchoose
click thenotright arrow,
to do The Click
so here. columns
Nextfrom
to the
database table are now listed on the right.
continue.
9. Click Return Data to Microsoft Excel, and then click Finish.
10. Verify that Existing Worksheet is selected, and then click OK.
The data from the database opens in Sheet2. The External
Data toolbar also appears
Creating a Web Query

To create a Web query


1. In the analyzing_data.xls spreadsheet, click the Sheet3 tab to
select it.
2. Click Data, point to Import External Data, and then click New

Creating a Web Query


Web Query.
3. In the Address box type the address of the Web page. In this
case type
http://www.census.gov/population/socdemo/school/tabA-6.txt
4. Select the yellow boxes next to the portion of the page you
want to reference in your query, and then click Import.
5. Verify that Existing worksheet is selected, and then click OK.
The census data is imported into the Excel worksheet.
Filtering a List by Using
AutoFilter

To filter a list by using AutoFilter


7.
1. You
In thecan start filtering the list
analyzing_data.xls from any row.
spreadsheet, If you
click want to see
the filter_list tab
results onlythe
to activate for filter_list
minorities intending to major in science and
worksheet.
engineering, click row 21, click Data, point to Filter, and then
2. ClickAutoFilter.
click cell A3 in the Theworksheet
drop-down to arrows
activateappear
the cell.
at line 21
3.
8.
Filtering a List by Using
instead
To
of atpoint
Click Data,
down arrows
display
the top
your
of the and
to Filter,
appear
filterednext
list. then select AutoFilter. Drop-
listto
asthe field names
a chart, on the in the header
Insert menu, row.
click

AutoFilter
4. Chart.
You can The Chart
filter Wizard
the list opensintoahelp
by values you
single formatoryour
column chart.
in multiple
As you change
columns. the AutoFilter
For example, criteria,
click the the chart
drop-down automatically
arrow on the 1998
updates to reflect the changes.
field and then click (Top 10). The Top 10 AutoFilter dialog box
9. opens.
To turn off AutoFiltering and return to the complete list, click
5. Data, point
You can to Filter,
change and then click
the parameters AutoFilter
to return to clear of the
any number
thecheck box. items or percentages. For this exercise, leave
top or bottom
the filter parameters at Top 10 items.
6. Click OK. All rows are hidden except the ten with the highest
number if freshmen intending to major in science and
engineering in 1998. To filter the list further, you can select an
additional year, or you can click the drop-down arrow for the
1998 field and click (All) to remove filtering of the column.
Creating a PivotTable

To
6. create a PivotTable
Select Existing worksheet as the location for the data, click
the PivotTable tab, and then click the Select All button to
1. In the analyzing_data.xls
activate spreadsheet, click the Database tab
the PivotTable worksheet.
to activate the database worksheet.
7. Click Layout to open the Layout dialog box.
2. In the upper-left corner of the worksheet, click the Select All

Creating a PivotTable
8. You can
button to ask different
select the dataquestions of the data and look at it in
on the worksheet.
different ways depending on which fields you decide to use for
3. Click
rows, Data, and and
columns, thendata.
click For
PivotTable
example,and PivotChart
if you Report.
want to see
The
which PivotTable
majors are andthePivotChart Wizard
most popular withopens.
men and women of
4. different
Click ethnic groups,
Microsoft dragorthe
Excel List gender and
database ethnicity
as the locationfields
of theto
the Row
data box. Drag
to analyze, the
click planned major
PivotTable, field click
and then to theNext.
Column
box. Drag the planned major field to the Data box. (Notice
5. Because youuse
that you can have thealready selected
same field the worksheet
in more (step 2) ,
than one place)
the correct data range should be typed in the Range field. (The
9. When is
range you are finished,
surrounded by aclick OK, dashed
pulsing and thenline.)
clickClick
Finish. TheIf
Next.
PivotTable
the opens
data is not and theclick
selected, PivotTable
Cancel toolbar appears.
and return to step 2.
Creating and Customizing a
PivotChart

To create and customize a PivotChart


1. Click the Chart Wizard button on the PivotTable toolbar. The
default chart type will open on a separate Chart worksheet.

Creating and Customizing a


(Notice that the shortcut menu on the toolbar is now labeled
PivotChart instead of PivotTable.)
2. To change the chart type, click the Chart Wizard button on the

3. PivotChart
PivotTable toolbar again. The Chart Wizard opens.
Select from one of the standard or custom chart types and
then click Next.
4. In the Chart Options Wizard, you can give the chart a title,
show or hide gridlines, change the placement of the chart
legend, change data labels, and show a data table with your
chart.
5. The Chart Location Wizard allows you to select a location for
your PivotChart, as a separate worksheet or embedded in your
PivotTable report.
6. Click finish to display your PivotChart. Remember that, as you
drag and drop field buttons, your PivotChart automatically
updates.
Saving an Excel Worksheet in
HTML Format

To save an Excel worksheet in HTML format


1. On the File menu, click Save As.
2. In the Save as type list, select Web Page. The Save As dialog

Saving an Excel Worksheet


box allows you to specify whether you want to save the entire
workbook or only the active worksheet as a Web page.

in HTML Format
3. If you select the active worksheet and you want others to be
able to manipulate your data, click Add Interactivity.
4. Click Publish to specify which items in the workbook you want
to publish and which type of interactivity you want to add. Then
click Publish when finish.

Vous aimerez peut-être aussi