Converting an Excel Spreadsheet Into an Access Database



Similar documents
Introduction to Microsoft Access 2010

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

Introduction to Microsoft Access 2013

MICROSOFT ACCESS 2003 TUTORIAL

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

Microsoft Access 2010 handout

Creating a Participants Mailing and/or Contact List:

Using Microsoft Access Databases

Microsoft Excel 2013: Using a Data Entry Form

Microsoft Office 2010

Creating a Database in Access

Clean Up Rules Quick Steps Search Tools Change Views Export Data Convert to tasks Contact Groups. Outlook Functions

To successfully initialize Microsoft Outlook (Outlook) the first time, settings need to be verified.

PEMBINA TRAILS SCHOOL DIVISION. Information Technology Department

MICROSOFT ACCESS 2007 BOOK 2

Introduction to Microsoft Access 2003

Search help. More on Office.com: images templates

Creating a Patch Management Dashboard with IT Analytics Hands-On Lab

ACCESS Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

Create a New Database in Access 2010

Implementing Mission Control in Microsoft Outlook 2010

Microsoft Access from creating new Database to Queries

Check out our website!

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

Creating and Using Databases with Microsoft Access

Microsoft Access to Microsoft Word Performing a Mail Merge from an Access Query

Advanced Database Concepts Using Microsoft Access

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0

Getting Started with Access 2007

Database File. Table. Field. Datatype. Value. Department of Computer and Mathematical Sciences

Managing Contacts in Outlook

Personal Portfolios on Blackboard

Software Application Tutorial

Creating Electronic Portfolios using Microsoft Word and Excel

Microsoft Access 2007 Introduction

Microsoft PowerPoint 2008

DESIGN A WEB SITE USING PUBLISHER Before you begin, plan your Web site

What is a Mail Merge?

CHAPTER 11: SALES REPORTING

Microsoft Office Access 2007 Basics

Create a Simple Website. Intel Easy Steps Intel Corporation All rights reserved.

BID2WIN Workshop. Advanced Report Writing

1.5 MONITOR FOR FMS 6 USER GUIDE

Objectives. Understand databases Create a database Create a table in Datasheet view Create a table in Design view

Microsoft. Access HOW TO GET STARTED WITH

Planning and Creating a Custom Database

Access I Tables, Queries, Forms, Reports. Lourdes Day, Technology Specialist, FDLRS Sunrise

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Steps to Create a Database

Microsoft Access 2007

Word 2007: Mail Merge Learning Guide

Outlook . Step 1: Open and Configure Outlook

As in the example above, a Budget created on the computer typically has:

Use Find & Replace Commands under Home tab to search and replace data.

Indiana County Assessor Association Excel Excellence

Adobe Acrobat: Creating Interactive Forms

Introduction to Microsoft Access 2007

Appendix A How to create a data-sharing lab

Microsoft Office Access 2007 which I refer to as Access throughout this book

Creating an Access Database. To start an Access Database, you should first go into Access and then select file, new.

SES PAS Senior Executive Service (SES) Performance Appraisal System (PAS)

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

Crystal Reports Payroll Exercise

Outlook Web App User Guide

Personalizing your Access Database with a Switchboard

How To Make Templates More Powerful In Ec.Org

Connecting to LUA s webmail

INTRODUCTION TO DATABASES USING MICROSOFT ACCESS

Step Sheet: Creating a Data Table and Charts

Table of Contents SQL Server Option

MICROSOFT ACCESS TABLES

Six Steps to Completing a Mail-Merge

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Microsoft Access Introduction

Computer Science 125. Microsoft Access Project

INFORMATION SYSTEMS SERVICE NETWORKS AND TELECOMMUNICATIONS SECTOR. User Guide for the RightFax Fax Service. Web Utility

Baylor Secure Messaging. For Non-Baylor Users

NDSR Utilities. Creating Backup Files. Chapter 9

Reduced Quality Sample

How to set up your Secure in Outlook 2010*

Using Outlook Web Access

Consider the possible problems with storing the following data in a spreadsheet:

FrontPage 2003: Forms

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Excel 2013 What s New. Introduction. Modified Backstage View. Viewing the Backstage. Process Summary Introduction. Modified Backstage View

Microsoft Access 2007 Advanced Queries

Microsoft Access Part I (Database Design Basics) ShortCourse Handout

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

MICROSOFT OFFICE ACCESS NEW FEATURES

In This Issue: Excel Sorting with Text and Numbers

The first thing to do is choose if you are creating a mail merge for printing or an merge for distribution over .

COURSE DESCRIPTION. Queries in Microsoft Access. This course is designed for users with a to create queries in Microsoft Access.

Microsoft Access Basics

Department of Administration - Division of Finance Page 1 of 7 Health Insurance Errors Data Download Instructions

Creating Personal Web Sites Using SharePoint Designer 2007

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

Microsoft Word 2010 Mail Merge (Level 3)

One of the fundamental kinds of Web sites that SharePoint 2010 allows

Transcription:

Converting an Excel Spreadsheet Into an Access Database Tracey L. Fisher Personal Computer and Software Instructor Butler County Community College - Adult and Community Education Exceeding Your Expectations.. http://users.zoominternet.net/~traceylf/bc3.htm

TABLE OF CONTENTS PURPOSE... 3 WHAT YOU WILL NEED... 3 TERMINOLOGY... 4 GETTING STARTED... 5 CREATING A NEW DATABASE... 7 IMPORTING A SPREADSHEET... 9 FINDING DUPLICATE RECORDS... 14 EVALUATING DUPLICATE RECORDS... 17

PURPOSE The focus of this handout is to walk you through the process of Importing an existing Excel Spreadsheet into a new Access Database. It is assumed you have both Excel and Access experience and is not intended to review the fundamentals of these applications. Many times Access databases are initially created from Excel spreadsheets as it is very easy to maintain large lists in Excel. However, as your list becomes larger and you want to manipulate your data in more complex ways, converting the spreadsheet into a database may become necessary. WHAT YOU WILL NEED Microsoft Excel Microsoft Access Access to the Internet Floppy Disk Hint: This reference guide was developed using Microsoft Excel and Access 2003. The topics discussed are applicable to previous versions. However, the steps to perform specific functions may differ slightly in older versions. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 3 of 18

TERMINOLOGY Database A database is a collection of information organized into interrelated tables of data and specifications of data objects. Field names One column (data element) contains data of one and the same kind. Form A type of object you can use to enter, edit, and view records. Import A way of converting data from a different format and coping it into Microsoft Access. Primary Key The primary key of a relational table uniquely identifies each record in the table. Properties The characteristics of a screen element. For example, a number may have properties such as number of decimal points, font, size, etc. Query A question asked of the database that determines what information is retrieved. Record One row or group of related data, for example the data for one individual s contact information. Record Selection Buttons Navigation buttons located on the record navigation toolbar to quickly move between records or a group of records. Table A collection of related information comprised of columns (fields) and rows (records). A table looks like a simple spreadsheet. Task Pane - Task panes in Microsoft Office help you get your work done, bringing the tools you need right up close to your work. Task panes open automatically when you perform certain tasks, such as start a new document, ask for Help, or insert clip art. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 4 of 18

GETTING STARTED After sending out your holiday cards last year, did you make yourself a promise that you would organize your address list to into a database by the time you have to send holiday cards next year? Or, perhaps, your address book consists of several scraps of paper you have scattered around your house. Do you have an Excel spreadsheet with thousands of entries and are finding many are duplicated or entered multiple times with only a small difference such as a state name spelled out and the abbreviation not used? You are well on your way to organizing your contact list or moving that out-of-control Excel spreadsheet into a Microsoft Access database. It's much easier than you may imagine and you'll most likely ask yourself why you put this off so long. This handout will walk you through the entire process step-bystep. No prior knowledge of databases is required, but it is helpful to get the most out of your data. If you're curious, you may be interested in attending my Level 1 Microsoft Access class. Open the sample Excel file used in this handout - http://users.zoominternet.net/~traceylf/addresslist.xls (if link does not work by clicking, copy/paste into Internet Browser window) 1. Click OK 2. From the Menu Bar select File, Save As Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 5 of 18

3. Click the drop-down arrow in the Save in box and select 3 ½ Floppy Disk (A:) 4. Next, change the name of the spreadsheet to AddressList in the File name box 5. Click the Save button Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 6 of 18

CREATING A NEW DATABASE The first step we ll need to do is to create a new, blank database. We ll have the option of allowing a Wizard to step us through; however, we re going to create ours from scratch so you can see how simple it is to create a new database. Make sure that the "Blank Access database" radio button is selected (as shown in the figure below) and click the OK button to get started. Open Microsoft Access by clicking the Start button, selecting All Programs, Microsoft Office, Microsoft Access. Note: Depending on how your software is installed, you may or may not have the Microsoft Office folder. 1. Click the Create a new file link in the Getting Started Task Pane 2. Click the Blank Database link in the New File Task Pane Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 7 of 18

3. Click the drop-down arrow in the Save in box to select the location to save your new database 4. Next, type the name of your new database in the File name box 5. Click the Create button Congratulations, you have just created your AddressList database. Our next step is to Import the AddressList spreadsheet. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 8 of 18

IMPORTING A SPREADSHEET 1. From the Menu Bar select File, Get External Data, Import 2. Click the drop-down arrow in the Look in box and browse to the location of your spreadsheet. In this example, your AddressList.xls file is saved on your floppy drive. 3. Click the drop-down arrow next to Files of type list box and select Microsoft Excel (*.xls) Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 9 of 18

4. Select the spreadsheet you want to import into Access and click the Import button 5. The Import Spreadsheet Wizard is activated. The following will walk you through each step of the Wizard to assist you with the Import process. 1. In this example, we are importing only Sheet1 of the AddressList spreadsheet. Click the Next button. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 10 of 18

2. Click the check box First Row Contains Column Headings. The Excel Column Headings will become the Fields in the AddressList Table. Click Next. 3. Because we are creating a new Access Database, you will need to click the option button In a New Table. The wizard will import your spreadsheet into a new database table. Click Next to continue. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 11 of 18

4. You have the option of modifying the field names (column headings) for each of the fields you are importing. In our example, we will import all column headings from our spreadsheet and will accept the default options. Click Next to continue. 5. You have the option of allowing Access to define a Primary Key for your new database table. In our example, we are going to Let Access add primary key. Notice that a new field (column) was added to the Left of the last name column. The ID number is a unique number which will identify each record in your database table. Click Next to continue. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 12 of 18

6. The last step is to name your database table. In the Import to Table box type Addresses and click Finish. 7. Click OK. Access will now import your spreadsheet into the AddressList database and create the Addresses table 8. Access opens to the Tables object window and the Addresses table is listed in the object window. To open the database table, double click the Addresses table. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 13 of 18

9. Click the Record Selection buttons to move among the different records in your database. 10. Click the lower red X to close the database table or click the upper red X to close Microsoft Access and the database table. Congratulations! You have successfully imported an Excel spreadsheet in an Access database. Before you begin working with your newly created Access database, it is recommended that you create and run a query that will assist you with deleting duplicate records in your list. FINDING DUPLICATE RECORDS Close the table and in the Access Database window, select the Query object button on the left. 1. Click the Queries object button to open the Queries window Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 14 of 18

2. Click NEW 3. From the New Query window, select Find Duplicates Query Wizard 4. Click OK Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 15 of 18

5. Select either the Table or Query 6. Click Next 7. Select the files that may contain duplication information 8. Click Next Hint: Select all fields in the table to confirm the entire record is a duplicate! Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 16 of 18

9. Name the Query 10. Click Finish EVALUATING DUPLICATE RECORDS 1. The Find Duplicates for Addresses query opens. 2. Query results will show any record that has been entered multiple times 3. Review the results and make any necessary updates such as correcting typographical errors or delete the record. 4. Changes to the duplicated records must be made from the Table 5. Run the Query again to confirm all duplicates have been removed Hint: For a record to be a duplicate, every field must be an exact match. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 17 of 18

6. In the Query object window, select the Find Duplicates for Addresses query and click Open 7. The query results should display zero records. Now, you can use your Access skills to enhance the table properties, create a form to make the data entry of new address easy, or create queries to extract records that meet the criteria you specify. Copyright 2004 Tracey L. Fisher, All Rights Reserved Page 18 of 18