This Workbook Contains The Advanced Text Formula Examples
This document contains examples of advanced text formulas in Excel for tasks like counting characters in a cell, counting substrings, creating ordinal numbers, extracting parts of strings like file names and words, and more. It provides the formula, the input text, and the expected output for each example formula.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
35 views4 pages
This Workbook Contains The Advanced Text Formula Examples
This document contains examples of advanced text formulas in Excel for tasks like counting characters in a cell, counting substrings, creating ordinal numbers, extracting parts of strings like file names and words, and more. It provides the formula, the input text, and the expected output for each example formula.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 4
This workbook contains the advanced text formula examples
Counting specific characters in a cell
Babba-booey 1 <-- case-sensitive Babba-booey 4 <-- not case-sensitive
Counting the occurrences of a substring
Blonde on Blonde Blonde 2 <-- case-sensitive Blonde on Blonde blonde 2 <-- not case-sensitive
Creating an ordinal number
1 1st 3 3rd 45 45th 122 122nd
Displaying a column letter
5E E 45 AS AS 256 IV IV 257 IW
Extracting a file name from a path
c:\windows\text.txt text.txt
Extracting the first word of a string
Do you use Excel? Do
Extracting the last word of a string
Do you use Excel? Excel? <-- Assumes at least one space ExcelFormulas ExcelFormulas <-- Works if no spaces are present
Extracting all but the first word of a string
Do you use Excel? you use Excel?
Extracting first name, middle names, last names
John Q. Public John Q. Public Q. <-- Alternate formula for middle name Lisa Smith Lisa Smith <-- Alternate formula for middle name J. R. Robins J. R. Robins R. <-- Alternate formula for middle name
Removing titles from names
Mrs. James Jones James Jones Dr. Richard Speck Dr. Richard Speck Mr. Ed Ed
Counting words in a cell
how many words? 3 134569 6 Microsoft Excel 2 Excel 1 ate formula for middle name ate formula for middle name ate formula for middle name