This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

Microsoft Excel XP/X

Database Basics

This document presents the basics of working with an Excel database. Topics include the following:

return to topTips for Setting Up a Database

return to topCreating a Database

Excel recognizes lists of information as a database when you use the database functions. These functions, such as finding, sorting, or subtotaling, can make organizing and analyzing your information easier. A worksheet is made up of columns, rows, and column labels. In a database these are called fields, records, and field names, respectively.

sample database

return to topUsing Database Forms

Entering a lot of database information to the worksheet can be time-consuming and inefficient. You often have to move the cursor around the page and can lose valuable time. Excel has an easier way of entering data called the Forms feature. Forms allows you to switch from field to field in your record by pressing [Tab].  When a record is added, Excel automatically clears the form and is ready for you to enter the next information. The Forms feature is also helpful for searching for a record. The Find Next and Find Prev options make locating a specific record easier.

Accessing Forms

  1. Place the cell pointer within the database

  2. From the Data menu, select Form...
    A dialog box displaying the sheet name appears.
    dialog box displaying sheet name

  1. To perform your task, follow the instructions under Using Form Options

  2. To return to your spreadsheet, click CLOSE

Using Form Options

Adding a New Record

  1. Place the cell pointer within the database

  2. From the Data menu, select Form...
    A dialog box displaying the sheet name appears.

  3. Click NEW
    The form will be cleared and ready for you to enter data.

  4. In each field, type the desired information 
    NOTE: To move between fields, press [Tab]
    If you press [Enter] after you have typed the last field information, the data will be added to your database and you will automatically go to a blank form to start a new record.

  5. When you have entered the last record, click CLOSE
    The new records are added to the end of your database.

Deleting a Record

  1. Place the cell pointer within the database

  2. From the Data menu, select Form...
    A dialog box displaying the sheet name appears.

  3. Locate and select the record that you want to delete
    HINT: Use the scroll bar to scroll through the records.

  4. Click DELETE
    A confirmation dialog box will appear.

  5. Click OK

  6. Select CLOSE on the sheet name dialog box when finished

Searching for a Record

To ensure that you search the entire database, move to either the first or last record of the database (use the scroll bar).

  1. Place the cell pointer within the database

  2. From the Data menu, select Form...
    A dialog box displaying the sheet name appears.

  3. Click CRITERIA

  4. Within the appropriate field(s), type the desired search criteria 

  5. Click FIND NEXT or FIND PREV

  6. Repeat steps 3-5 as necessary

  7. When you have completed your search, click CLOSE
    You are returned to your spreadsheet.

return to topUsing the Worksheet Window

If you need to make a few minor changes to the information in your database, sometimes it is quicker to make them through the worksheet window.

Adding a New Record

  1. Scroll to the bottom of your database

  2. Click the field in which you would like to start entering your data

  3. Enter data accordingly

  4. Press [Tab
    OR
     
    Use the arrow keys to move to the next field of the record

Deleting a Record

WARNING: By deleting a row, the entire contents of the row will be deleted.

  1. In your database, scroll to the record that you would like to delete

  2. On the left-hand side of the record, click the record number

  3. From the Edit menu, select Delete
    OR
    Windows: Right click » select Delete
    Macintosh: Press [Control] and click » select Delete
    The old record is deleted and rows beneath that row move up.

Searching for a Record

  1. From the Edit menu, select Find...
    Windows: The Find and Replace dialog box appears.
    find and replace dialog box
    Macintosh: The Find dialog box appears
    Find dialog box

  2. In the Find what text box, type the information that you are searching for 

  3. Click FIND NEXT
    The record will now be selected in the worksheet window.

  4. Click CLOSE
    Windows: The Find and Replace dialog box closes.
    Macintosh: The Find dialog box closes.
    You are returned to your spreadsheet.
    For more information on using the Find and Replace dialog box, refer to Using the Find & Replace Features.

Excellence. Our Measure. Our Motto. Our Goal.