+ Reply to Thread
Results 1 to 21 of 21

Proper case problem

  1. #1
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Proper case problem

    Hi

    I want to proper case "ala'a" as "Ala'a" but I get "Ala'A"
    I want to make first letter of every word if it is separated by space and not by a non alpha character

    Thanks in advance
    Imran Bhatti
    Teach me Excel VBA

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,363

    Re: Proper case problem

    This ..???

    =UPPER(LEFT(A1))&MID(A1,2,255)

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Proper case problem

    Thinking...
    Last edited by Special-K; 12-21-2017 at 07:37 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    Quote Originally Posted by JohnTopley View Post
    This ..???

    =UPPER(LEFT(A1))&MID(A1,2,255)

    This fails if there are other words
    Like Ala'a hussain

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Proper case problem

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Proper case problem

    Try this one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  7. #7
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    This name is a variable.Can hard code the parts

  8. #8
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    @than

    It also not helped

  9. #9
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Proper case problem

    Quote Originally Posted by ImranBhatti View Post
    @than

    It also not helped
    wondering, it's not working...which excel version you are using?

  10. #10
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Proper case problem

    give some more examples..

    upper case.PNG

  11. #11
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Proper case problem

    Supply a REASONABLE amount of test data or you will end up with it not working.
    One piece of data is not a reasonable amount.

  12. #12
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    @than
    I need proper case means capitaling every words's first letter . Your formula not capitaliizng

  13. #13
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    Hi Forum signing off for two hours from the office will be online from home.

  14. #14
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,363

    Re: Proper case problem

    Assuming words are delimited by blank

    Please Login or Register  to view this content.
    =Ufirst(A1)

  15. #15
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Proper case problem

    Try something like,

    Please Login or Register  to view this content.
    Substitute ' with ß, use Proper. Then substitute ß with '
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  16. #16
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    Sample attached. A column is original text while B column is desired
    Attached Files Attached Files

  17. #17
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Proper case problem

    Quote Originally Posted by Haseeb A View Post
    Try something like,

    Please Login or Register  to view this content.
    Substitute ' with ß, use Proper. Then substitute ß with '
    This was my first answer which I scrapped as the PROPER automatically changed the last a to uppercase regardless of what ASCII character I put in there.
    Strangely this works using the Beta character you suggest.

  18. #18
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Proper case problem

    Quote Originally Posted by ImranBhatti View Post
    Sample attached. A column is original text while B column is desired
    You have typos on B2 and B4.
    Using Haseeb A's solution works though

  19. #19
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    Yes Special-K there were two typos.
    Both the VBA way of John and Formula way of Haseeb are working now. Thanks all of you for the precious time.

  20. #20
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Proper case problem

    Thank you & add reputation please...

  21. #21
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Proper case problem

    Yes I will add reputation despite they all are beyond repute.

    And here I must attache the file with both the solution applied so that the researchers may have a ready made solution file on the web.
    Attached Files Attached Files

+ 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. [SOLVED] Problem with Proper Case Text
    By Quivolt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2017, 03:31 PM
  2. Upper Case or Proper Case help
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-24-2013, 02:56 PM
  3. [SOLVED] Need the proper syntax to use Case/Select Case in vba properly.
    By rbion in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-16-2013, 02:34 PM
  4. Replies: 3
    Last Post: 10-30-2009, 04:00 PM
  5. excel'03 how to convert a column from upper case to proper case
    By sharie palmer in forum Excel General
    Replies: 1
    Last Post: 01-30-2006, 07:55 PM
  6. [SOLVED] Excel: How do I change all upper case ss to proper case?
    By Moosieb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2006, 08:50 PM
  7. [SOLVED] Changing Upper case to Proper Case
    By Mountain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2005, 07:06 PM

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