Text Formulas

Convert a word into numbersText - Convert
Convert numbers to textText - Convert
Remove last n charactersText - Remove
Remove one wordText - Remove
Remove unwanted charactersText - Remove
Replace one character with anotherText - Replace
Replace one word with anotherText - Replace
Replace text by matchingText - Replace
Replace text by positionText - Replace
Return a substringText - Return
Return every fourth entry in a listText - Return
Return random charactersText - Display
Return the acronym from a text stringText - Return
Return the concatenation of values in a particular rangeText - Return
Return the first letter of each wordText - Return
Return the first name from a full nameText - Return
Return the first wordText - Return
Return the last name from a full nameText - Return
Return the last wordText - Return
Return the longest string in a columnText - Return
Return the middle name from a full nameText - Return
Return the most frequently occurring wordText - Return
Return the nth wordText - Return
Return the number equivalent for a number written as textText - Return
Return the number from a number and textText - Return
Return the second wordText - Return
Return the shortest string in a columnText - Return
Return the text converted to sentence caseText - Return
Return the value from the cell aboveText - Return
Return the word equivalent for a numerical valueText - Return
Return the words in reverse orderText - Return
Return two strings joined togetherText - Display
Convert a word into numbers
Text - Convert
Convert numbers to text
Text - Convert
Remove last n characters
Text - Remove
Remove one word
Text - Remove
Remove unwanted characters
Text - Remove
Replace one character with another
Text - Replace
Replace one word with another
Text - Replace
Replace text by matching
Text - Replace
Replace text by position
Text - Replace
Return a substring
Text - Return
Return every fourth entry in a list
Text - Return
Return random characters
Text - Display
Return the acronym from a text string
Text - Return
Return the concatenation of values in a particular range
Text - Return
Return the first letter of each word
Text - Return
Return the first name from a full name
Text - Return
Return the first word
Text - Return
Return the last name from a full name
Text - Return
Return the last word
Text - Return
Return the longest string in a column
Text - Return
Return the middle name from a full name
Text - Return
Return the most frequently occurring word
Text - Return
Return the nth word
Text - Return
Return the number equivalent for a number written as text
Text - Return
Return the number from a number and text
Text - Return
Return the second word
Text - Return
Return the shortest string in a column
Text - Return
Return the text converted to sentence case
Text - Return
Return the value from the cell above
Text - Return
Return the word equivalent for a numerical value
Text - Return
Return the words in reverse order
Text - Return
Return two strings joined together
Text - Display

Convert a word into numbers

This user defined function can return the number equivalent for a number written as text.

 A
1??
SPELLNUMBERREVERSE - Return the value after converting words into a number.

Return every fourth entry in a list

To obtain every fourth entry in a column and put them in a separate column, you can use the following formula

 A
1OFFSET(A1, ROW()*4-1, 0).
??

Return the acronym from a text string

You can return the acronym for up to three words by using these formulas.

 A
1Columns=1
2TableWidth=Full
3FirstName LastName
4=LEFT(A3, 1)&MID(A3, FIND(" ", A3, 1), 2) = F L
5Abbreviate Three Words
6=LEFT(A5, 1) & IFERROR(MID(A5, SEARCH(" ", A5)+1, 1), "") & IFERROR(MID(A5, SEARCH(" ", A5, SEARCH(" ", A5)+1)+1, 1), "") = ATW
7Three With Spaces
8=IF(LEN(A7)-LEN(SUBSTITUTE(A7, " ", ""))=0, LEFT(A7, 1), IF(LEN(A7)-LEN(SUBSTITUTE(A7, " ", ""))=1, LEFT(A7, 1)&" "&MID(A7, (FIND(" ", A7)+1), 1)&" ", LEFT(A7, 1)&" "&MID(A7, (FIND(" ", A7)+1), 1)&" "&MID(A7, FIND(" ", A7, FIND(" ", A7)+1)+1, 1))) = T W S
link - https://chandoo.org/wp/get-initials-from-name-excel-formula
FIND
IFERROR
LEFT
LEN
MID
SEARCH
SUBSTITUTE
ACRONYM - Returns the first letter of each word.

Return the concatenation of values in a particular range

??

 A
1??
CONCAT
TEXTJOIN

Return the longest string in a column

??

 A
1INDEX)A1:A10, MATCH(MAX(LEN(A1:A10)), LEN(A1:B5),0), 1)
does not work with multiple columns

Return the most frequently occurring word

??

 A
1{=INDEX(cellrange, MODE( MATCH(cellrange, cellrange,0)))}
MODE
INDEX
MATCH

Return the number equivalent for a number written as text

This user defined function can return the number equivalent for a number written as text.

 A
1??
SPELLNUMBERREVERSE - Return the value after converting words into a number.

Return the second word

You can return the second word from a text string by using this formula

 A
1First Second Third Fourth
2=IF(OR(LEN(A1)=0, COUNT(FIND(" ", A1))=0), "", TRIM(REPLACE(LEFT(A1, FIND(" ", A1&" ", FIND(" ", A1, 1)+1)), 1, FIND(" ", A1), ""))) = Second
3One 2 Three
4=IF(OR(LEN(A3)=0, COUNT(FIND(" ", A3))=0), "", TRIM(REPLACE(LEFT(A3, FIND(" ", A3&" ", FIND(" ", A3, 1)+1)), 1, FIND(" ", A3), ""))) = 2
If there is only one word then this formula returns an empty string.
link - https://www.atlaspm.com/toms-tutorials-for-excel/
COUNT
FIND
IF
LEFT
LEN
OR
REPLACE
TRIM

Return the text converted to sentence case

The text string converted to a Sentence Case.

 A
1MY Sentence in mixed CHARACTERS
2=UPPER(LEFT(A1, 1))&LOWER(RIGHT(A1, LEN(A1)-1)) = My sentence in mixed characters
LEFT
LEN
LOWER
RIGHT
UPPER

Return the value from the cell above

The value in the cell directly above

 A
1The value in the cell above
2=INDIRECT(ADDRESS(ROW() - 1, COLUMN() ) ) = The value in the cell above
INDIRECT
ADDRESS
ROW
COLUMN

Return the word equivalent for a numerical value

This user defined function can return the word equivalent for a numerical value.

 A
1??
SPELLNUMBER - Returns the text after converting a number into words.

Return the words in reverse order

You can return the words of a text string in reverse order by using this formula.

 A
1First Middle Last
2=RIGHT(A1, LEN(A1)-SEARCH(" ", A1)-1&" "&LEFT(A1, SEARCH(" ", A1)-1)) = #VALUE!
LEFT
LEN
RIGHT
SEARCH
REVERSE - Returns the contents of a cell with all the characters reversed.

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top