Sie sind auf Seite 1von 24

Prepared by : Ms.

Edz Dayao
Microsoft Excel 2013
The Text Function

Excel has many functions to


offer when it comes to
manipulating text strings.
Excel Text Function

1. Join Strings
To join strings, use the &
operator
Excel Text Function
2. Left
To extract the leftmost characters
from the string, use the LEFT
function.
Excel Text Function
3. Right
To extract the rightmost
characters from the string, use the
RIGHT function.
Excel Text Function
4. Mid
To extract the substring or the
middle of a string, use the MID
function.
Excel Text Function
5. Len
To get the length of the string,
use the LEN function.
Excel Text Function
6. Find
To find the position of a substring
in a string, use the FIND function.
Excel Text Function
7. Substitute
To replace existing text with new
text in a string, use the
SUBSTITUTE function.
Excel Text Function
8. Lower/Upper/Proper
Convert a text string to lower,
upper or proper case..
Excel Text Function
9. Trim
Removed starting and ending
spaces on the string.
Excel Text Function
10 . Concatenate
Join more than 1 string
Excel Text Function
11 . Exact
Compare text with TRUE or
FALSE as output
FILENAME : MT-MP1-SURNAME TAB NAME: ELECTION

For Precint# : If gender is Male or M, the precint # is 208-C, for Female or F, the precint# is 102-A

For UserCode: if the length of the voter’s name is 15 and above, output STRONG CODE
if not output WEAK CODE
For Value : output the surname in small letter, together with the gender and age, use the
formula based on the voter’s name ( a dash will separate value from the other)
For Validation, output voters id where in all zero digit will become * and the first 3 letter of
the name of the voter’s name. ( a dash will separate value from the other)
For Priority, if the age is 60 and above, output PRIORITY if not there will be no output
For Precint# : If gender is Male or M, the precint # is 208-C with gender in small letter only, for Female or
F, the precint# is 102-A with gender in small letter only

For UserCode: if the length of the voter’s name is 15 and above, output STRONG CODE
if not output WEAK CODE
For Value : output the surname in small letter, together with the gender and age, use the
formula based on the voter’s name ( a dash will separate value from the other)
For Validation: output voters id where in all zero digit will become * and the first 3 letter of
the name of the voter’s name. ( a dash will separate value from the other)
For Priority if the age is 60 and above, output PRIORITY if not there will be no output
SHEET2-MT-MP2_2

CREATE A FORMULA FOR SUMMARY-SECTION D


STUDENT REPORTS: Create a string formula that will use join(), lower() together with
left(),right() or mid() based on the sample output. (see sample output)
N-NAME: Output the student nickname by using left(), right() or mid(). See sample
RETAKE: use if condition for remarks where in if passed ok is the output, else RETAKE
ADVANCED: Concatenate the age, then convert the join() for N-NAME in capital letter,
but if the age is still a minor just compare the value that will output for FALSSE.
CREATE A FORMULA FOR SUMMARY-SECTION D
STUDENT REPORTS: Create a string formula that will use join(), lower() together with
left(),right() or mid() based on the sample output. (see sample output)
N-NAME: Output the student nickname by using left(), right() or mid(). See sample
RETAKE: use if condition for remarks where in if passed ok is the output, else RETAKE
ADVANCED: Concatenate the age, then convert the join() for N-NAME in capital letter,
but if the age is still a minor just compare the value that will output for FALSSE.

Das könnte Ihnen auch gefallen