Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab - Preparing Data Objectives Part 1 : Import the Data into Microsoft Excel Part 2 : Get the Month out of a Date Part

Lab - Preparing Data
Objectives
Part 1: Import the Data into Microsoft Excel
Part 2: Get the Month out of a Date
Part 3: Split Full Name Column into Different Columns
Part 4: Concatenate Columns
Background / Scenario
Preparing the data is a critical step in data analysis. You may receive data from different sources and you will
need to manipulate the data and extract the necessary information.
In this lab, you will explore how to use the look up information function. You will also explore how to split and concatenate columns of data.
Required Resources
1 PC with Microsoft Excel installed (Other spreadsheet programs, such as LibreOffice or Google Sheets, may be used, but they may not have the same formula syntax)
Part 1: Import the Data into Microsoft Excel
Step 1: Create a .csv file.
a. Open text editor and paste the following text.
Full Name, Join Date
Olivia Jones, 02/28/2010 Lucas Smith, 9/14/2011 Ava Williams, 4/12/2012 Liam Johnson, 7/31/1999
b. Save the file as a .csv.
Step 2: Import the .csv file into Excel.
a. Open Excel.
b. Select Data from the menu. Select Get External Data > From Text.
c. Select the saved.csv file and click Import.
d. The Text Import Wizard opens. In the Step 1 of 3 dialog box, select the My Data has headers checkbox.
Click Next.
e. In the Step 2 of 3 dialog box, unselect Tab checkbox and select the Comma checkbox. Click Next.
f. Select the Join Date column, and select Date. Verify that the dropdown displays MDY. Click Finish.
g. Click OK to open the data in the existing worksheet.
2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 4
Lab - Preparing Data
Part 2: Get the Month out of a Date
Excel has other functions that allow you to parse out the information from a date. Furthermore, it allows you to lookup values in a different table. In this part, you will extract the month out of a date and use vlookup to convert it into a string that spells out the name of the month.
The MONTH function returns the month as a number from 1(January) to 12(December). VLOOKUP function looks for a value in the leftmost column of a table and returns a value in the same row from the column you
chose.
Step 1: Add a lookup table.
a. To lookup the month, a table with the name of each month is created. In a new sheet, enter 1-12 the
first column and the name of month in the second column.
b. Rename Sheet2 to Months.
Step 2: Parse the month information from the date.
In an empty cell in column Crow *2 enter =month(B2). The data in cell B2 is 2/28/2010. What did this formula
return? Verify the number format is set to General (Right-click Format Cells > General)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

=+ (a) Show that C is uncountable but trifling.

Answered: 1 week ago

Question

What is cultural tourism and why is it growing?

Answered: 1 week ago

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago