+ Reply to Thread
Results 1 to 11 of 11

[SOLVED] Upper Case Conditional Formatting

  1. #1
    Forum Contributor
    Join Date
    03-06-2005
    Location
    Pottsboro, TX
    MS-Off Ver
    MS 365 - Version 2208
    Posts
    100

    [SOLVED] Upper Case Conditional Formatting

    I am trying to use =UPPER(A1) as a conditional Format, but it isn't taking. What am I missing?

    Also, is there a number to how many conditions a cell/sheet can have?

    Thank you for assistance!
    Last edited by tacnola; 09-23-2019 at 03:45 PM.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Upper Case Conditional Formatting

    Do you want to see if everything in cell is in uppercases or just the first letter? If so, use proper function.
    Also, is bad practice to add as many CF conditions as possible. Keep it simple, and check if same rule can be applied to multiple ranges
    Click the * to say thanks.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Upper Case Conditional Formatting

    You have to compare that value with something else, and you probably need to use the EXACT function.

    You can have up to 64 different conditional formats per cell (though what would you need that many for?)

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    03-06-2005
    Location
    Pottsboro, TX
    MS-Off Ver
    MS 365 - Version 2208
    Posts
    100

    Re: Upper Case Conditional Formatting

    So the cell(s) are open and fillable cell(s). So if someone enters a "n" I want it to changed to "N".
    I can't have a formula in the cell, since it is a fillable cell. So I was hoping I would set it up as a Conditional Formatting event.

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Upper Case Conditional Formatting

    You will either need VBA to do it automatically or data validation restrictions in order to make the user enter them as you want. Or are you plan to highlight them and then to change each one manually?

  6. #6
    Forum Contributor
    Join Date
    03-06-2005
    Location
    Pottsboro, TX
    MS-Off Ver
    MS 365 - Version 2208
    Posts
    100

    Re: Upper Case Conditional Formatting

    oh well shucks. I don't in my case a VBA will work.

    Thank you for your response!!

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Upper Case Conditional Formatting

    If not vba Data validation.
    Select A2:A8
    Data -> Data Validation
    Allow -> Custom
    Formula
    =FIND(UPPER(A2),A2)=1
    Input message -> Full text entry should be in upper case only.
    OK
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,463

    Re: Upper Case Conditional Formatting

    Quote Originally Posted by tacnola View Post
    So the cell(s) are open and fillable cell(s). So if someone enters a "n" I want it to changed to "N".
    The following event code procedure will automatically make any entry into cell A1 upper case...
    Please Login or Register  to view this content.
    HOW TO INSTALL Event Code
    ------------------------------------
    If you are new to event code procedures, they are easy to install. To install it, right-click the name tab at the bottom of the worksheet that is to have the functionality to be provided by the event code and select "View Code" from the popup menu that appears. This will open up the code window for that worksheet. Copy/Paste the event code into that code window. That's it... the code will now operate automatically when its particular event procedure is raised by an action you take on the worksheet itself. Note... if you are using XL2007 or above, make sure you save your file as an "Excel Macro-Enabled Workbook (*.xlsm) and answer the "do you want to enable macros" question as "yes" or "OK" (depending on the button label for your version of Excel) the next time you open your workbook.

  9. #9
    Forum Contributor
    Join Date
    03-06-2005
    Location
    Pottsboro, TX
    MS-Off Ver
    MS 365 - Version 2208
    Posts
    100

    Re: Upper Case Conditional Formatting

    [QUOTE=Rick Rothstein;5198088]The following event code procedure will automatically make any entry into cell A1 upper case...
    Please Login or Register  to view this content.
    So, This worked perfectly when applying it to a single cell (C5) but when I tried to expand the fields from the single cell, "C5", to the entire area, C5:AG100, then it doesn't work at all. Any guidance?

    Also...I am getting a "RUN-TIME error '13': Type Mismatch....
    Please Login or Register  to view this content.
    Thank you again for your responses!!
    Last edited by tacnola; 09-23-2019 at 11:06 AM. Reason: To add an error I'm getting

  10. #10
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,463

    Re: Upper Case Conditional Formatting

    For a range of cells, use this Change event instead of the one I gave you earlier...
    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    03-06-2005
    Location
    Pottsboro, TX
    MS-Off Ver
    MS 365 - Version 2208
    Posts
    100

    Re: Upper Case Conditional Formatting

    Thank you!! Worked Perfectly!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 16
    Last Post: 11-09-2014, 08:32 PM
  2. [SOLVED] Upper case month names in custom formatting
    By gak67 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2014, 01:18 AM
  3. Conditional Formatting Duplicate Values (Upper & Lower Case)
    By Orangeworker in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-05-2010, 04:01 AM
  4. [SOLVED] Conditional Formatting based on Upper case
    By cs_vision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-28-2006, 03:40 PM
  5. Formatting Upper Case letters
    By Greegan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2006, 02:15 AM
  6. [SOLVED] Changing file in all upper case to upper and lower case
    By Sagit in forum Excel General
    Replies: 14
    Last Post: 08-25-2005, 10:05 PM
  7. Replies: 1
    Last Post: 03-09-2005, 05:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1