Miscellaneous Excel Combining Excel and Access.

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

© Paradigm Publishing, Inc Access 2010 Level 2 Unit 2Advanced Reports, Access Tools, and Customizing Access Chapter 8Integrating Access Data.
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.
Tutorial 8 Sharing, Integrating and Analyzing Data
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
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Jason Davidson Chapter 10 Imports, Web Queries,
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
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
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
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.
 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.
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.
Highline Class, BI 348 Basic Business Analytics using Excel Import, Clean, Transform, Data 1.
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.
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.
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
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.
Access Tutorial 2 Building a Database and Defining Table Relationships
International Computer Driving Licence Syllabus version 5.0
PIVOT TABLE BASICS.
Tutorial 11: Connecting to External Data
GO! with Microsoft Access 2016
Computer Fundamentals
Access Creating a Database
Microsoft Office Illustrated
Access Creating a Database
Microsoft Access 2003 Illustrated Complete
Exchanging Data with Other Programs
Tutorial 8 Objectives Continue presenting methods to import data into Access, export data from Access, link applications with data stored in Access, and.
ITEC 1001 Test 3 Review 11/8/2018.
Exporting & Formatting Budgets from NextGen o Excel
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
MODULE 7 Microsoft Access 2010
Welcome ! Excel 2013/2016 Data Consolidation (Lab Format)
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
Navya Thum January 30, 2013 Day 5: MICROSOFT EXCEL Navya Thum January 30, 2013.
Chapter 18 Finalizing a Database.
Tutorial 7 – Integrating Access With the Web and With Other Programs
Unit J: Creating a Database
Tutorial 8 Sharing, Integrating, and Analyzing Data
Excel Tips & Tricks July 18, 2019.
Presentation transcript:

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

Open files COPY – DO NOT OPEN FILES FROM THE K DRIVE!! k:IS201\IS201-Hilfer\LabClass\GamesLab.accdb to the u: drive or to your flash drive. k:IS201\IS201-Hilfer\LabClass\AlaskaRetailers.txt to the u: drive or to your flash drive. Open the GamesLab 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.

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

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.

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.

Copying/Pasting data In the Access database, open the customer 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.

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 “Customer” 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?

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 Myrtle Johnson’s address to 123 Oak Street. See the change in the query datasheet. Look at the data in Excel. Refresh the data in Excel and look again.

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.

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. Excel provides many functions for parsing and manipulating data

Manipulating Data The first and last names of customers were entered into the database in all capital letters. We need to change the names so that only the first letter is capitalized (Proper format). The Proper() function in Excel will accomplish this task Upper() and Lower() functions convert all text to upper or lower case letters respectively.

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.

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?

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)

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.

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)

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.

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.

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