Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Specifying Proper Case.

Specifying Proper Case

Written by Allen Wyatt (last updated May 12, 2026)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


8

If you receive information from others as an odd assortment of upper- and lowercase characters, you may want to put the PROPER worksheet function to work for you. This function converts text so that the first letters of any words are uppercase and everything else is lowercase. Actually, what it does is make everything lowercase except any letters that do not follow another letter. Thus, any letters following spaces, punctuation, or numbers would be converted to uppercase.

As an example, if cell D4 contains "THIS IS MY TEXT", you could use the following formula in cell E4:

=PROPER(D4)

The result is that cell E4 will contain "This Is My Text".

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12046) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Specifying Proper Case.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Searching for Text With a Certain Format

The Find and Replace tool in Word is very powerful. You can use it to search not only for text but for the formatting ...

Discover More

Jumping to a Relative Endnote

Endnotes are easy enough to add and accumulate in a document. For this reason, Word makes it easy to jump from one ...

Discover More

Printing without Opening

Want to print one or more workbooks without the need of actually opening the file? It's easy to do when you rely on ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Exact Matches with DSUM

The DSUM function is very handy when you need to calculate a sum based on data that matches criteria you specify. If you ...

Discover More

Cleaning Text

You can use the CLEAN worksheet function to remove any non-printable characters from a cell. This can come in handy when ...

Discover More

Using the EOMONTH Function

If you need to determine the date of the last day in a month, it's hard to beat the flexibility of the EOMONTH function. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three minus 0?

2026-05-15 11:09:47

J. Woolley

Here are two alternate versions of the MakeProper3 macro in my most recent comment below:

Sub MakeProper4()
If Selection.HasFormula = False Then _
    Selection = Application.Proper(Selection)
End Sub

Notice Application.Proper is the same as WorksheetFunction.Proper except the latter produces a debug dialog if Proper returns an error but the former simply returns the error. Both are equivalent to Excel's PROPER function.

Sub MakeProper5()
Dim cell As Range
If Selection.HasFormula = False Then _
    For Each cell In Selection: cell = StrConv(cell, vbProperCase): Next cell
End Sub

Notice PROPER(...) capitalizes the first letter after any non-letter, reducing the rest to lowercase, while StrConv(..., vbProperCase) ignores non-letters except space, Tab, and CR/LF.


2026-05-15 04:52:06

sandeepkothari

Thanks Woolley.


2026-05-14 16:05:21

J. Woolley

@sandeepkothari
Willy's macro tests an array with a single element (1 or TRUE); I'm not sure why. This version works as well as Willy's:

Sub MakeProper2()
Selection = Evaluate("PROPER(" & Selection.Address & ")")
End Sub

And this version does nothing if Selection includes a formula:

Sub MakeProper3()
If Selection.HasFormula = False Then _
    Selection = Evaluate("PROPER(" & Selection.Address & ")")
End Sub

Notice Selection can be more than one cell.


2026-05-14 09:19:42

jamies

Thanks to J. Woolley for the link to

https://excelribbon.tips.net/T011267_Modifying_Proper_Capitalization.html

gives the sort of code needed to "Get it Right"


2026-05-14 07:36:44

sandeepkothari

Hi Willy, pl explain why you have used the IF function? I tried without it & did not succeed to get the desired result.


2026-05-13 09:59:19

J. Woolley

@jamies
See https://excelribbon.tips.net/T011267_Modifying_Proper_Capitalization.html


2026-05-12 05:43:31

jamies

Problem with "PROPER" is that it does not recognise punctuation appropriately, and such prefixes to "family", or Tribe, "Clan" names or such as "Mac", "Mc", De La etc.

So dealing with "Title" cases needs manual, or scripted handling, or careful use of Substitute actions -
Luckily there is now the Regex facilities.

See such things as REGEXEXTRACT Function

0: Return the first string that matches the pattern.
1: Return all strings that match the pattern as an array.
2: Return capturing groups from the first match as an array.
Note: Capturing groups are parts of a regex pattern surrounded by parentheses "(...)".


2021-05-15 10:09:09

Willy Vanhaelen

If you want to change the case directly in the cell or a range, you can use this one-liner macro:

Sub MakeProper()
Selection = Evaluate("IF({1},PROPER(" & Selection.Address & "))")
End Sub

Of course you can replace PROPER with UPPER or LOWER and the macro will make the changes accordingly.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.