You are previewing Managing Data with Microsoft® Excel.
O'Reilly logo
Managing Data with Microsoft® Excel

Book Description

You have learned the methods to the madness of Excel. Formulas and functions are friends instead of foes. Yet you know there's something missing that could make your job even easier. That "something" is efficient and effective data management. Managing Data with Excel is the only book on the market that focuses on just that. Learn how to efficiently move data, automate data storage and import data into worksheets and pivot tables. Case studies are included in each chapter to illustrate real-world applications of these functions. Invest your time in learning this now so that you can stop wasting your time figuring out how to work around problems.

Table of Contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. We Want to Hear from You!
  5. Introduction
  6. Pitfalls in Data Management
    1. Misusing Excel as a Database Management Tool
      1. Putting Data Management into Context
      2. CASE STUDY: Overworking Functions
      3. Transposing Rows and Columns
      4. Using Labels Instead of Codes
      5. Handling Variable Numbers of Records per Category
      6. Changing Horses
  7. Managing Data Inside Excel
    1. Excel's Data Management Features
      1. Using the Worksheet Functions: An Overview
      2. Locating Data with OFFSET
      3. Finding Data with INDEX
      4. Finding Data with MATCH
      5. Using MATCH with Other Functions
      6. Using VLOOKUP
      7. Rearranging Data with TRANSPOSE
      8. Getting Data from a Pivot Table: GETPIVOTDATA
      9. Looking Ahead
    2. Excel's Lists, Names, and Filters
      1. Creating Lists
      2. Sorting Lists
      3. Working with Names
      4. Filtering Data with the AutoFilter
      5. Using the Advanced Filter
      6. Looking Ahead
  8. Managing External Data from Inside Excel
    1. Importing Data: An Overview
      1. Getting External Data into the Workbook
      2. CASE STUDY
      3. Importing Data to Pivot Tables
      4. Looking Ahead
    2. Using Microsoft Query
      1. Understanding “Query”
      2. Querying Multiple Tables
      3. Joining Parent and Child Records
      4. Using Database Queries
      5. Handling the Data Range
      6. Managing Boolean Fields and Check Boxes
      7. Looking Ahead
    3. Importing Data: Further Considerations
      1. Understanding Pivot Tables
      2. Preparing Data for Pivot Tables
      3. Using Criteria with Microsoft Query
      4. Querying Web Sites
      5. Looking Ahead
  9. Managing Databases from Inside Excel
    1. VBA Essentials Reviewed
      1. Using VBA to Manage Data
      2. Establishing Subroutines
      3. Understanding Dot Notation
      4. Using Loops
      5. Using With Blocks
      6. Understanding the Macro Recorder's Code
      7. Using Object Variables
      8. Looking Ahead
    2. Opening Databases
      1. Connecting to a Database
      2. Connecting Using ADO
      3. Specifying the Data Source
      4. Opening the Connection
      5. Opening a Database Using DAO
      6. Dealing with Secured Jet Databases
      7. Opening a Secured Access Database
      8. Looking Ahead
    3. Managing Database Objects
      1. Creating Tables
      2. Defining Fields
      3. Creating Queries
      4. Looking Ahead
    4. Defining Fields and Records with ActiveX Data Objects and Data Access Objects
      1. Creating Databases from Excel
      2. Creating a New Database Using DAO
      3. Creating a Table and Fields Using ADO
      4. Declaring and Using Recordsets
      5. Understanding DAO Recordset Types
      6. Understanding ADO Recordset Types
      7. Looking Ahead
    5. Getting Data from Access and into Excel with ADO and DAO
      1. Using CopyFromRecordset
      2. Building an Application
      3. Bringing Data Back from a Parameterized Query
      4. Returning Data from a Database to a User Form
      5. Looking Ahead
    6. Controlling a Database from Excel Using ADO and DAO
      1. Using DAO to Execute Action Queries
      2. Using ADO to Execute Action Queries and Stored Procedures
      3. Using DAO Recordsets to Move Data from Excel to a Jet Database
      4. Using ADO to Move Data from Excel to a Database
      5. Looking Ahead
  10. Index