Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. 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 15, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


1

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 Excel in Microsoft 365. 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

Text Doesn't Wrap at Margin in Normal View

If you are using Word in Normal view, and the text on the screen doesn't wrap at the right margin like it should, the ...

Discover More

Extracting INCLUDEPICTURE File Names

If you use the INCLUDEPICTURE field to add images to your document, you may love the macro in this tip. It allows you to ...

Discover More

Automatically Formatting for Decimal Places

Cell contents and cell formatting are, in Excel, largely independent of each other. You can enter something in a cell and ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Converting Codes to Characters

Character codes are the numeric values used, by a computer, to signify various alphanumeric characters. You can use the ...

Discover More

Selecting Random Names

Got a ton of names from which you need to select a few random names? There are several ways you can extract what you ...

Discover More

Getting the Name of the Parent Workbook

If you need to insert into a cell the name of the workbook in which a worksheet is contained, you can use the CELL ...

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 6 - 0?

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.