Experiment No.5

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Experiment no.

5
Cleaning data with text functions: Use of UPPER and LOWER, TRIM functions, Concatenate.
USE OF UPPER AND LOWER: Excel's three text functions are really very simple to use. Just
remember the upper function converts text to upper case, the lower function converts all text to
lower case, and the proper function capitalizes the first letter of the word, while changing the
remaining letters to lower case.
Step 1: Create a table as shown below for lower , upper and proper conversion.

Step 2: Type the formula as shown in the table for conversion. Then Click ENTER. Then
press CTRL+D to fill all the cells for same order.

Step 3: The result will shown as below.


TRIM FUNCTION: TRIM helps remove the extra spaces in data and thus clean up the cells in
the worksheet. In financial analysis, the TRIM function can be useful in removing irregular
spacing from data imported from other applications.
Step 1: Create a trim Table as shown below with unproper text.

Step 2: Type the formula as shown below.


=TRIM(PROPER(D7))
Then click ENTER. Then press CTRL+D to fill all the cells for same order.
Step 3: The result shows that all the different text will be converted into proper text, by removing
unwanted space.

CONCATENATE: The word concatenate is just another way of saying "to combine" or "to join
together". The CONCATENATE function allows you to combine text from different cells into
one cell.

Step 1: Create a following table for concatenate function as shown below as different
column for first and second name.
Step 2: Type the formula as shown in the table in the NAME column to combine two names togetherly.

=CONCATENATE(D6, ““, E6).

Then click ENTER. Click CNTRL+D to Drag all the column for all the names.

Step 3: The result will shown below

You might also like