Tutorial 11: Connecting to External Data

Slides:



Advertisements
Similar presentations
Tutorial 11: Connecting to External Data
Advertisements

Tutorial 8 Sharing, Integrating, and Analyzing Data
Decision Analysis Tools in Excel
Tutorial 8: Developing an Excel Application
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Microsoft Excel 2010 ® ® Tutorial 6: Managing Multiple Worksheets and Workbooks.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
® Microsoft Office 2010 Excel Tutorial 2: Formatting a Workbook.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Exploring Microsoft Excel 2002 Chapter 7 Chapter 7 List and Data Management: Converting Data to Information By Robert T. Grauer Maryann Barber Exploring.
Managing Grades with Excel Viewing Help To view Help 1.Open Excel on your computer. 2.In the top right hand corner of the Excel Screen type in the.
Microsoft Excel 2010 Chapter 7
Access Tutorial 3 Maintaining and Querying a Database
Integrating Access with the Web and with Other Programs.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 5 1 Microsoft Office Excel 2003 Tutorial 5 – Working With Excel Lists.
SUNY Morrisville-Norwich Campus- Week 7 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Tutorial 8 Sharing, Integrating and Analyzing Data
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Pasewark & Pasewark 1 Access Lesson 6 Integrating Access Microsoft Office 2007: Introductory.
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Maintaining and Querying a Database Microsoft Access 2010.
Classroom User Training June 29, 2005 Presented by:
Working with a Database
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel
Analysing Data with Excel Importing Data from a Text File To import data from a text file: 1.Start Excel. 2.Click File, click New, click Workbook,
The Advantage Series ©2004 The McGraw-Hill Companies, Inc. All rights reserved Chapter 8 Managing Worksheet Lists Microsoft Office Excel 2003.
Chapter 19 Managing Worksheet Lists. Creating Lists ► Microsoft Office Excel 2003 is inarguably the most powerful electronic spreadsheet available. ►
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Class Agenda Excel  PivotTables Excel & Word Integration Try PivotTable tutorial & work on Assignment #1.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
 Agenda: 4/24/13 o External Data o Discuss data manipulation tools and functions o Discuss data import and linking in Excel o Sorting Data o Date and.
Chapter 17 Creating a Database.
Analysing Data with Excel Viewing Help To view Help 1.On the Start menu, point to Programs, and then click Microsoft Excel. 2.On the Help menu,
® Microsoft Office 2013 Access Creating a Database.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Microsoft Excel 2003 Illustrated Complete Data with Other Programs Exchanging.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Microsoft ® Excel ® 2013 Enhanced Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
Excel Tutorial 8 Developing an Excel Application
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Tutorial 11: Connecting to External Data
Tutorial 6: Managing Multiple Worksheets and Workbooks
Microsoft Office Illustrated
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office Access 2003
Microsoft Office Access 2003
Microsoft Excel 2007 – Level 2
Tutorial 7 – Integrating Access With the Web and With Other Programs
Tutorial 8 Sharing, Integrating, and Analyzing Data
Presentation transcript:

Tutorial 11: Connecting to External Data

Objectives Import data from a text file Work with connections and external data ranges Define a trusted location Understand databases and queries Use the Query Wizard to import data from several tables Edit a query New Perspectives on Microsoft Excel 2010

Objectives Import data into a PivotTable and PivotChart Create a Web query Retrieve data from the Web Use hyperlinks in a workbook Access data from an XML document Work with XML data maps New Perspectives on Microsoft Excel 2010

Visual Overview New Perspectives on Microsoft Excel 2010

Retrieving Text Data New Perspectives on Microsoft Excel 2010

Exploring External Data Sources Historical data, long-term trends (text files) Current trend information (databases) Up-to-the-minute data (the Internet) New Perspectives on Microsoft Excel 2010

Importing Data from Text Files Simple, widely used format for storing raw, unformatted data (text and numbers) Useful for sharing data across software programs and computer systems Ways to structure file contents Use a delimiter Columns of data are separated by a symbol Use fixed-width text file Each column starts at the same location New Perspectives on Microsoft Excel 2010

Understanding Text File Formats Delimited text Fixed-width text New Perspectives on Microsoft Excel 2010

Importing Data from Text Files Text Import Wizard determines whether data is fixed-width or delimited format Steps of Text Import Wizard Start the wizard Specify starting row; edit column breaks Delimited format: delimiter determines column breaks Fixed-width format: wizard guesses locations of column breaks Format data in each column New Perspectives on Microsoft Excel 2010

Starting the Text Import Wizard New Perspectives on Microsoft Excel 2010

Specifying the Starting Row New Perspectives on Microsoft Excel 2010

Formatting and Trimming Incoming Data New Perspectives on Microsoft Excel 2010

Exploring Connections Defined process of retrieving data from an external file Importing data creates a connection between the workbook and the text file New Perspectives on Microsoft Excel 2010

Exploring Data Ranges External data range Each location in which a connection is applied Each external data range is given a name, which can be edited Excel can update (refresh) data ranges and connections manually or automatically New Perspectives on Microsoft Excel 2010

Exploring Data Ranges New Perspectives on Microsoft Excel 2010

Defining a Trusted Location Once a trusted location is defined, Excel will access the connection to the data source without prompting for confirmation that the connection is secure New Perspectives on Microsoft Excel 2010

Visual Overview New Perspectives on Microsoft Excel 2010

Excel Databases and Queries New Perspectives on Microsoft Excel 2010

Introducing Databases Excel can retrieve data directly from most database programs A common field can match information from two tables into a single table New Perspectives on Microsoft Excel 2010

Introducing Queries Create a query to look at only specific information from a database A query can: Contain criteria (conditions that limit the number of records in the results) Specify how you want the data to appear New Perspectives on Microsoft Excel 2010

Using Microsoft Query Excel supports two ways of importing database data Create a connection to the database and retrieve all the information from a single table Use Microsoft Query to retrieve data from multiple tables New Perspectives on Microsoft Excel 2010

Steps in the Microsoft Query Wizard Create a data source Choose table and fields (columns) to include Determine whether to retrieve all records or to filter data to retrieve only records that satisfy particular criteria Specify how to sort the data New Perspectives on Microsoft Excel 2010

Creating a Data Source Choose Data Source dialog box New Perspectives on Microsoft Excel 2010

Choose Table and Fields (Columns) New Perspectives on Microsoft Excel 2010

Choose Table and Fields (Columns) New Perspectives on Microsoft Excel 2010

Filtering and Sorting Data Filter Data dialog box Sort Order dialog box New Perspectives on Microsoft Excel 2010

Saving a Query Can be run later without redefining it Accessible to other network users Appears on Queries tab of Choose Data Source dialog box (allows quick access) Save to trusted locations so that Excel can update queries when workbook is opened New Perspectives on Microsoft Excel 2010

Importing Data from Microsoft Query Query Wizard – Finish dialog box options Return (import) data into the Excel workbook Display results in Microsoft Query for further editing and query definition Import data in an Excel table, a PivotTable, a PivotTable and PivotChart, or create the connection without importing the data New Perspectives on Microsoft Excel 2010

Importing Data from Microsoft Query Formatted Portfolio worksheet New Perspectives on Microsoft Excel 2010

Importing Data from Microsoft Query Connection Properties dialog box New Perspectives on Microsoft Excel 2010

Editing a Query Edit a query to: Add new columns to the worksheet Change sort order options Specify a filter Edit a query by editing the definition of the connection Excel recognizes that Query Wizard was used to define parameters of the connection and restarts the wizard New Perspectives on Microsoft Excel 2010

Editing a Query New Perspectives on Microsoft Excel 2010

Editing a Query Revised portfolio table New Perspectives on Microsoft Excel 2010

Importing Data into PivotTables and PivotCharts Can select and display values from only one area at a time, adding only a single table and chart to the workbook Data used in the table and chart can be stored in an external data source Initial table and chart are empty until you define where to place fields from data source New Perspectives on Microsoft Excel 2010

Importing Data into PivotTables and PivotCharts PivotTable and PivotChart added to worksheet New Perspectives on Microsoft Excel 2010

Importing Data into PivotTables Can set PivotTable layout, change labels, and format data values New Perspectives on Microsoft Excel 2010

Importing Data into PivotCharts Can format PivotCharts New Perspectives on Microsoft Excel 2010

Visual Overview New Perspectives on Microsoft Excel 2010

Web and XML Connections New Perspectives on Microsoft Excel 2010

Creating a Web Query Specify the URL and use Excel Web Query to select portions of the Web page to import URL form if file is stored on a Web server URL form if file is stored locally (not on Web server) New Perspectives on Microsoft Excel 2010

Creating a Web Query New Web Query dialog box New Perspectives on Microsoft Excel 2010

Creating a Web Query Text is imported into worksheet as unformatted text New Perspectives on Microsoft Excel 2010

Creating a Web Query To format a Web query, retrieve Web page format using: None (default; imports text but not formatting) Rich text formatting only Full HTML formatting To save a Web query Save to a permanent file that is shared Saved connection file can be loaded in any Office program New Perspectives on Microsoft Excel 2010

Importing Data from the Web Use a Web query to retrieve online data and import it into a workbook Excel has several Web query files stored in a library of built-in Web queries Some include parameters for specifying exact information to be imported New Perspectives on Microsoft Excel 2010

Importing Data from XML Office 2010 files are stored in an XML-based file format called Office Open XML format An XML document is structured like a tree: elements are placed within one another, descending from a common root element New Perspectives on Microsoft Excel 2010

Importing Data from XML Data map of the Data.xml document New Perspectives on Microsoft Excel 2010

Importing Data from XML XML author can: Define what makes up a valid document (which elements are required, which are optional) Indicate the type of values each element can contain Schemas, though not required in XML, ensure that data inserted into an XML document follows predefined rules for content and structure New Perspectives on Microsoft Excel 2010

Loading an XML Data Map Commands to access data map of an XML document are part of Excel Developer tools Show the Developer tab on the Ribbon New Perspectives on Microsoft Excel 2010

Binding XML Elements to a Worksheet Using XML as a data source: Allows you to attach (bind) elements to specific cells in the workbook Provides greater freedom in designing worksheet layout New Perspectives on Microsoft Excel 2010

Importing XML Data To retrieve XML data, refresh the connection to the data source Excel automatically places data in the correct worksheet cells Can automatically update XML data in a workbook to reflect changes to source XML document Can use a data map to export data from a worksheet to an XML document New Perspectives on Microsoft Excel 2010

Understanding Real-Time Data Acquisition Another data source: real-time data values from measuring devices and scientific equipment Usually requires purchase of an add-in to work with Excel and the device Excel provides the RTD function to facilitate importing data from an external device Can save hours of data entry time New Perspectives on Microsoft Excel 2010