Professional Documents
Culture Documents
MANAGING A DATABASE
WITH MICROSOFT EXCEL
Data Versus
Information Versus
Databases
Data are facts about people, objects, events,
transactions, or other entities.
Information includes data that are organized and
presented in a form that supports an
organization's operations and decision making.
The term database describes data that are
organized in a way that makes it easy to find and
update the data, and also provides the ability to
analyze and extract information from the
database.
Using a Database
To Organize Data
A database specifies how separate pieces of data
are related.
In a database, data are related by means of data
structures, which represent associations
between elements of data.
The most basic of these data structures are called
records and fields.
Representing a Database in
the Form of an Excel List
Microsoft Excel is not a database management
system, nor does Excel provide the power and
sophistication for maintaining a database that are
found in database management systems such as
Microsoft Access or Oracle.
However, many of the features in these database
management systems are common to an Excel
list.
As long as you follow a few simple guidelines, you
can represent a database in Excel in the form of
a list.
Naming a Database
Leave at least one blank column and one blank row between your
database and other data on the worksheet. This helps Excel
automatically select your database when you sort, filter, or insert
automatic subtotals.
For best results, avoid storing other critical data to the left or right of
the database, because it might be hidden when you filter the
database.
Create field names (i.e., column titles) in the first row of your
database. Excel uses these field names to find data, sort data,
filter data, and generate summary information.
2.
If a field name is wider than the data in the column, you can
wrap the text in a cell (i.e., click on the Format button in the
Cells group of the Home tabs Ribbon, choose the Format
Cells command in the Format menu, click on the alignment
tab, and then click on the Wrap text option in the Text control
group).
3.
5.
6.
7.
9.
Naming a Database
Adding a Record to
Inventory Database
Field
ITEM NO
Data
101041
New York
QTY
Field
Previous
Data
Changed
Data
LOCATION
QTY
Chicago
20
New York
15
Criteria
DEPARTMENT sales
SALARY
DATE HIRED
>=30000
>12/31/2002 (use either a
two or four-digit year)
Sort Order
FILTERING RECORDS
A major limitation to using the data form to search for and
find records based on comparison criteria is that you can
display and work with only a single record at a time.
However, there may be occasions when you want to display
and work with only those records that match the criteria you
specify.
Because it automatically hides all records (i.e., rows in the
worksheet) except those that match the specified criteria,
Excels Filter easily and quickly enables you to view and
work with only the subset of your database that is of
interest to you.
Just as with the data form, you can specify multiple criteria
for filtering a database.
Filtering Records
with the Autofilter
Filtered Records