Download presentation
Presentation is loading. Please wait.
Published byBrayan Sweeting Modified over 10 years ago
1
“H AVE YOUR ANSWERS QUESTIONED.”
2
DAY 6: EXCEL CHAPTER 3 Cody Cutright cody.cutright@mail.wvu.edu September 8th, 2014
3
REMINDERS Homework #1 is due 09/12 at 11:55pm –Go to CS 101 website -> Instructors -> Cody Cutright -> Assignments 3
4
IMPORTING DATA 4 Importing is the process of inserting data from one application or file into another. Excel lets us import a few different types of data!
5
IMPORT(ANT) DECISIONS Decide ahead of time if you want to embed data or link to it. Embedded data: Is not linked to the original source, and can be edited. A change in the data in one place does not affect the other. Data as a connection: Linked to the original data, Excel can then be refreshed from the source and the data updated if any changes are made. 5
6
IMPORT A TEXT FILE Text Files: (Notepad, anyone?) –.txt file extension (SomeTitle.txt) –No formatting –No sound –No video –Lots of data! 6
7
WHERE DO THEY COME FROM? “When a text editor loves a character…” Can be created in Notepad Can be downloaded from an organization’s website (things like accident statistics, cars sold, etc) *The benefit is that you can import a text file into multiple different programs, without distorting the text. 7
8
DELIMITERS! Delimiters are special characters that separate the data, so it doesn’t run together. The most common delimiters: Tabs: TAB (Tab delimited) Commas:, (Comma Separated Value “CSV”) 8
9
TAB DELIMITED 9
10
TAB DELIMITED IMPORT 10
11
CSV 11
12
CSV IMPORT 12
13
IMPORT STEPS Data Ribbon Get External Data From Text Select File Follow Wizard Prompts 13
14
THE WIZARD 14
15
THE WIZARD – CONT’D 15
16
THE WIZARD – CONT’D 16
17
IMPORTING FROM ACCESS Databases are usually less intuitive about manipulating data, or lack the ability to do so Maintaining a database connection (in this case Access) eliminates the need to copy/paste data into Excel 17
18
ACCESS IMPORT STEPS 1.Start Excel, open an existing workbook 2.Click the Data Ribbon -> Get External Data - > From Access 3.Select the Access Database File, click open 4.Choose the table or query to import (Tables are one rectangle, queries two) 5.Select how you want to view the data in your workbook, such as Table or PivotTable 18
19
OTHER DATA SOURCES SourceDefinition SQL ServerCreate a connection to an SQL server table and import data as a table or PivotTable. Analysis ServicesCreate a connection to an SQL server analysis services cube, and import data as a table or PivotTable XML Data ImportOpen or map an XML file into Excel Data Connection WizardImport data for an unlisted format by using the Data Connection Wizard and OLEDB. Microsoft QueryImport data for an unlisted format by using the Microsoft Query Wizard and ODBC. 19
20
XML eXtensible Markup Language (XML) – is an industry standard for structuring data that enables data to be shared across applications, operating systems, and hardware. 20
21
WHY XML? It enables data to be sent/received between disparate and otherwise incompatible systems. ***Sidenote: XML describes the structure of data, not the appearance or formatting. 21
22
UNDERSTANDING XML SYNTAX 3bedrooms/2bathrooms-$1,000permonth- (305)555-1234 22
23
MARKED UP AS XML 3 2 $1,000 (305)555-1234 23
24
24
25
IMPORTING XML DATA Data Ribbon Get External Data From Other Sources From XML Data Import (Excel remembers this connection, and you can refresh the data if needed) 25
26
EMBEDDING XML DATA File -> Open File Type -> XML Select the correct file Select how you want to open the file 26
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.