+ Reply to Thread
Results 1 to 3 of 3

Substitute ,replace and delete in a cell.

Hybrid View

  1. #1
    Doug
    Guest

    Substitute ,replace and delete in a cell.

    Can anyone help me with a formula ?
    From the example cell contents below,i need to substitute the first
    letter(A) with G,delete the the third number (0),and delete the last three
    numbers(000)

    All the cells containing my data are in exactly the same sequence,so the
    formula would be the same for all.

    AB02030000

    Thanks in anticipation.

    Doug


  2. #2
    Ron Coderre
    Guest

    RE: Substitute ,replace and delete in a cell.

    Would this work for you?:

    For A1: AB02030000

    B1: ="G"&MID(A1,2,3)&MID(A1,6,2)
    Returns GB0230


    ••••••••••
    Regards,
    Ron


    "Doug" wrote:

    > Can anyone help me with a formula ?
    > From the example cell contents below,i need to substitute the first
    > letter(A) with G,delete the the third number (0),and delete the last three
    > numbers(000)
    >
    > All the cells containing my data are in exactly the same sequence,so the
    > formula would be the same for all.
    >
    > AB02030000
    >
    > Thanks in anticipation.
    >
    > Doug
    >


  3. #3
    Doug
    Guest

    RE: Substitute ,replace and delete in a cell.

    Thanks Ron,

    I'm looking to return "GB2300" (deleting the first zero),but you have given
    me enough to work it out myself.

    Many Thanks

    Doug


    "Ron Coderre" wrote:

    > Would this work for you?:
    >
    > For A1: AB02030000
    >
    > B1: ="G"&MID(A1,2,3)&MID(A1,6,2)
    > Returns GB0230
    >
    >
    > ••••••••••
    > Regards,
    > Ron
    >
    >
    > "Doug" wrote:
    >
    > > Can anyone help me with a formula ?
    > > From the example cell contents below,i need to substitute the first
    > > letter(A) with G,delete the the third number (0),and delete the last three
    > > numbers(000)
    > >
    > > All the cells containing my data are in exactly the same sequence,so the
    > > formula would be the same for all.
    > >
    > > AB02030000
    > >
    > > Thanks in anticipation.
    > >
    > > Doug
    > >


+ 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