0% found this document useful (0 votes)
4 views

Text Functions

The document provides a sample table of employee information, including names, departments, start dates, and emails. It also lists various text functions in Excel, along with their syntax, sample formulas, outputs, and brief descriptions of their purposes. These functions include CONCATENATE, TEXTJOIN, LEN, LEFT, RIGHT, MID, TRIM, UPPER, LOWER, PROPER, SUBSTITUTE, REPLACE, FIND, SEARCH, TEXT, VALUE, and EXACT.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Text Functions

The document provides a sample table of employee information, including names, departments, start dates, and emails. It also lists various text functions in Excel, along with their syntax, sample formulas, outputs, and brief descriptions of their purposes. These functions include CONCATENATE, TEXTJOIN, LEN, LEFT, RIGHT, MID, TRIM, UPPER, LOWER, PROPER, SUBSTITUTE, REPLACE, FIND, SEARCH, TEXT, VALUE, and EXACT.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SAMPLE table:

Name Department Start Date Email

John Doe Sales 01-Jan-2023 john.doe@example.com

Jane Smith Marke ng 15-Feb-2022 jane.smith@example.com

Alice Johnson HR 20-Mar-2021 alice.johnson@example.com

Bob Brown IT 10-Apr-2020 bob.brown@example.com

TEXT FUNCTIONS:

Func on Syntax Sample Formula Output Short Descrip on

CONCATENATE CONCATENATE(text1, text2, ...) =CONCATENATE(A2, " - ", John Doe - Sales Combines the name and department with a
B2) dash

TEXTJOIN TEXTJOIN(delimiter, ignore_empty, =TEXTJOIN(", ", TRUE, A2, John Doe, Sales, 01- Combines name, department, and start date
text1, text2, ...) B2, C2) Jan-2023 with comma delimiters

LEN LEN(text) =LEN(A2) 8 Counts the number of characters in the


name

LEFT LEFT(text, num_chars) =LEFT(A2, 4) John Extracts the first 4 characters of the name

RIGHT RIGHT(text, num_chars) =RIGHT(A2, 3) Doe Extracts the last 3 characters of the name

MID MID(text, start_num, num_chars) =MID(A2, 2, 3) ohn Extracts 3 characters from the middle of the
name

TRIM TRIM(text) =TRIM(A2) John Doe Removes extra spaces from the name

UPPER UPPER(text) =UPPER(B2) SALES Converts the department name to uppercase

LOWER LOWER(text) =LOWER(B2) sales Converts the department name to lowercase


PROPER PROPER(text) =PROPER(B2) Sales Capitalizes the first le er of each word in the
department name

SUBSTITUTE SUBSTITUTE(text, old_text, new_text, =SUBSTITUTE(A2, "Doe", John Smith Replaces "Doe" with "Smith" in the name
[instance_num]) "Smith")

REPLACE REPLACE(old_text, start_num, =REPLACE(A2, 6, 3, "Smith") John Smith Replaces part of the name star ng at
num_chars, new_text) posi on 6 with "Smith"

FIND FIND(find_text, within_text, =FIND("@", D2) 9 Finds the posi on of "@" in the email
[start_num]) address

SEARCH SEARCH(find_text, within_text, =SEARCH("doe", A2) 6 Finds the posi on of "doe" (case-insensi ve)
[start_num]) in the name

TEXT TEXT(value, format_text) =TEXT(C2, "dd-mm-yyyy") 01-01-2023 Converts the start date to "dd-mm-yyyy"
format

VALUE VALUE(text) =VALUE("1234") 1234 Converts a text string "1234" to a numeric


value

EXACT EXACT(text1, text2) =EXACT(A2, "John Doe") TRUE Checks if the name is exactly "John Doe"

You might also like