Excel 2010 For Dummies
Book image
Explore Book Buy On Amazon

Excel 2010 can import data from an Access 2010 database table into a worksheet, a process known as making an external data query. After importing the data into Excel, you can then use the Filter buttons attached to the various fields to sort and filter the data as in an Excel table.

To make an external data query to an Access database table, follow these steps:

  1. In Excel, click the From Access button in the Get External Data group on the Data tab.

    Excel opens the Select Data Source dialog box.

    Access database tables are not the only external data sources on which you can perform external data queries. To import data from other sources, click the From Other Sources button on the Data tab to open a drop-down menu with several other options.

  2. Select the Access database file containing the table you want to import, and then click Open.

    The Select Table dialog box appears (unless the database contains only one table).

  3. Select the name of the Access data table that you want to import into the worksheet and click OK.

    The Import Data dialog box appears.

    Specify how and where to import the Access data in the Import Data dialog box.
    Specify how and where to import the Access data in the Import Data dialog box.
  4. Select the desired options in the Import Data dialog box.

    This dialog box contains the following option buttons:

    • Table to have the data in the Access data table imported into an Excel table in either the current or a new worksheet.

    • PivotTable Report to have the data imported into a new pivot table that you can construct with the Access data.

    • PivotChart and PivotTable Report to have the data imported into a new pivot table with an embedded pivot chart that you can construct with the Access data.

    • Existing Worksheet (default) to have the data in the Access data table imported into the current worksheet starting at the specified cell address.

    • New Worksheet to have the data in Access imported into a new worksheet that's added to the beginning of the workbook.

  5. Click OK.

    The imported data from the specified Access table appears in the worksheet.

    A worksheet after importing an Access data table.
    A worksheet after importing an Access data table.

Excel keeps a list of all the external data queries you make so that you can reuse them to import updated data from another database or Web page. To reuse a query, click the Existing Connections button on the Data tab to open the Existing Connections dialog box. Click the name of the query to repeat and click Open.

About This Article

This article is from the book:

About the book author:

Greg Harvey, PhD, is president of Mind Over Media, Inc. He is the author of all editions of Excel For Dummies, Excel All-in-One For Dummies, Excel Workbook For Dummies, and Windows For Dummies Quick Reference. He's also an experienced educator.

This article can be found in the category: