+ Reply to Thread
Results 1 to 3 of 3

How do I extract 3 numbers inside a longer number to another column ?

  1. #1
    Registered User
    Join Date
    03-07-2005
    Location
    Brussels
    Posts
    21

    How do I extract 3 numbers inside a longer number to another column ?

    Hi,


    How do I extract the 008 from e.g. CV002-008-004_001 or the 001 from CV002-001_001 to another column ?


    Thanks in advance !

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    Try this:

    With CV002-008-004_001 in A1:
    B1: =LEFT(MID(A1,FIND("-",A1)+1,255),3)

    That returns 008

    Does that help?

    Regards,
    Ron

  3. #3
    MBo
    Guest

    RE: How do I extract 3 numbers inside a longer number to another colum

    Use the following fromula
    =MID(your cell,7,3)

    This works only if you "008"s or "001"s are always 7 characters from the
    left...

    MBo


    "Dbase Beginner" wrote:

    >
    > Hi,
    >
    >
    > How do I extract the 008 from e.g. CV002-008-004_001 or the 001 from
    > CV002-001_001 to another column ?
    >
    >
    > Thanks in advance !
    >
    >
    > --
    > Dbase Beginner
    > ------------------------------------------------------------------------
    > Dbase Beginner's Profile: http://www.excelforum.com/member.php...o&userid=20778
    > View this thread: http://www.excelforum.com/showthread...hreadid=503412
    >
    >


+ 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