+ Reply to Thread
Results 1 to 3 of 3

move part of a cell content

  1. #1
    slowhand
    Guest

    move part of a cell content


    I need to move part of the contents of a cell (all except the last 2
    chracters) to a different cell leaving the original cell as it was

    i.e.

    'ab1 2cd' needs to be come 'ab1 2'

    after the space there is always 3 characters the first being a number
    the last two are always letters

    before the space the can be upto five alpha/numeric chracters

    is there a way to do this please


    --
    slowhand
    Posted from - http://www.officehelp.in


  2. #2
    Dave Peterson
    Guest

    Re: move part of a cell content

    Always remove the last 2 characters?

    You could use a formula like:
    =left(a1,len(a1)-2)



    slowhand wrote:
    >
    > I need to move part of the contents of a cell (all except the last 2
    > chracters) to a different cell leaving the original cell as it was
    >
    > i.e.
    >
    > 'ab1 2cd' needs to be come 'ab1 2'
    >
    > after the space there is always 3 characters the first being a number
    > the last two are always letters
    >
    > before the space the can be upto five alpha/numeric chracters
    >
    > is there a way to do this please
    >
    > --
    > slowhand
    > Posted from - http://www.officehelp.in


    --

    Dave Peterson

  3. #3
    papou
    Guest

    Re: move part of a cell content

    Hello
    =LEFT(A1,LEN(A1)-2)

    HTH
    Cordially
    Pascal

    "slowhand" <[email protected]> a écrit dans le message de
    news: [email protected]...
    >
    > I need to move part of the contents of a cell (all except the last 2
    > chracters) to a different cell leaving the original cell as it was
    >
    > i.e.
    >
    > 'ab1 2cd' needs to be come 'ab1 2'
    >
    > after the space there is always 3 characters the first being a number
    > the last two are always letters
    >
    > before the space the can be upto five alpha/numeric chracters
    >
    > is there a way to do this please
    >
    >
    > --
    > slowhand
    > Posted from - http://www.officehelp.in
    >




+ 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