+ Reply to Thread
Results 1 to 25 of 25

Alphabitize function

Hybrid View

  1. #1
    Registered User
    Join Date
    01-16-2008
    Posts
    91

    Alphabitize function

    Is there a formula that when I take several letters from several cells in to one to alphibitize them

    =LEFT($E8,1)&LEFT(G5,1)&" "&MID($E8,2,1)&MID(G5,2,1) &" "&RIGHT($E8,1)&RIGHT(G5,1)
    Thats what I have and I was thinking like

    =LEFT($E8,1)&LEFT(G5,1)ALPHA&" "&MID($E8,2,1)&MID(G5,2,1)ALPHA &" "&RIGHT($E8,1)&RIGHT(G5,1)ALPHA
    but I dunno what the function would be

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Take a look in excel help for Upper & Proper case

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-16-2008
    Posts
    91
    that changes the case of the letters and the case up the letters is critical for other calculations. So I didnt see anyhting about alphabetizing them. This is an example of the result: zA aB tm. I would like to have it say Az aB mt

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Proper case will change text like zA aB to Za Ab


    VBA Noob

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by VBA Noob
    Proper case will change text like zA aB to Za Ab


    VBA Noob

    I think the OP means to rearrange the resulting characters in alphabetic order
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Registered User
    Join Date
    01-16-2008
    Posts
    91
    Quote Originally Posted by NBVC
    I think the OP means to rearrange the resulting characters in alphabetic order
    yup exactally what I mean. but still stay in there original two

+ 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