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 Office 365. You can find a version of this tip for the older menu interface of Excel here: Specifying Proper Case.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Grading in schools is often done using numeric values. However, you may want to change those numeric values into letter ...
Discover MoreIf you need to do some work in the base-8 numbering system (octal), you'll love two worksheet functions provided by Excel ...
Discover MoreExcel provides a handy worksheet function that allows you to forecast values based upon a set of known values. This ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-01-13 10:09:15
Tom
If, instead you would like a "normal" sentence structure, you need to do a little more work so only the first word in capitalized. Two approaches work, capitalize the first character and make the rest lower case or use PROPER in combination with finding the first space in the text.
=UPPER(LEFT(D4,1))&LOWER(MID(D4,2,99999))
or
=LEFT(PROPER(D4),FIND(" ",D4,1))&(MID(LOWER(D4),FIND(" ",D4,1)+1,9999))
2015-12-22 05:51:37
Rod Grealish
Rob,
There are two functions, in addition to PROPER, for changing the case of a text string. They are UPPER and LOWER which change text to uppercase and lowercase respectively.
Enter the example text "This Is My Text" into cell A1
Keying =UPPER(A1) into cell B1 displays "THIS IS MY TEXT" in cell B1
Keying =LOWER(A1) into cell C1 displays "this is my text" in cell C1.
If you want to replace the original content of A1 by the converted value, copy the converted text (from B1 or C1)
and paste it into cell A1 using Paste Values (on Home tab, click Paste and then one of the three Paste Value options)
2015-12-21 14:24:51
What if I wanted the opposite... force all characters entered to be displayed as UPPER CASE?
2015-12-19 13:48:23
shopkins
I have found Proper to be quite useful, but not in all cases. "If" statements seem to be subject to case in many instances but not all. When calling workbooks via VBA, I have found using the open statement with ALL caps for the filename seldom fails. (This can be done without modifying the original mixe-case reference.
2015-12-19 12:52:56
Keith
If you're moving address' and you use "proper" how do you tell excel to recognize States or Provinces, thank you
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments