+ Reply to Thread
Results 1 to 2 of 2

How to search column of data for specific string and extract to new column

  1. #1
    Registered User
    Join Date
    03-13-2012
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to search column of data for specific string and extract to new column

    Hello,

    I have a large database of information from a PLC program. The program extracted the data to excel but merged all the data into one cell down a column of ~13000 lines. The devices that are being used are located in the cells. What I need is something where I can search all the lines in the column depending on what device name is which I have a list of and in a new column next to the corresponding cell, have the device name solely. Here is an example:

    All down column D, so for D10 and D475 it has:
    D10 = B40147.9^CV-10 AVB MAN PL RAM 00073
    D475 = B40845.1^CV-10 RUN 03A100001

    What I would do is input somewhere CV-10 and it would go through the whole spreadsheet and find where all the CV-10's are and in the next column copy this string. So for E10 and E475, they would contain CV-10.

    Any help with this would be great.

    Thanks,
    -AS

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to search column of data for specific string and extract to new column

    Hi

    One way could be this.

    In c1(or Anywhere you like) put the string CV-10.

    In e2(e1,is header?), use this formula and copy down.

    =IF(ISERROR(FIND(C1,D10,1)),"",C1)


    Is this what are you looking for?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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