Professional Documents
Culture Documents
Applied Excel Practical - 2: Introduction
Applied Excel Practical - 2: Introduction
TEXT FUNCTIONS
INTRODUCTION: -
The TEXT function lets you change the way a number appears by applying formatting to it with
format codes. It's useful in situations where you want to display numbers in a more readable
format, or you want to combine numbers with text or symbols.
AIM: -
(a) Concatenate
(b) Proper
(c) Trim
(d) Substitute
(e) If
(f) In the attached excel sheet column B contains combination of name, Department and
place. Using suitable text function separate out (trim) place.
About Dataset: -
The dataset contains First and Last Name, ID, year etc..
ANALYSIS: -
Objective 1:
1. Concatenate
String concatenation is the process of joining two or more strings together. Excel gives you the
capability of concatenating a series of strings.
The joined items can be text, numbers, cell references or a combination of these.
Syntax of Concatenate:
The syntax of this function is as follows:
=Concatenate(text_1, text_2, Text_N)
Here ‘TEXT_1’, ‘TEXT_2’ and ‘TEXT_N’ are strings which are to be combined.
Procedure: -
1. In the above example we have a list of First and Last names.
2. Now if you wish to join the First name and Last name strings, then we can use this
Function as:
=CONCATENATE(D2," ",E2)
3. Here, ‘D2’ is the person’s First name and ‘E2’ represents the Last name. While joining
these two strings they should be separated by a space “ ” and that’s why in the formula
we have used a blank space in between ‘D2’ and ‘E2’.
______________________________________________________________________________
2. Proper
Proper function in Excel capitalizes each word in the string that is, it converts the case
into proper case.
Syntax =PROPER(Text)
Procedure: -
1. In the above example we have a list of First and Last names and the Full name.
2. Since the full name is in capital letters so to make it proper we can use this Function as:
=PROPER(G2)
_______________________________________________________________________
3. Trim
Trim function in Excel removes the unnecessary spaces from a particular string.
Syntax =TRIM(Text )
Procedure: -
1. Suppose if there are unnecessary spaces between a text then we can use trim function
to get rid of those spaces.
2. For this we can use the function = TRIM(G2) so on.
____________________________________________________________________________
4. Substitute
Substitute function in Excel helps to replace existing text with a new text in a particular
string.
= SUBSTITUTE(H2,"jainuniversity.in","christuniversity.in")
____________________________________________________________________________
5. IF
IF functions is one of the logical functions, to return one value if a condition is true and
another value if it's false.
1. Suppose if we want to know whether the student is pass or fail. We can use if
function if data is huge.
=IF(G2>=50,"Pass","Fail")
_________________________________________________________________________
Procedure: -
In this case, to separate out the place, two functions Right and Find will be used. The
syntax is
=RIGHT(text,[num_chars])
=FIND(find_text,within_text,[num_chars])
Using a blend of these two functions we can separate the place from our data.
CONCLUSION: -
As we can excel has all the attributes to refine the dataset which is in text at its core and
help us in deducing the conclusions more effective for such datasets using the TEXT
functions. The text functions help in refining the dataset with much more precision and
filter the data to our usage.