Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 3 : Look up the name of the month. a . In same cell ( C 2 ) , enter = VLOOKUP ( MONTH

Step 3: Look up the name of the month.
a. In same cell (C2), enter =VLOOKUP(MONTH(B2),Months!A2:B13,2,FALSE). What did this formula
return?
In the vlookup function, the first argument is the name of the item. In this case, it was MONTH(B2). The
second argument specifies the cell range that contains the data that VLOOKUP will search and return the
lookup value (Months!A2:B13). The column index number is the third argument (2).
You provided the month as a value using the Month function (MONTH(B2)). Next, the location of the
lookup table was specified (Months!A2:B13). The third parameter indicates the column index number.
Because the information in the Month column is desired, the column index number is 2. The last
argument indicates whether to look for approximate matches. In this case, the desired result is an exact,
so the last argument is FALSE.
In this example, VLOOKUP searches through the table in the Months sheet until it finds 2 in the first
column. Then it will move to the second column to find the Month and returns February.
b. Copy and paste the formula into other empty cells in the same column.
c. Name the column Join Month.
Part 3: Split Full Name Column into Different Columns
You can split text in one or more cells and parse it to put it across multiple cells. In this part, you will split the
Full Name column into two columns, Given Name and Family Name. You will split the data using some of the
Excel functions: RIGHT(), LEFT(), and LEN().
a. Select the Formula menu. Click Text. In the list of functions, read the description of these functions:
RIGHT, LEFT, LEN, and FIND.
What do the RIGHT or LEFT functions provide?
What does the LEN function return?
What does the FIND function return?
b. Using the name in A2, you can find the length of the string in the cell by entering =len(A2) into a blank
cell in column D, row 2.
How many characters are in the name Olivia Jones?
c. If you only want to display the first 4 characters in a string, you can enter =LEFT(A2,4) into the same cell.
What was the result?
d. Add the column Given Name in column D, row 1. Under the Given Name heading, enter =LEFT(A2,
LEN(A2)-(LEN(A2)-FIND("",A2)+1)).
What was the output?
e. Copy and paste the formula to the empty cells in the same column. Observe the results.
f. Explain how the fo I want to solve the questions in the picturesObjectives
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.
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 in the
first column and the name of month in the second column.
b. Rename Sheet 2 to Months.
Step 2: Parse the month information from the date.
In an empty cell in column C row 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)
image text in transcribed

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

Step: 3

blur-text-image

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

Describe the major factors distinguishing market structures.

Answered: 1 week ago

Question

11. Identify the stage of beyond duality in Gone With the Wind.

Answered: 1 week ago

Question

1. Identify three approaches to culture.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago