+ Reply to Thread
Results 1 to 4 of 4

shifting alphabets within a cell

  1. #1
    Registered User
    Join Date
    07-18-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    shifting alphabets within a cell

    Hi,

    I have a question. I have a cell that reads SD12345678. Is there a formular to make it read S12345678D instead?

    Would apprectiate if someone could provide me with some help here.

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

    Re: shifting alphabets within a cell

    =left(a1,1)&mid(a1,2,1)&(right(a1,len(a1)-2)
    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.

  3. #3
    Registered User
    Join Date
    07-18-2010
    Location
    Tbilisi, Georgia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: shifting alphabets within a cell

    hi gerard83,
    your issue is to move the second letter (or symbol) to the end of the cell's value?
    without VBA it can be done by left and mid formulas. So if you have "SD12345678" in A1 cell, type this formula : "=LEFT(A1,1)&MID(A1,3,LEN(A1))&MID(A1,2,1)" in B1 and you will get "S12345678D" in B1 cell.

  4. #4
    Registered User
    Join Date
    07-18-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: shifting alphabets within a cell

    hey thanks so much!! that works exactly like how i wanted it!! =)

+ 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