Apart from using Excel with numeric data, a lot of people also use it with text data. It could as simple as keeping a record of names to something more complex.
When working with text data, a common task is to make the data consistent by capitalizing the first letter in each cell (or to capitalize the first letter of each word in all the cells)
In this tutorial, I will show you a couple of methods to capitalize the first letter in Excel cells.
So let’s get started!
Capitalize First Letter Using Formula
There can be two scenarios where you want to capitalize:
- The first letter of each word
- Only the first letter of the first word
Capitalize the First Letter of Each Word
This one is fairly easy to do – as Excel has a dedicated function for this.
The PROPER function, whose purpose of existence is to capitalize the first letter of each word.
Suppose you have a dataset as shown below and you want to quickly convert the first letter of each word into upper case.
Below is the formula you can use:
=PROPER(A2)
This would capitalize the first letter of each word in the referenced cell.
Pretty straight forward!
Once you have the desired result, you can copy the cells that have the formula and paste it as values so it’s no longer linked to each other.
Capitalize Only the First Letter of the First Word Only
This one is a little more tricky than the previous one – as there is no inbuilt formula in Excel to capitalize only the first letter of the first word.
However, you can still do this (easily) with a combination of formulas.
Again, there could be two scenarios where you want to do this:
- Capitalize the First Letter of the First Word and leave everything as is
- Capitalize the First Letter of the First Word and change the rest to lower case (as there may be some upper case letter already)
The formulas used for each of these cases would be different.
Let’s see how to do this!
Capitalize the First Letter of the First Word and Leave Everything As Is
Suppose you have the below dataset and you only want to capitalize the first letter (and leave the rest as is).
Below is the formula that will do this:
=UPPER(LEFT(A2,1))&RIGHT(A2,LEN(A2)-1)
The above formula uses the LEFT function to extract the first character from the string in the cell. It then uses the UPPER function to change the case of the first letter to upper. It then concatenates the rest of the string (which is extracted using the RIGHT function).
So. if there are words that already have capitalized alphabets already, these would not be changed. Only the first letter would be capitalized.
Capitalize the First Letter of the First Word and Change the Rest to Lower Case
Another scenario could be where you want to change the case of only the first letter of the first word and keep everything in lower case. This could be when you text that you want to convert to sentence case.
In this scenario, you may get some cells where the remaining text is not in the lower case already, so you will have to force the text to be converted to lower case, and then use a formula to capitalize the first letter.
Suppose you have the dataset below:
Below is the formula that will capitalize the first letter of the first word and change the rest to lower case:
=REPLACE(LOWER(A2),1,1,UPPER(LEFT(A2,1)))
Let me explain how this formula works:
- LOWER(A2) – This converts the entire text into lower case
- UPPER(LEFT(A2,1) – This converts the first letter of the text string in the cell into the upper case.
- REPLACE function is used to only replace the first character with the upper case version of it.
One of the benefits of using a formula is that it keeps the resulting data dynamic. For example, if you have the formula in place and you make any changes in the data in column A (the original text data), the resulting data would automatically update. In case you don’t want the original data and only want to keep the final result, make sure to convert the formula to values
Capitalize First Letter Using VBA
While using formulas is a quick way to manipulate text data, it does involve a few extra steps of getting the result in an additional column and then copying and pasting it as values.
If you often need to use change the data as shown in one of the examples above, you can also consider using a VBA code. With a VBA macro code, you just have to set it once and then you can add it to the Quick Access Toolbar.
This way, the next time you need to capitalize the first letter, all you need to do is select the dataset and click the macro button in the QAT.
You can even create an add-in and use the VBA code in all your workbooks (and can even share these with your colleagues).
Now let me give you the VBA codes.
Below code will capitalize the first letter of the first word and leave everything as-is:
Sub CapitalizeFirstLetter() Dim Sel As Range Set Sel = Selection For Each cell In Sel cell.Value = UCase(Left(cell.Value, 1)) & Right(cell.Value, Len(cell.Value) - 1) Next cell End Sub
And below is the code that will capitalize the first letter of the text and make everything else in lower case:
Sub CapitalizeFirstLetter() Dim Sel As Range Set Sel = Selection For Each cell In Sel cell.Value = Application.WorksheetFunction.Replace(LCase(cell.Value), 1, 1, UCase(Left(cell.Value, 1))) Next cell End Sub
You need to place this VBA code in a regular module in the VB Editor
These are some methods you can use to capitalize the first letter in Excel cells. Based on the scenario, you can choose the formula method or the VBA method.
Hope you found this Excel tutorial useful.
You may also like the following Excel tutorials:
- Convert Date to Text in Excel
- Convert Text to Numbers in Excel
- How to Extract a Substring in Excel (Using TEXT Formulas)
- How to Extract the First Word from a Text String in Excel
- Remove Characters From Left in Excel
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel for iPad Excel for iPhone Excel for Android tablets Excel 2010 Excel 2007 Excel for Mac 2011 Excel for Android phones Excel Mobile More…Less
Unlike Microsoft Word, Microsoft Excel doesn’t have a Change Case button for changing capitalization. However, you can use the UPPER, LOWER, or PROPER functions to automatically change the case of existing text to uppercase, lowercase, or proper case. Functions are just built-in formulas that are designed to accomplish specific tasks—in this case, converting text case.
How to Change Case
In the example below, the PROPER function is used to convert the uppercase names in column A to proper case, which capitalizes only the first letter in each name.
-
First, insert a temporary column next to the column that contains the text you want to convert. In this case, we’ve added a new column (B) to the right of the Customer Name column.
In cell B2, type =PROPER(A2), then press Enter.
This formula converts the name in cell A2 from uppercase to proper case. To convert the text to lowercase, type =LOWER(A2) instead. Use =UPPER(A2) in cases where you need to convert text to uppercase, replacing A2 with the appropriate cell reference.
-
Now, fill down the formula in the new column. The quickest way to do this is by selecting cell B2, and then double-clicking the small black square that appears in the lower-right corner of the cell.
Tip: If your data is in an Excel table, a calculated column is automatically created with values filled down for you when you enter the formula.
-
At this point, the values in the new column (B) should be selected. Press CTRL+C to copy them to the Clipboard.
Right-click cell A2, click Paste, and then click Values. This step enables you to paste just the names and not the underlying formulas, which you don’t need to keep.
-
You can then delete column (B), since it is no longer needed.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
See Also
Use AutoFill and Flash Fill
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
How to Make First Letter Capital in Excel: Step-by-Step (2023)
This guide is going to one of the most important Excel guides for all types of Excel users. Before we delve further – let me tell you the problem addressed here 🚫
It’s about Microsoft being a little unjust. Microsoft Word has an in-built tool to change the case of the text (from lower to upper to sentence and much more) with a single tap.
However, Microsoft Excel is devoid of this very basic, yet very essential feature. This means if you have banked up some text in Excel that is not in the right case, there’s nothing readily available to help you out 😫
Aa Aah! Don’t rush to rewrite it all manually. The guide below has got some interesting hacks to help you capitalize the first letter of any text in Excel automatically.
So download our free sample workbook for this guide here and dive right in.
Capitalize the first letter in a cell
Take a quick look at the data below that has some good information about the release of Microsoft Suite Applications 👇
Everything’s good but not the case with the information. We want to turn the first letter of the text in each cell into the second column capital.
To do that, follow these steps:
- Write the LEFT function to extract the first letter of the text from the cell.
= LEFT (B2,1)
The LEFT function extracts a given number of characters from the supplied text string 👈
B2 is the cell that contains the text. And 1 represents the number of characters to be extracted from the left. Here’s what we get:
- Nest this function inside the UPPER function as here.
= UPPER (LEFT (B2,1))
The UPPER function of Excel changes the case of the text in the referred cell to the Upper case 🅰
- Nest the above function in the REPLACE function as below.
= REPLACE (B2, 1, 1, UPPER (LEFT (B2,1)))
Pro Tip!
Here’s how we wrote this function:
- The first argument of the REPLACE function is old_text. It tells what is to be replaced i.e. the text in Cell B2.
- The second argument is start_num i.e. from which character should Excel start replacing it? We want to replace the first character with a capital letter, so we’ve set it to 1.
- The third argument is num_chars i.e. the number of characters to be replaced. We only want to replace the first character with a capital letter so we’ve set it to 1 as well 1️⃣
- The fourth argument is new text i.e. what text should replace the old text? That’s where we have nested in the UPPER function.
- Hit Enter to get the results as follows:
Wow! We have the sentence replaced with a new sentence with only the first letter capitalized 🥇
- Drag and drop the formula to the whole list.
Isn’t that easy?
There runs a formula behind each of these texts. To lock them in place and turn them into text 🔒
- Select all the cells (C2 to C4) and copy them by pressing the Control key + C.
- Right-click on the first cell where onwards you want them to be located (Cell B2 in our example).
- From the resulting context menu, select paste values.
- And there you go! The formula results are now changed into simple text values.
Capitalize the first letter of each word
Capitalizing the first letter of each word of a cell is relatively easier. That’s because Excel offers an in-built function to do that.
Let’s try capitalizing the first letter of each word of the cells in the example above.
- Activate a cell and write the PROPER formula as below:
= PROPER (B2)
The PROPER function turns the first letter of all the words in a referred cell 💪
- Hit Enter.
- Drag and drop the results to the whole list.
Pro Tip!
To remove the formulas running at the back of these capitalized cell values 💁♀️
- Select all the cells where the formula results of the PROPER function are populated (Cell C2 to C4).
- Copy them by pressing the Control key + C.
- Right-click on the first destination cell (Cell B2 in our example).
- Paste them as Values.
Capitalize the first letter then make the rest lowercase
In the example used above, did you note that some other characters of the text in our cells were capitalized?
Like the L of Launched 👀
In this section, let’s try to capitalize the first letter and lowercase all other characters of the given text.
To do that, follow these steps:
- Write the LOWER function as follows:
= LOWER (B2)
B2 is the cell that contains the text. The LOWER function will turn all characters of the text in Cell B2 to lowercase as follows ✍
- Nest the above function in the REPLACE function as below.
= REPLACE (LOWER (B2), 1, 1,
Pro Tip!
Let’s explain this function to you:
- The first argument of the REPLACE function tells what is to be replaced. We have nested the LOWER function in place of this argument. The REPLACE function will now replace the lowercase characters returned by the LOWER function 🙈
- The second argument is start_num i.e. from which character should Excel start replacing it? We want to replace the first character with a capital letter, so we’ve set it to 1.
- The third argument is num_chars i.e. the number of characters to be replaced. We only want to replace the first character with a capital letter so we’ve set it to 1 as well.
- Nest the UPPER function (together with the LEFT function) in the above formula as follows:
=REPLACE (LOWER (B2), 1, 1, UPPER (LEFT (B2,1)))
The LEFT function [LEFT(B2,1)] will extract the first character of the text in Cell B2.
The UPPER function [UPPER(LEFT(B2,1))] will change this character to Uppercase.
We have nested this function as the new_text argument of the REPLACE function 🧵
Pro Tip!
Did you note? This formula is very similar to the following formula that we applied to capitalize only the first character of the text in any cell.
=REPLACE (B2, 1, 1, UPPER (LEFT (B2,1)))
The only difference is that this time we have replaced the old_text argument of the REPLACE function with the LOWER function 💡
= REPLACE (LOWER (B2), 1, 1, UPPER (LEFT (B2,1)))
This is done to lowercase all characters of the subject text.
- Hit Enter to see the results here.
This time Excel has capitalized the first letter of the text in the cell. And at the same time, all other characters of the cell are turned into lowercase characters 🚀
- Drag and drop the results to the whole list.
Get rid of this long formula running at the back of this text by copying and pasting it as a value.
That’s it – Now what?
By now, we know how to capitalize the first letter of the text in Excel cells by using Excel functions.
Additionally, we’ve also learned to capitalize the first letter and lowercase the rest. Such a relief it is – isn’t it 😇
To do all this, we need a group of functions including the UPPER, PROPER, LOWER, REPLACE, and LEFT functions. Just like these, all functions of Excel are super useful when rightly used.
Some of my favorite functions from Excel include the VLOOKUP, SUMIF, and IF functions.
To learn these (and many more) Excel functions, enroll in my 30-minute free email course now.
Kasper Langmann2023-02-24T09:58:10+00:00
Page load link
Home / Excel Formulas / How to Capitalize First Letter in Excel
Let’s say you have a list of text values, and you want to capitalize the first letter for each text.
This thing can be easily done using a simple formula. And in this tutorial, we will learn to write this formula to capitalize the first letter of a word.
PROPER Function to Capitalize First Letter
In the following example, you have a list of names, and all these names are in lower letters. Now you need to convert the first letter into capital.
Use the following steps to capitalize the first letter.
- Type equal in cell B2.
- Enter the TEXT function and type the starting parentheses.
- Refer to cell A2 where you have text for which you capitalize the first letter.
- In the end, enter closing parentheses and hit enter to the result.
Only Capitalize the First Letter of the First Word
Now let’s take another situation where you only need to capitalize only the first letter of the first word and not the rest of the words. You can use the following formula for that.
=UPPER(LEFT(A2,1))&LOWER(RIGHT(A2,LEN(A2)-1))
To understand this formula, we need to break it into two parts.
The first part of the formula uses the UPPER and LEFT function that extracts the first letter from the text and converts it into the capital letter.
And the second part of the formula uses RIGHT, LOWER, and LEFT functions. These functions take the rest of the part of the text and convert that part into a lower letter text.
But if you want to capitalize the first letter and want to leave the rest of the part as it was, you can amend the above formula. See the following.
=UPPER(LEFT(A2,1))&RIGHT(A2,LEN(A2)-1)
This formula will not make any changes to the text other than the first letter of the first word.
Содержание
- Начальная буква всех слов должна быть заглавной
- Только первая буква заглавной
- Начинайте первую букву в Google Таблицах с заглавной буквы
Скачать пример рабочей книги
Загрузите образец книги
Этот В этом руководстве вы научитесь использовать заглавные буквы в Excel и Google Таблицах.
Начальная буква всех слов должна быть заглавной
Самый простой способ сделать первые буквы в текстовой строке заглавными — использовать функцию PROPER.
Функция PROPER переводит первую букву в каждое слово в текстовой строке с заглавной буквы и переводит все остальные буквы в нижний регистр.
Примечание. Функция PROPER обрабатывает любой нечисловой символ как пробел. Итак, «joe2smith» было изменено на «Joe2Smith».
Только первая буква заглавной
Вместо этого, чтобы использовать только первую букву вашей текстовой строки с заглавной буквы, используйте функцию REPLACE вместе с функциями UPPER и LEFT.
1 | = ЗАМЕНИТЬ (B3,1,1; ВЕРХНИЙ (ЛЕВЫЙ (B3,1))) |
Функция REPLACE просто заменяет первый символ версией первого символа с заглавной буквы.
Вы можете добавить функцию LOWER, чтобы перевести все остальные символы в нижний регистр:
1 | = ЗАМЕНИТЬ (НИЖНИЙ (B3); 1,1; ВЕРХНИЙ (ЛЕВЫЙ (B3,1))) |
Эти формулы работают в Google Таблицах точно так же, как и в Excel.
Вы поможете развитию сайта, поделившись страницей с друзьями
Содержание
- How to Capitalize First Letter of a Text String in Excel (using Formula & VBA)
- Capitalize First Letter Using Formula
- Capitalize the First Letter of Each Word
- Capitalize Only the First Letter of the First Word Only
- Capitalize the First Letter of the First Word and Leave Everything As Is
- Capitalize the First Letter of the First Word and Change the Rest to Lower Case
- Capitalize First Letter Using VBA
- Change the case of text
- How to Change Case
- Need more help?
- Capitalize the first letter in Excel
- Capitalize the first letter by formula
- Capitalize the first letter with Power Query
- Capitalize the first letter with VBA
- 1 Comment
- How to capitalize first letter in Excel cells
- Capitalize first letter using formulas
- First letter Capital, lower the rest
- First letter Capital, disregard the rest
- Capitalize first letter using Text Toolkit: Change Case
- You may also be interested in
How to Capitalize First Letter of a Text String in Excel (using Formula & VBA)
Apart from using Excel with numeric data, a lot of people also use it with text data. It could as simple as keeping a record of names to something more complex.
When working with text data, a common task is to make the data consistent by capitalizing the first letter in each cell (or to capitalize the first letter of each word in all the cells)
In this tutorial, I will show you a couple of methods to capitalize the first letter in Excel cells.
So let’s get started!
This Tutorial Covers:
Capitalize First Letter Using Formula
There can be two scenarios where you want to capitalize:
- The first letter of each word
- Only the first letter of the first word
Capitalize the First Letter of Each Word
This one is fairly easy to do – as Excel has a dedicated function for this.
The PROPER function, whose purpose of existence is to capitalize the first letter of each word.
Suppose you have a dataset as shown below and you want to quickly convert the first letter of each word into upper case.
Below is the formula you can use:
This would capitalize the first letter of each word in the referenced cell.
Pretty straight forward!
Once you have the desired result, you can copy the cells that have the formula and paste it as values so it’s no longer linked to each other.
Capitalize Only the First Letter of the First Word Only
This one is a little more tricky than the previous one – as there is no inbuilt formula in Excel to capitalize only the first letter of the first word.
However, you can still do this (easily) with a combination of formulas.
Again, there could be two scenarios where you want to do this:
- Capitalize the First Letter of the First Word and leave everything as is
- Capitalize the First Letter of the First Word and change the rest to lower case (as there may be some upper case letter already)
The formulas used for each of these cases would be different.
Let’s see how to do this!
Capitalize the First Letter of the First Word and Leave Everything As Is
Suppose you have the below dataset and you only want to capitalize the first letter (and leave the rest as is).
Below is the formula that will do this:
The above formula uses the LEFT function to extract the first character from the string in the cell. It then uses the UPPER function to change the case of the first letter to upper. It then concatenates the rest of the string (which is extracted using the RIGHT function).
So. if there are words that already have capitalized alphabets already, these would not be changed. Only the first letter would be capitalized.
Capitalize the First Letter of the First Word and Change the Rest to Lower Case
Another scenario could be where you want to change the case of only the first letter of the first word and keep everything in lower case. This could be when you text that you want to convert to sentence case.
In this scenario, you may get some cells where the remaining text is not in the lower case already, so you will have to force the text to be converted to lower case, and then use a formula to capitalize the first letter.
Suppose you have the dataset below:
Below is the formula that will capitalize the first letter of the first word and change the rest to lower case:
Let me explain how this formula works:
- LOWER(A2) – This converts the entire text into lower case
- UPPER(LEFT(A2,1) – This converts the first letter of the text string in the cell into the upper case.
- REPLACE function is used to only replace the first character with the upper case version of it.
Capitalize First Letter Using VBA
While using formulas is a quick way to manipulate text data, it does involve a few extra steps of getting the result in an additional column and then copying and pasting it as values.
If you often need to use change the data as shown in one of the examples above, you can also consider using a VBA code. With a VBA macro code, you just have to set it once and then you can add it to the Quick Access Toolbar.
This way, the next time you need to capitalize the first letter, all you need to do is select the dataset and click the macro button in the QAT.
You can even create an add-in and use the VBA code in all your workbooks (and can even share these with your colleagues).
Now let me give you the VBA codes.
Below code will capitalize the first letter of the first word and leave everything as-is:
And below is the code that will capitalize the first letter of the text and make everything else in lower case:
You need to place this VBA code in a regular module in the VB Editor
These are some methods you can use to capitalize the first letter in Excel cells. Based on the scenario, you can choose the formula method or the VBA method.
Hope you found this Excel tutorial useful.
You may also like the following Excel tutorials:
Источник
Change the case of text
Unlike Microsoft Word, Microsoft Excel doesn’t have a Change Case button for changing capitalization. However, you can use the UPPER, LOWER, or PROPER functions to automatically change the case of existing text to uppercase, lowercase, or proper case. Functions are just built-in formulas that are designed to accomplish specific tasks—in this case, converting text case.
How to Change Case
In the example below, the PROPER function is used to convert the uppercase names in column A to proper case, which capitalizes only the first letter in each name.
First, insert a temporary column next to the column that contains the text you want to convert. In this case, we’ve added a new column (B) to the right of the Customer Name column.
In cell B2, type =PROPER(A2), then press Enter.
This formula converts the name in cell A2 from uppercase to proper case. To convert the text to lowercase, type =LOWER(A2) instead. Use =UPPER(A2) in cases where you need to convert text to uppercase, replacing A2 with the appropriate cell reference.
Now, fill down the formula in the new column. The quickest way to do this is by selecting cell B2, and then double-clicking the small black square that appears in the lower-right corner of the cell.
Tip: If your data is in an Excel table, a calculated column is automatically created with values filled down for you when you enter the formula.
At this point, the values in the new column (B) should be selected. Press CTRL+C to copy them to the Clipboard.
Right-click cell A2, click Paste, and then click Values. This step enables you to paste just the names and not the underlying formulas, which you don’t need to keep.
You can then delete column (B), since it is no longer needed.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
Источник
Capitalize the first letter in Excel
Capitalize the first letter in Excel is very easy and you have 3 tools to do that
- By formula
- With Power Query
- With VBA
Capitalize the first letter by formula
To capitalize the first letter of each word in your cells by formula, just write the PROPER function
=PROPER(B2) or =PROPER([@columnName])
But the job isn’t finished 🤔
Capitalize the first letter with Power Query
If you build a query to manipulate your data with Power Query, you can quickly capitalize the first letter of a column.
- Select one or more columns
- Right-click in the header of the columns
- Go to Transform
- Capitalize each word
This technique is much better because you don’t duplicate the contain of your column. The transformation remplaces the previous contain of the column.
Capitalize the first letter with VBA
In VBA, the code to transform your string is the following possible with the instruction StrConv and the option vbProperCase
I would suggest not using the StrConv’s vbProper method, rather, use WorksheetFunction.Proper instead.. Here are the two methods acting on the same text string. the Worksheet function method appears to be more robust (compare the output inside the parentheses and you will see what I mean).
MsgBox StrConv(«Here is (one-type of) problem.», vbProperCase)
Источник
How to capitalize first letter in Excel cells
by Natalia Sharashova, updated on March 17, 2023
How can we change the case of the first letter from lower to upper in Excel cells? Do we have to type each character manually into every cell? Not anymore! Today I will share three methods of capitalizing first letters in your table.
I believe when it comes to text in Excel, one of the most commonly required tasks is to capitalize first letters in the cells. Whenever you have lists of names, products, tasks, or anything else, you will for sure have some of them (if not all) written only in small or capital letters.
In one of our previous articles we discussed how PROPER function can save the day. But since it capitalizes every word in a cell and lowers other letters, sometimes it can’t be a cure-all.
Let’s see what other options we have on the example of a shortlist of villains I like the most.
Capitalize first letter using formulas
Excel has lots of useful functions suitable for capitalizing first letter in the cells. However, you can’t have both, your data and formula that references it, in one cell. Thus, you need to create a helper column somewhere in your worksheet in order to place the formulas there. When it’s done, and calculations are made, you’ll be able to replace formulas with their values. Shall we begin?
First letter Capital, lower the rest
To make only the very first letter capital in Excel cell and lower the rest at the same time, start with inserting an additional column for the results. In my example it is column B. Right-click the column name (B) and choose Insert from the context menu. The column is inserted between A and C columns, and you can change its header name if there is one:
Put the cursor into new B2 cell and input the following formula there:
Tip. It is most likely that the rest of the rows will be populated with the adjusted formula automatically. Otherwise, you can quickly copy the formula down the column by drag-n-dropping or double-clicking that small square in the lower-right corner of the cell with a formula.
Let me explain what the formula above means:
- UPPER(LEFT(C2,1)) converts the first letter of C2 cell to capital.
- REPLACE function is used to make sure that the whole text is returned with one specified letter changed — the first one in our case.
- Adding LOWER(C2) as the first argument of the REPLACE function allows us to lower all other letters:
Thus, you get properly looking cells written as sentences.
First letter Capital, disregard the rest
In order to capitalize the first letter of the cell and leave the other characters as they are, we will use the same formula as above with a little modification.
But first, again, make sure to create another column to use the formula. Then, enter the following into B2:
See, we deleted that «LOWER» part from the beginning of the formula. This little change won’t lower all the letters in a cell but will still capitalize the first one:
Tip. Don’t forget to copy the formula down if Excel hasn’t done it automatically.
Capitalize first letter using Text Toolkit: Change Case
If you decide that you need a quicker and faster way of making first letters in Excel cells capital, you will choose wisely!
Our Change Case from Text Toolkit will look over those pretty little letters of yours. It is available in the collection of 70+ toos for Excel — Ultimate Suite:
- Download and install Ultimate Suite collection to your PC.
- Run Excel and click the Change Case tool icon in the Text group under the Ablebits Data tab:
The add-in pane will appear on the left side of your Excel window.
Manually select the range of cells where you want to change case, B2:B10 in our case.
Tip. You can select the range before running the tool. It will show the selected range in the corresponding field automatically.
Note. If you want to save a copy of your data just in case, tick off the Back up the worksheet option before making any changes.
Note. When every word in a cell (except the first one) starts with a capital letter, the add-in will not only capitalize the first character, but also lower the rest.
As you can see, capitalizing letters in Excel is not rocket science. Now you can do it in a couple of mouse-clicks and enjoy the results. Feel free to leave comments and ask questions down below 🙂
You may also be interested in
Table of contents
Thank for your suggestion
I am loving this website. Could you share the formula for capitalizing each first word in every sentence? I tried the following approach:
It capitalizes the first sentence only.
Hello!
I don’t think it’s possible to do this with a regular Excel formula. We have a tool that can solve your task in a couple of clicks — Change Case tool. It is available as a part of our Ultimate Suite for Excel that you can install in a trial mode and check how it works for free.
It will see the words as proper now and make every first word capital
I downloaded from here the Ablebits suites for excel and it works perfectly.
Thanks, I am now following you for more excellent tools.
Regards
Hey! Thanks for this, was very usefull.
I have just one cuestion: ВїWhat about thar achivement of «1,1»?
I understand why you use the number 1 for this «(LEFT(C2,1)», but, for this no . «(LOWER(C2),1,1»
Regards from Argentina!
Ignacio.
Hello!
Your question is about the syntax of the REPLACE function. Read more about this in this article.
I have below text in single cell.
commercial bank of qatar
doha bank
I need output like below in single cell.
Commercial bank of qatar
Doha bank
Hello!
Have you tried the ways described in this blog post? If they don’t work for you, then please describe your task in detail, I’ll try to suggest a solution.
Currently trying to extract the last 3 letters from a specified cell, with only the first letter from those three being capitalized.
The formula I am currently using is: =UPPER(RIGHT(B4,3))
This gets me the last three letters from a specified cell, «NES», how do I edit the formula so that only the letter «N» is capitalized while «ES» is not capitalized??
Thank you very much.
The ultimate suit is really awesome, makes the work really easy.
Hi Sir im trying to use the sentence case but that dont give what i require for example (Lecture Notes in Physics: Chiral Soliton Models for Baryons (Hardcover) )im using sentence formula and i chnages these sentence as Lecture notes in physics: chiral soliton models for baryons (hardcover)
Hi Saleem,
Please have a look at this part of the article above: First letter Capital, lower the rest
If you still have difficulties, please provide the exact formula you’re using that doesn’t work for you.
Sir I need ur help in the case of how to adjust or make the first letter capital always when I’m writing any word on my excel. Tank u
Hello!
I recommend reading the article about changing case in Excel
Hi Alexander,
Thank you so much for your formula below is exactly what I am looking for!!
=PROPER(REPLACE(LOWER(C2),1,1,UPPER(LEFT(C2,1))))
(Thank you!) & (Bless you!) = Exactly what I am thinking right now
// i was just having hard times importing some book titles
Thanks again!
can you tell me which formula u did use for the casing
Sir, I need to convert multiple sentences into sentence case. Ablebits is able to do that, but one problem: if I had intentionally capitalized the first letter of a word (for example, a proper noun such as my name Selvaraj), Ablebits converts its Upper case into lower case. Selvaraj becomes selvaraj. This is not right. I just don’t what the tool to disturb any letter that I have intentionally made caps. It should only change the first letter of the sentence into caps and leave everything else undisturbed. How to resolve this? Thank you.
One more: When you use the Ablebits, it backs up the original sheet. I don’t want that. How to solve it? Thank you.
Sir, I tried using sentence case in my file and made sure that your name had remained written correctly — i.e. Selvaraj. Only the first letter of a sentence is transformed into upper case. Other letters do not change. Please see what version of Ablebits Tools you are using and compare it with the current one (https://www.ablebits.com/downloads/index.php). Perhaps you just need an update. If you have any more questions, I will be pleased to answer them.
Hi I am using your formula =REPLACE(LOWER(C2),1,1,UPPER(LEFT(C2,1)))
how to I do it if the cell has more than one word
i.e my cell has MR A G SMITH however I wish to change to to Mr A G Smith
the formula above converts it to Mr a g smith
thank you in advance
Hello Nim!
Please try the following formula:
I hope it’ll be helpful.
Very helpful, thank you
Really appreciated Mr Alex, but whats the formula if i wish the have JOHN Doe Smith in a cell?
Hello!
Have you tried using the PROPER function? What result do you want to get?
Its only offering me option of numbers of characters. But what happens to a list of names with different numbers of characters.
Hi!
The PROPER function works on any number of characters in a cell. What is the problem?
Sorry but Tyler Durden is not a villain, great otherwise.
Thank you for the help.
God Bless You! 🙂
i need a small software for a manufacturing company can u help me.
Copyright © 2003 – 2023 Office Data Apps sp. z o.o. All rights reserved.
Microsoft and the Office logos are trademarks or registered trademarks of Microsoft Corporation. Google Chrome is a trademark of Google LLC.
Источник
In cell B2, type =PROPER(A2), then press Enter. This formula converts the name in cell A2 from uppercase to proper case. To convert the text to lowercase, type =LOWER(A2) instead.
Contents
- 1 How do you capitalize first letter?
- 2 What is the shortcut to capitalize words in Excel?
- 3 Which Excel function capitalize only the first letter in someone’s name?
- 4 How do you auto capitalize the first letter on a keyboard?
- 5 How do you capitalize in Excel?
- 6 How do you capitalize the first letter in Google Sheets?
- 7 How do you capitalize the first letter in Excel without formula?
- 8 Does shift F3 work in Excel?
- 9 How do I extract the first letter of each word in a cell in Excel?
- 10 How do you combine a first and last name in Excel?
- 11 How do you not capitalize the first letter?
- 12 How do you capitalize all letters in a spreadsheet?
- 13 How do I extract the first letter of each word in Google Sheets?
- 14 What is Ctrl D in Excel?
- 15 What does control F5 do in Excel?
- 16 How do you capitalize all letters?
- 17 How do I remove the first 4 characters in Excel?
- 18 How do I select the first two letters in Excel?
Change the capitalization or case of text
- Select the text for which you want to change the case.
- Go to Home > Change case .
- Do one of the following: To capitalize the first letter of a sentence and leave all other letters as lowercase, click Sentence case. To exclude capital letters from your text, click lowercase.
What is the shortcut to capitalize words in Excel?
Whenever we want to make the text all caps (uppercase), we must select the corresponding cells and press the shortcut Ctrl + Shift + A using the keyboard. The selected cells or text will be converted to uppercase instantly at one go.
Which Excel function capitalize only the first letter in someone’s name?
the function ‘PROPER’ The ‘PROPER’ function works the same way its cousins ‘LOWER’ and ‘UPPER’ do. The difference is, that it only capitalizes the first letter of each substring of text.
How do you auto capitalize the first letter on a keyboard?
To turn on auto-caps of the first word please follow these steps:
- Open Settings, and click/tap on Devices.
- Click/tap on Typing on the left side, and turn On (default) or Off Capitalize the first letter of each sentence under Touch keyboard on the right side for what you want. (
How do you capitalize in Excel?
Capitalize all letters in cells with formula
- Select a blank cell adjacent to the cell you want to capitalize all letters.
- Type formula =UPPER(A1) into the Formula Bar, then press the Enter key.
- Drag the Fill Handle down to the range which you need to capitalize all letters.
How do you capitalize the first letter in Google Sheets?
To capitalize the first letter of each word in Google Sheets, do the following:
- Type “=PROPER(” into a spreadsheet cell, as the beginning of your formula.
- Type “A2” (or any other cell reference) to set the reference of the cell that contains the words to be capitalized.
- Type “)” to complete/close your formula.
How do you capitalize the first letter in Excel without formula?
To convert the text to lowercase, type =LOWER(A2) instead. Use =UPPER(A2) in cases where you need to convert text to uppercase, replacing A2 with the appropriate cell reference.
Does shift F3 work in Excel?
“Shift + F3” keys will open Insert function window which you can insert any function of your choice. This will open the Create Names from Selection window & are used to create names from row or column labels.
But, here, I can talk about a useful way to solve this task.
- Extract first letter of each word from Cell with User Defined Function.
- Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
- Click Insert > Module, and paste the following code in the Module Window.< /p>
How do you combine a first and last name in Excel?
To join first and last name by merging cells, here’s what you do:
- Select the two columns of names you want to combine.
- On the Ablebits tab, in the Merge group, click the Merge Cells drop-down arrow, and choose Merge Columns into One:
- The Merge Cells dialog box will show up.
- Click the Merge button.
How do you not capitalize the first letter?
How to turn off auto-capitalization on Android
- On the on-screen keyboard, tap the gear icon.
- In the Settings menu, select “Text correction.”
- Swipe up on the Text Correction menu until you locate “Auto-capitalization.”
- Tap the slider next to “Auto-capitalization” so that it appears gray instead of blue.
How do you capitalize all letters in a spreadsheet?
In a spreadsheet cell type =UPPER( and click on the cell that contains text that you want in uppercase. Press enter. =UPPER(A1) will express what is in A1 to uppercase.
Steps (formula Explanation):-
- We can use the SPLIT function to split the string into three parts based on the space delimiter. =split(A2,” “)
- Then using the LEFT function, we can extract the first letter from each word. =ArrayFormula(left(split(A2,” “),1))
- Just combine the result.
What is Ctrl D in Excel?
Ctrl+D in Excel and Google Sheets
In Microsoft Excel and Google Sheets, pressing Ctrl + D fills and overwrites a cell(s) with the contents of the cell above it in a column. To fill the entire column with the contents of the upper cell, press Ctrl + Shift + Down to select all cells below, and then press Ctrl + D .
What does control F5 do in Excel?
Shortcut keys in Excel – Function Keys (6 of
Key | Description |
---|---|
F3 | F3: Displays the Paste Name dialog box. Available only if names have been defined in the workbook. |
Shift+F3: Displays the Insert Function dialog box. | |
F5 | F5: Displays the Go To dialog box. |
Ctrl+F5: Restores the window size of the selected workbook window. |
How do you capitalize all letters?
Selecting a case
- Highlight all the text you want to change.
- Hold down the Shift and press F3 .
- When you hold Shift and press F3, the text toggles from sentence case (first letter uppercase and the rest lowercase), to all uppercase (all capital letters), and then all lowercase.
How do I remove the first 4 characters in Excel?
How to Remove first characters from text in Excel
- =REPLACE(Text, 1, N, “”)
- =RIGHT (Text, LEN(text)-N)
- =REPLACE(A2, 1, B2, “”)
- =RIGHT(A2,LEN(A2)-B2)
How do I select the first two letters in Excel?
B3 is the cell you extract characters from, 3 is the number of characters you want to extract. Press Enter key to get the extracted result. Then drag fill handle over the cells to apply this formula. B9 is the cell you extract characters from, 6 is the number of characters you want to extract.
Capitalize the first letter in Excel is very easy and you have 3 tools to do that
- By formula
- With Power Query
- With VBA
Capitalize the first letter by formula
To capitalize the first letter of each word in your cells by formula, just write the PROPER function
=PROPER(B2) or =PROPER([@columnName])
But the job isn’t finished 🤔
You must also transform the result of the formula into values with the tool copy/paste special (option values)
Capitalize the first letter with Power Query
If you build a query to manipulate your data with Power Query, you can quickly capitalize the first letter of a column.
- Select one or more columns
- Right-click in the header of the columns
- Go to Transform
- Capitalize each word
This technique is much better because you don’t duplicate the contain of your column. The transformation remplaces the previous contain of the column.
Capitalize the first letter with VBA
In VBA, the code to transform your string is the following possible with the instruction StrConv and the option vbProperCase
Sub Capitalize_First_Letter() Dim MyText As String Dim i As Long For i = 2 To 11 Cells(i, 2) = StrConv(Cells(i, 2), vbProperCase) Next End Sub
Return to Excel Formulas List
Download Example Workbook
Download the example workbook
This tutorial will teach you how to capitalize first letter(s) in Excel and Google Sheets.
Capitalize First Letter of All Words
The simplest way to capitalize first letters in a text string is to use the PROPER Function.
=PROPER(B3)
The PROPER Function capitalizes the first letter in every word in the text string and convers all other letters to lower case.
Note: The PROPER Function treats any non-numeric character like a space. So “joe2smith” was changed to “Joe2Smith”.
Capitalize First Letter Only
Instead, to capitalize only the first letter of your text string, use the REPLACE function along with the UPPER and LEFT functions.
=REPLACE(B3,1,1,UPPER(LEFT(B3,1)))
The REPLACE Function simply replaces the first character with a capitalized version of the first character.
You can add in the LOWER Function to set all other characters to lower case:
=REPLACE(LOWER(B3),1,1,UPPER(LEFT(B3,1)))
Capitalize First Letter in Google Sheets
These formulas work exactly the same in Google Sheets as in Excel.