+ Reply to Thread
Results 1 to 5 of 5

Check to see if a string is all in uppercase?

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    San Francisco, USA
    MS-Off Ver
    Excel 2007
    Posts
    60

    Check to see if a string is all in uppercase?

    lets say i have a column comprised of things like the following

    CHOCOLATE
    CHOCOLATE-EGG
    chocolate egg
    easter-egg


    I want to loop through each cell and check to see if the string in the cell is in uppercase (if entire string is in uppercase then do..... something)

    the fact that some strings have none alphabet characters, does that make this more complicated?

    thanks in advance.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Check to see if a string is all in uppercase?

    Hi Pablowilks,

    With you data in column A, try using below formula:


    Formula: copy to clipboard
    Please Login or Register  to view this content.




    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Wellington NZ
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Check to see if a string is all in uppercase?

    This might work:

    Please Login or Register  to view this content.
    Regards

    Andy L Gibson

  4. #4
    Registered User
    Join Date
    04-24-2012
    Location
    San Francisco, USA
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: Check to see if a string is all in uppercase?

    thank you Andy and Dilipendey. Much appreciated.

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Check to see if a string is all in uppercase?

    You are welcome pablowilks... cheers


    Suggest you to mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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