Cellgrids Cellgrids
Home › Excel formulas › Text functions

Excel Text Functions: Full List with Examples

By Rinkesh Shah, founder of Cellgrids.

Text functions clean, join, split and reformat words and codes. They are the everyday tools for tidying names, IDs, addresses and imported data. Open any function for its syntax, arguments, a worked example and a free practice spreadsheet.

FunctionWhat it does
CONCATENATEJoins several pieces of text into one.
CONCATThe modern version of CONCATENATE, also works across ranges.
TEXTJOINJoins text together with a chosen separator between each piece.
LEFTPulls a set number of characters from the start of a text string.
RIGHTPulls a set number of characters from the end of a text string.
MIDPulls characters from the middle of a text string.
LENCounts how many characters are in a text string.
TRIMRemoves extra spaces from text, leaving single spaces between words.
UPPERConverts text to all uppercase.
LOWERConverts text to all lowercase.
PROPERCapitalizes the first letter of each word.
SUBSTITUTEReplaces specific text within a string.
REPLACEReplaces part of a text string based on position, not content.
FINDFinds the position of text within another string (case-sensitive).
SEARCHLike FIND, but not case-sensitive and allows wildcards.
TEXTConverts a number into text, formatted the way you choose.
VALUEConverts text that looks like a number into an actual number.
EXACTChecks if two text strings are exactly identical, including case.
REPTRepeats a piece of text a set number of times.
TEXTBEFOREReturns the text that occurs before a given delimiter.
TEXTAFTERReturns the text that occurs after a given delimiter.
TEXTSPLITSplits text into rows or columns using delimiters.
ARRAYTOTEXTReturns an array of text values from any range, joined together.
VALUETOTEXTReturns text from any single value.
NUMBERVALUEConverts text to a number in a locale-independent way.
DOLLARConverts a number to text using currency format.
FIXEDRounds a number and converts it to text with a fixed number of decimals.
TReturns the text referred to by a value, or an empty string if it isn't text.
CLEANRemoves non-printable characters from text.
UNICHARReturns the Unicode character for a given number.
UNICODEReturns the Unicode number for the first character of text.
ASCConverts full-width characters to half-width characters.
BAHTTEXTConverts a number to Thai text with a currency suffix.
LEFTBLike LEFT, but counts bytes instead of characters — for double-byte languages.
RIGHTBLike RIGHT, but counts bytes instead of characters — for double-byte languages.
MIDBLike MID, but counts bytes instead of characters — for double-byte languages.
LENBLike LEN, but counts bytes instead of characters — for double-byte languages.
FINDBLike FIND, but counts bytes instead of characters — for double-byte languages.
SEARCHBLike SEARCH, but counts bytes instead of characters — for double-byte languages.
REPLACEBLike REPLACE, but counts bytes instead of characters — for double-byte languages.
DBCSConverts half-width characters to full-width for double-byte character sets.
CONCATENATE + IFAdds a conditional prefix or suffix to a piece of text depending on whether a condition is met.
LEFT + FINDUses FIND to locate a delimiter (like a space), then LEFT to grab everything before it.
RIGHT + FINDUses FIND and LEN together to grab everything AFTER a delimiter like a space.
MID + FINDUses FIND twice to locate two delimiters, then MID to extract exactly the text between them.
TRIM + SUBSTITUTECombines SUBSTITUTE (to collapse double spaces) with TRIM (to remove leading/trailing spaces) for thoroughly cleaned text.
TEXTJOIN + IF (conditional join)Combines TEXTJOIN with an IF condition to join only the values that meet a certain criteria.
LEN + SUBSTITUTE (count occurrences)A classic trick: removes every occurrence of a substring, compares the length difference, to count how many times it appeared.
PROPER + TRIM (name cleanup)Cleans up messy spacing AND fixes inconsistent capitalization in one step.
Nested SUBSTITUTE (multiple replacements)Chains multiple SUBSTITUTE calls together to make several different text replacements in one formula.

Practice Text functions free

Type formulas in a real spreadsheet and get instant feedback.

Start practice → Formulas cheat sheet

Frequently asked questions

What are the main Excel Text functions?

Cellgrids lists 50 Excel Text functions. Popular ones include CONCATENATE, CONCAT, TEXTJOIN, LEFT, RIGHT. Each has its own page with syntax, arguments and an example.

How can I practice Excel Text functions online?

Open the free live spreadsheet on Cellgrids, type the function in a cell and check your answer. No Excel install or sign-up is needed to start.

Which Excel Text function should a beginner learn first?

Start with CONCATENATE. Joins several pieces of text into one.

Other function categories