+ Reply to Thread
Results 1 to 6 of 6

Function og formula to pull out what's in front of first semicolon

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    Stavanger, Norway
    MS-Off Ver
    Excel 2010
    Posts
    3

    Function og formula to pull out what's in front of first semicolon

    Hi. i need help to solve a problem. in a column i have these "numbers". How can i in a in a support column make a formula or function that pulls out everything that is in front of the first semicolon?

    Column A
    6088-144;9;1
    6088-144;9;2
    6088-1320;9;1
    6088-1320;10;1
    6088-1320;11;1
    6088-1321;1;1
    608802017473;31;1
    608802017476;3;1
    6088-127;7;1
    6088-127;8;1

    Column B (support column) - result
    6088-144
    6088-144
    6088-1320
    6088-1320
    6088-1320
    6088-1321
    608802017473
    608802017476
    6088-127
    6088-127

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Function og formula to pull out what's in front of first semicolon

    Try Data - Text to columns - delimited and use semicolon as delimiter. Select not to import the unnecessary columns

  3. #3
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Function og formula to pull out what's in front of first semicolon

    =left(a1,find(";",a1,1)-1)
    Elegant Simplicity............. Not Always

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Function og formula to pull out what's in front of first semicolon

    In A1 Cell
    6088-144;9;1

    In B1 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    02-22-2013
    Location
    Stavanger, Norway
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Function og formula to pull out what's in front of first semicolon

    Thanks a lot.

  6. #6
    Registered User
    Join Date
    02-22-2013
    Location
    Stavanger, Norway
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Function og formula to pull out what's in front of first semicolon

    works like a charm :-)

+ 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