Professional Documents
Culture Documents
Convert To Sentence Case in Excel: Download This File From Here
Convert To Sentence Case in Excel: Download This File From Here
to another. Whereas there is another case for which we don’t have any
function or any other option.
Well, in sentence case, for an entire sentence, the first letter of the first
word should be in the capital case and rest of the letters of the first
word and all the other words should be in lower case.
So today, in this post, I’d like to share with you a simple formula
which you can use to convert a normal case to sentence case in Excel.
Let’s get started and download this file from here to follow along.
Convert to Sentence Case in Excel
To create a formula for sentence case we need to use five different text
functions. Let's your text is in cell A1, then the formula will be:
=UPPER(LEFT(A1,1))&LOWER(RIGHT(A1,LEN(A1)-1))
How it works
To understand this formula, we need to split it into two parts.
In the first part, the left function returns the first character of and
then upper function converts it into upper case.
In the second part, will convert rest of the text to lower case as we
need rest of the letters in lower case for sentence case.
This is crazy:
And you know, in this situation above formula is for nothing, we can't
use it.
=SUBSTITUTE(SUBSTITUTE(PROPER(SUBSTITUTE(SUBSTITUTE
(LOWER(C12),". ","9z9")," ","zxz")),"9Z9",".
"),"zxz"," ")
How it works
So you want to learn how this formula works? Right? Well, you need
to hold your nerves and stay with me for a minute.
We need to split this formula into three different parts like I have done
below.
In the first part, with lower function and two substitute functions, we
have converted the text into lower case and replace all the spaces
within words with “zxz” and space and dot between two sentences
with “9z9”.
At this point, we don't have any space in our text. So far so good.
In the second part, we have converted the entire text into the proper
case using the proper function.