Week 1 Data Analysis S01: How to get Data from Internet? Example

Week 1 Data Analysis
S01: How to get Data from Internet?
Example 1: Top 100 Retailers
Step 1: Open a excel file, move the mouse to the cell A1
Step 2: Click “InsertDataFrom Text”. A window jumps out, please find the data you
download “Week1_Data_Top100_Retailers_2015.txt”, click it.
Step 3:
Step 4:
Step 5:
Step 6:
Example 2: Practice
Please go to web https://nrf.com/2014/top100-table
Try to input Data into an Excel file named IndexNumber_LastNameFirstName_Week1_S1 (For
example 99_ChenWendy_Week1_S1). Remember you need to create a text file and copy correct
information from Web to the text file
Example 3: Data in Stock Market
Step1: Go to http://finance.yahoo.com/stock-center/
Step2: Find “Market Move”, click “load 10 more” a few times until Top 50 Market-move stocks
show up.
Step 3: Copy it into text file. Two methods of select a large area are as follows:
Method 1: using Mouse
(a) select the First row
(b) hold Left Mouse Button
(c) Roll the mouse to the end of the target area, make sure that the target area is
highlighted
(d) Release left Mouse Button, Click Right Mouse Button and select “copy” in the jump-out
window.
(e) Open a text file, click the left-top corner
(f) Click Right Mouse Button and select “Paste”
(g) Click “Ctrl+S” to save the text file
When planning to copy a large area,
(a) select the First row
(b) hold “Shift”
(h) move mouse to the end of the target area, click the right-bottom of the target area, ,
make sure that the target area is highlighted
(i) Release “Shift” Button, Click Right Mouse Button and select “copy” in the jump-out
window.
(j) Open a text file, click the left-top corner
(k) Click Right Mouse Button and select “Paste”
(l) Click “Ctrl+S” to save the text file
Note: At the end of Class, you need to Email the excel file to [email protected]
Subject: IndexNumber_LastNameFirstName_Week1_S1 (For example
99_ChenWendy_Week1_S1).
Attachment: excel files
Before you send, please show your hand, let Wendy check the format for you and then send it
out.
S02: Basic Data Analysis
Example 1: Input “Week1_Data_Stock_MarketMove”into an Excel Sheet
1.1 Freeze Top Row
(a) Click ViewFreeze PanesFreeze Top Row
1.2 Freeze First Column
(a) Click ViewFreeze Panes Freeze First Column
1.3 Freeze More Rows
(a) Select the first Column which you don’t want to Freeze (For example: select “Row
10” when freezing Rows 1-9)
(b) Click ViewFreeze Panes Freeze Panes
1.4 Freeze More Columns
(a) Select the first Column you don’t want to Freeze (For example: select “Column D”
when freezing Columns A-C)
(b) Click ViewFreeze Panes Freeze Panes
1.5 Freeze Panes
(a)Select the Cell which column is the first column you don’t want to Freeze and which
column is the first column you don’t want to Freeze (For example: select “Cell D5” when
freezing Panes A1-C4)
(b)Click ViewFreeze Panes Freeze Panes
To unfreeze, just click “ViewFreezePanesUnfreeze”
Example 2: Practice Input “Week1_Data_Top100_Retailers_2015”into an Excel file named
IndexNumber_LastNameFirstName_Week1_S2(For example 99_ChenWendy_Week1_S2)
Please create five different sheets as in the excel file.
Sheet 1, named as “FreezeFirstColumn”, freeze Column A as follows
Sheet 2, named as “FreezeTopRow”, freeze Row 1 as follows
Sheet 3, named as “FreezeRows”, freeze Rows 1-4 as follows
Sheet 4, named as “FreezeColumns”, freeze Columns A-C as follows
Sheet 5, named as “FreezePanes”, freeze Cells A1-C1 as follows
Remember Click “Ctrl+S” after you finish.
Example 3: Keep on working with Data MarketMove
3.1 Split: “ViewSplit”
UnSplit: “ViewSplit”
3.2 Hide
Step1: Select Colomns (or Rows) you want to Hide
Step 2: Click Right Mouse Button
Step 3: Click “Hide”
Unhide
Step1: Select Colomns (or Rows) which hiding some Columns (or Rows) (For example: Select
Columns 9-14 in above picture)
Step 2: Click Right Mouse Button
Step 3: Click “unHide”
Note: At the end of Class, you need to Email the excel file to [email protected]
Subject: IndexNumber_LastNameFirstName_Week1_S2 (For example
99_ChenWendy_Week1_S2).
Attachment: excel files
S03: Analyzing Information
Example 1: Data: National Part
Task 1: Create Header for Table
Step 1: Click “InsertTable”
Step 2: “Design” Window show up and make sure “Header Row” is checked.
Task 2: Simple Statistics
Q2.1 Calculate Average year established Excel Function: average(range)
Q2.2 Count Parks established at or after 2000 Excel Function: countif(range,criteria) such as
=COUNTIF(C2:C62,">=2000")
Q2.3 Find the time the first National Park established Excel Function: min(range)
Q2.4 Find the time the last National Park established Excel Function: max(range)
Answer:
Task 3: Sort
Step 1: Click a cell inside the table
Step 2: Click the “sort button”
Step 3: Select the first sort key
Step 4: (Optional) Click Add Level, select the second sort key
Step 5: Click “OK”
Practice: If we want to sort by year first and then by State, you only need to change the order of
the list of Sort Table.
Task 4: Filter
Q4.1: AutoFilter Windows
Step 1: Turn on Filter Window which can be “turn on” or “turn off” by selecting a cell at table
and then click “DataFilter”
Step 2: Pull down Filter Window
Step 3: Select Filter Key
Step 4: Click OK
Q4.2: Advanced Filter
Step 1: Write down Filter Condition
Note:
Step 2: Click DataSort&FilterAdvanced
Step 3: List Range
Step 4: Criteria Range
Step 5: Click Ok
If you want to clear Filter, you can click “Clear” at Sort&Filter Menu
Example 2: Practice Input “Week1_Data_Top100_Retailers_2015”into an Excel file named
IndexNumber_LastNameFirstName_Week1_S3 (For example 99_ChenWendy_Week1_ S3)
Please create two different sheets in the excel file.
Sheet1, named “Sorting”, please sort the data by “USA Sales Growth ('14 v '13)” decreasing
firstly and then by “2014 Retail Sales (000)” decreasing secondly.
Sheet 2, named “Filtering”, please using filter listing Retailers which “Growth ('14 v '13)” are
bigger than or equal to 5% as follows
Note: At the end of Class, you need to Email the excel file to [email protected]
Subject: IndexNumber_LastNameFirstName_Week1_S3 (For example
99_ChenWendy_Week1_S3).
Attachment: excel file
S04: Pivot
Please download ” Week1_Data_Vote”. Rename it as
IndexNumber_LastNameFirstName_Week1_S4 (For example 99_ChenWendy_Week1_S4)
In the vote sheet, (a)define Table, (b)Freeze A1
Task 1: Count Vote for different Parties
Step 1: Click “Insert PivotTables”. A window named “Create Pivot Table” shows up. Click
“OK”. Rename the sheet as “Task1”
Step 2: A new sheet jumps up. Renamed it as “CountVote”.
Step 3: Select Row Lables and Count of Voters.
Step 4: Add Filter Condition
Task 2: Count Vote for different Parties and different Age Group
Step 1: Click “Insert PivotTables”. A window named “Create Pivot Table” shows up. Click
“OK”. Renamed the sheet as “Task2”
Step 2: A new sheet jumps up. Rename it as “CountVote_2”.
Step 3: Select Row Lables, Column Lables and Count of Voters. And add Filter Condition
Task 3: Calculate average Years Reg for different Parties and different Precincts
Step 1: Create Pivot Table. Rename the sheet as “Task3”. Select Data to Pivot Table as follows
Step 2: Click “Count of Year RegValue Field Settings”
Step 3: Select Average
Task 4: Practice, Please using “Pivot Table” to create following sheets
The sheet, named “Practice_1”, count Votes for different Age Group
The sheet, named “Practice_2”, Count Votes for different Parties and Lastvoted
The sheet, named “Practice_3”, Calculate average Years Reg for different Parties and different
Age Group
Note: At the end of Class, you need to Email the excel file to [email protected]
Subject: IndexNumber_LastNameFirstName_Week1_S4 (For example 99_ChenWendy_Week1_
S4).
Attachment: excel file