Converting an Excel Spreadsheet to an Access 2007 Database

Move data from Excel to Access

Woman working on laptop and taking notes outdoors

LinkedIn Sales Navigator / Pexels

Do you have a huge Excel spreadsheet that you can't make heads or tails of? It's time to make good on that promise to yourself — organize your contact list into a Microsoft Access database. It's much easier than you may imagine and you'll definitely be pleased with the results. This tutorial will walk you through the entire process step-by-step.

Instructions in this article apply to Access 2007. If you are using Access 2010, please read Converting Excel to an Access 2010 Database. If you are using Access 2013, read Converting Excel to an Access 2013 Database.

of 09

Prepare Your Data

Sample Excel database

If you don't have your own spreadsheet and want to follow along with the tutorial, you can download the sample Excel file used to generate the tutorial.

of 09

Create a New Access 2007 Database

New database modal in Access 2007

Unless you have an existing database that you use to store contact information, create a new database from scratch.

  1. Select the Blank Database icon on the Getting Started with Microsoft Office Access screen. You'll be presented with the screen above.
  2. Provide your database with a name, select the Create button and you'll be in business.
of 09

Begin the Excel Import Process

Screesnhot of External Data tab in Excel

Next, select the External Data tab at the top of the Access screen and double-click the Excel button to begin the Excel import process. The position of this button is indicated by the red arrow in the image above.

of 09

Select the Source and Destination

Screenshot of Get External Data modal in Excel

Next, you'll be presented with the screen shown above. Select the Browse button and navigate to the file you'd like to import. Once you've located the correct file, select the Open button.

  • Link your database to an Excel sheet so that changes in the source sheet are reflected in the database
  • Import data into an existing database table

Once you've selected the correct file and option, select the OK button to continue.

of 09

Select Column Headings

Screenshot of select column headers modal in Access 2007

Often, Microsoft Excel users utilize the first row of their spreadsheet to provide column names for their data. In our example file, we did this to identify the Last Name, First Name, Address, etc. columns. In the window shown above, ensure that the First Row Contains Column Headings box is checked. This will instruct Access to treat the first row as names, rather than actual data to be stored in the list of contacts. Select ick the Next button to continue.

of 09

Create Any Desired Indexes

Screenshot of Import spreadsheet wizard in Access 2007

Database indexes are an internal mechanism that can be used to increase the speed at which Access can find information in your database. You can apply an index to one or more of your database columns at this step. Select the "Indexed" pull-down menu and choose the appropriate option.

Keep in mind that indexes create a lot of overhead for your database and will increase the amount of disk space used. For this reason, you want to keep indexed columns to a minimum. In our database, we'll most often be searching on the Last Name of our contacts, so let's create an index on this field. We might have friends with the same last name, so we do want to allow duplicates here. Ensure that the Last Name column is selected in the bottom portion of the windows and then select Yes (Duplicates OK) from the Indexed pull-down menu. Select Next to continue.

of 09

Select a Primary Key

Screenshot of Import spreadsheet wizard in Access 2007

The primary key is used to uniquely identify records in a database. The easiest way to do this is to let Access generate a primary key for you. Select the Let Access add primary key option and select Next to continue. If you're interested in choosing your own primary key, you might want to read our article on database keys.

of 09

Name Your Table

Screenshot of finishing import in Access 2007

Provide Access with a name to reference your table. We'll call our table "Contacts." Enter this into the appropriate field and select the Finish button.

of 09

View Your Data

Screenshot of database fully imported into Access 2007

You'll see an intermediate screen asking you if you'd like to save the steps used to import your data. If not, go ahead and select the Close button.

You'll then be returned to the main database screen where you can view your data by simply double-clicking on the table name in the left panel.

Congratulations, you've successfully imported your data from Excel into Access!