In: Statistics and Probability
In Excel, What are some of the functions that can be used to manipulate text?
Sol:
CONCATENATE-individual text strings into one text string
Excel formula:=CONCATENATE(text1;text2)
PROPER-capitalizes the first letter of each word in a text string
Excel formula:=PROPER(text)
UPPER-converts text strings to upper case letters
Excel formula:=UPPER(text)
LOWER-converts text strings to lower case letters
Excel formula:=LOWER(text)
SUBSTITUTE-repalces new text for old text in a txt string
Excel formula:=SUBSTITUTE(text,old,new,instance_num)
LEFT-returns the specified number of characters from the start of a text string
Excel formula:=LEFT(text,num_chars)
RIGHT-returns the specified number of characters from the end of a text string
Excel formula:=RIGHT(text,num_chars)
TRIM:
trim function removes all spaces from a text string except single spaces between words
=TRIM(text)