1.1 MSE - Chapter 6 - Text - Formulas - Case Study PDF
1.1 MSE - Chapter 6 - Text - Formulas - Case Study PDF
In this case study, you will use common Text functions to extract first name and last name from
an email list and combine the two to create full name.
Since he only has email ids, he needs to extract executives’ First name from the email id so he
can address the emails personally. He also needs to extract Last name and create the full name
for updating BeeSoft’s CRM software.
In this case study, we will help Samresh extract this information and format it.
In order to get and format the desired information, we will first separate the name from the domain
in the email id. Then we will extract first and last name. We will then combine the two to get the
full name. Finally, we will format the full name as proper case.
1. Select the column titled First Name. Click Insert in Cells group on Home tab and select
Insert Sheet Columns from the list. Repeat the process to insert one more column.
2. Type Name Length in cell B1. We will use this column to store information about the “@”
symbol that separates name and domain in the email id.
3. Type Extracted Name in cell C1. We will store the name extracted from email id in this
column.
4. We will use FIND function to find the location on @ symbol in the email id. Select cell B2.
Click Text in Function Library group on the Formulas tab. Select FIND from the list.
5. Type @ in Find_text and A2 in Within_text in the Function Arguments dialog box. Click
OK.
Cell B2 now displays 13 which is the position of @ in the email id stored in cell A2.
6. Enter =LEFT(A2,B2-1) in cell C2. The formula returns the text string in cell A2 starting
from first most position up to one place before the @ sign.
The second parameter in the formula subtracts 1 from cell B2 as we need to extract text
string up to one place before the @ sign.
The cell C2 now displays the name of the person as vivek.sharma.
7. Type =LEFT(C2,FIND(".",C2)-1) in cell D2.
This formula first calculates the position of “.” in cell C2. Then it extracts text string starting
from left position and up to 1 place before “.”. This gives us the first name of the person
as the first name and last name are separated by the full stop sign.
The cell D2 now displays vivek.
8. Type =RIGHT(C2,(LEN(C2)-FIND(".",C2))) in cell E2.
The worksheet now has the information Samresh needs for sending out the emails.