Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    Oct 2005
    Posts
    599
    Thanks
    1
    Thanked 1 Time in 1 Post

    Upper case conversion (Excel 2003)

    Good evening....does anyone have a formula that I can use in Conditional Formatting to turn lower case into upper case (eg: 'mip' to 'MIP'); and, also a formula that will turn the 1st letter of lower case text into upper (eg: 'home' to 'Home'). The cells in question pick up data from other cells (eg: the cell already has a formula like =C65, so I think that I will have to use the formula in conditional formatting ??), and it's a nuisance to have to go back and go through everything in order to correct the typing, so I thought that a formula that would convert automatically would be of assistance....thank you.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Upper case conversion (Excel 2003)

    Conditional formatting cannot change the capitalization of the text; the Font tab in the Format Cells dialog doesn't have options for that. So you must take care of it in the cell formula itself. Excel has functions UPPER, LOWER and PROPER. The latter converts the first letter of each word to upper case, and the rest to lower case.
    If a cell now contains a formula =C65&D65, you can make it return UPPER CASE by changing the formula to =UPPER(C65&D65), or Proper Case by changing the formula to =PROPER(C65&D65)
    If you only want to turn the first letter of the entire result to upper case and the rest to lower case, use

    =UPPER(LEFT(C65&D65,1))&LOWER(MID(C65&D65,2,1000))

    (The 1000 is merely a number larger than the longest text you expect in a cell)

  3. #3
    4 Star Lounger
    Join Date
    Oct 2005
    Posts
    599
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Upper case conversion (Excel 2003)

    ...thanks Hans...ps: is there a formula that I can use that will automatically insert an apostrophe after a word...?

  4. #4
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Upper case conversion (Excel 2003)

    If the word is in A1:

    <pre>=A1&"'"</pre>


    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •