Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.

Slides:



Advertisements
Similar presentations
Office Links - Sharing Data in Microsoft Office A Mixed Bag of Treasures Chester N. Barkan Registrar Long Island University, C.W.Post Campus.
Advertisements

AS ICT Finding your way round MS-Access The Home Ribbon This ribbon is automatically displayed when MS-Access is started and when existing tables.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 8Integrating Access Data.
Object Linking and Embedding Objective 6.02 Linking and Embedding.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
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
Integrating Access with the Web and with Other Programs.
Microsoft Office 2007 Access Integration Feature Sharing Data Among Applications.
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.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Tutorial 8 Sharing, Integrating and Analyzing Data
Tutorial 11: Connecting to External Data
CS&E 1111 Excel Database Features Using Excel as a database tool Objectives: Sorting data Filtering data Using Subtotals Pivot Tables Importing and Exporting.
DAY 6: EXCEL CHAPTER 2 Tazin Afrin September 05,
DAY 6: MICROSOFT EXCEL – CHAPTER 2 CONTD. MICROSOFT EXCEL – CHAPTER 3 Akhila Kondai September 04, 2013.
Working with a Database
Using a Spreadsheet Chapter 5.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel
Microsoft Access Illustrated Unit I: Importing and Exporting Data.
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,
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Import Data From Text Files and Other Sources Importing is the process of inserting data.
MICROSOFT EXCEL – CHAPTER 2 CONTD. MICROSOFT EXCEL – CHAPTER 10 Sravanthi Lakkimsetty Aug 31,2015
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
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.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 8 Exchanging Data Between Access and Other Applications Exploring Microsoft Office Access.
Key Applications Module Lesson 21 — Access Essentials
 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.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
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 2010 Integrating Word, Excel, Access, and PowerPoint.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
CCS – Mail Merge Mail Merge This presentation is incomplete without the associated discussion 1 Coloma Community Schools In-service 21 March 2014.
Microsoft Excel 2003 Illustrated Complete Data with Other Programs Exchanging.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Microsoft Excel 2013 Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
1 CSE 2337 Chapter 7 Organizing Data. 2 Overview Import unstructured data Concatenation Parse Create Excel Lists.
An electronic document that stores various types of data.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from another Access table Import data from another Access table.
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.
MICROSOFT EXCEL – CHAPTER 10 Sravanthi Lakkimsetty Jan 20,2016
Microsoft Excel Illustrated Introductory Workbooks and Preparing them for the Web Managing.
Mail Merge Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter.
1 New Perspectives on Access 2016 Module 8: Sharing, Integrating, and Analyzing Data.
Miscellaneous Excel Combining Excel and Access.
PIVOT TABLE BASICS.
GO! with Microsoft Access 2016
Microsoft Office Illustrated
Tutorial 8 Objectives Continue presenting methods to import data into Access, export data from Access, link applications with data stored in Access, and.
MS-Office It is a Software Package It contains some programs like
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
Microsoft Excel Chapters 2 &3
Tutorial 7 – Integrating Access With the Web and With Other Programs
Unit J: Creating a Database
Tutorial 8 Sharing, Integrating, and Analyzing Data
Presentation transcript:

Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1

Open files Copy – k:IS201\IS201-Hilfer\LabClass\TrainingLC.accdb to the u: drive or to your flash drive. – Enable the file so that you have read/write privileges. – k:IS201\IS201-Hilfer\LabClass\AlaskaRetailers.txt to the u: drive or to your flash drive. Open the TrainingLC database in MS Access. Use the “relationships” diagram in the Database Tools tab to familiarize yourself with the database. Open Excel and create a new, blank workbook. 2

Importing data into Excel Assumption is that data exists in a computerized form. Avoid re-typing data that already exists. 3

Formats to import and export data CSV: Comma separated values – Considered the “common denominator” among computer applications; almost any software can generated a CSV file. MS Applications: Excel, SharePoint, Outlook, SQL Server, Access XML: Extensible markup language. – Used to exchange data among different organizations. – Set of rules for encoding data; open standards. ODBC: Open database connectivity – Standard interface among differing DBMS’s. HTML: Hypertext markup language. PDF: Portable document format. 4

Integrating Excel with other programs When you integrate information between programs, the program containing the original information, or object, is called the source program, and the program in which you place the information created by the source program is called the destination program. – Importing/Copying: Contents are transferred from source to destination; no connection is made with source. Destination is in charge once the copy if complete. – Linking: Contents are transferred from source to destination, but an active connection is maintained to the source. Any changes made in the source are reflected in the contents. 5

Copying/Pasting data In the Access database, open the trainer table in datasheet view. Copy the table. Paste the table into Excel. – Note the format of the columns that are displayed in Excel. The copies of the data are independent; changes made in Access or Excel will not affect the other. 6

Linking data from Access to Excel Use a new worksheet in Excel. On the data tab, select “Get External Data” and choose “From Access” Locate your database as your data source and open it. Look at the Data Link Properties and click OK. Click OK for the OLE DB Initialization Information. Choose the table called “Trainer” and click OK. Note that the data comes into Excel as a table – do not convert the table to range or the link will be lost. Experiment with changing data between Access and Excel. – What can/can’t be changed? – What does the Refresh button do? 7

Copying data from Excel to Access Copy and paste Sheet1 to Sheet2 in Excel. – Rename Sheet1 to “Link to Access” and Sheet 2 to “Link from Excel”. Click on the External Data tab in Access. – Select Import & Link, Click on Excel. Read the options. Select your current Excel spreadsheet as the source data file name. Select “Import the source data…” and follow the instructions provided for connecting the two. Can you modify the data and see changes reflected between the two packages? 8

Linking data from Excel to Access Click on the External Data tab in Access. – Select Import & Link, Click on Excel. Select your current Excel spreadsheet as the source data file name. Select “Link to the data source…” and click OK. Select appropriate sheet and click “next”. Click next again, give the table a name and click OK. Open the table you just created. Try and change data in it. Go back to Excel and change data there. – Do you see the change reflected in Access? 9

Access queries are a good way to link data Write a query that combines all five tables in the Access database. – Create tab/query design – Create and save query as LabQuery. Look at it in datasheet view. Link the data to Excel – Data tab/Get External Data/From Access – Locate LabQuery in database. In Access, change Jane Martin’s hourly rate in the Trainer table to $250/hour. – See the change in the query datasheet. – Look at the data in Excel. – Refresh the data in Excel and look again. 10

Key Points Data can be copied and linked relatively easily between Access and Excel. Must keep track of the source and destination. – The source can change data; the destination cannot. Two way update of data is not automatic. Must re- upload or write a custom application to perform two way updates of data. Let the two programs do what they do best. – Store and update data in Access; – Write queries in Access that will be uploaded and linked to Excel. – Do calculations and visualizations in Excel. 11

Parsing and Manipulating Data Data parsing – Breaking data into smaller pieces by following a pre- defined set of rules. – Can parse based on context, construction, or other pre- defined method Data manipulation – Moving or changing data content or structure based on a pre-defined set of rules. 12

Manipulation functions Import data requiring manipulation – Data tab, Get External Data, click on From Text. – Locate the AlaskaRetailers.txt file and import it into Excel. – While this is a text file, it is not comma delimited; all data is stored on separate lines. This is a standard mailing label format – great for mailing labels, not as great for other purposes. We are going to manipulate the data so that an address is on a single line divided into appropriate columns. 13

Concatenation Combining data and literals together can be done with either the & or the CONCATENATION function. Concatenate the data in A1 through A6 and place in cell B1. Separate each piece of data with commas. Double click on the fill handle to fill the column. Which data in column B is “right” and which is “wrong” for a CSV version of the data? 14

Extracting characters The RIGHT and LEFT functions let you extract characters from the right and left side of a cell, respectively. We are going to use the RIGHT and LEFT functions to better understand the contents of the data. Syntax: =RIGHT(cell, number of characters) =LEFT(cell, number of characters) 15

Cleaning data Sometimes data has blank spaces that must be eliminated before other rules can work correctly. TRIM removes all the spaces in a cell except those between characters. =TRIM(CONCATENATE(A1, ", ", A2, ", ", A3, ", ", A4, ", ", A5, ", ", A6)) =CONCATENATE(TRIM(A1),", ",TRIM(A2),", ",TRIM(A3),", ",TRIM(A4),", ",TRIM(A5),", ",TRIM(A6)) After cleaning the data with the TRIM function, then use the RIGHT function in column C to identify the last 5 characters of the contents of column B. 16

Finding text inside a field Every correct row in column B includes a phone number as the last text string. That means the correct data has a dash as the first character in column C. Column D will find that dash. =FIND("-",C1) 17

Sorting and deleting Standard test procedure. We are about to delete rows from the worksheets. We don’t want to destroy our work (potentially…) so copy entire worksheet to a new worksheet. That way you can return and try again without having to start over. Copy as values; do not copy the formulas. Sort (data tab) by column D. Delete all rows after the value 1 in column D. Delete columns A, C, and D. We now have comma delimited data in column A. 18

A wizard for conversion… Select column A. In the Data Tools group on the Data tab on the ribbon, click the Text to Columns button – Data type is delimited. – Data delimiter is a comma. – Preview the data. – Click the finish button. Add a header row if desired. 19

Key Points Excel provides many data manipulation functions. Just a few were discussed in class: – RIGHT, LEFT – TRIM – CONCATENATE – FIND (case sensitive locator) – SEARCH (not case sensitive) – LEN – EXACT – REPLACE – LOWER, UPPER, PROPER 20