+ Reply to Thread
Results 1 to 18 of 18

Data Mining

  1. #1
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9

    Data Mining

    I have an excel spreadsheet that has the following type of data in the cells:
    "11/09/08 20:29 JDS David/DBLD reports lights in the canopy are not working Christine/CBRE b4957204-1"

    I need to know if there is a way to mine the B4957204-1 out of this, I have 300 cells with similiar text in that I need just a list of call #'s out of without all the other dribble. Any suggestions?
    Last edited by rylo; 12-17-2008 at 09:59 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello IrishBull74,

    Welcome to the Forum!

    Do you want all the call numbers on the sheet? Is the call number always in this format "/CBRE b4957204-1"?

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    The call #'s always start with B and then a 7 digit number, and sometimes followed by a -1 or-2 depending on what vendor it is sent to.
    example B1234567-1, and yes I am looking for all the call #'s

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello IrishBull74,

    Do you want to list these on another worksheet in a single column in the same workbook or does this need to be in a separate workbook?

    Sincerely,
    Leith Ross

  5. #5
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    I would like to ultimately have them in a separate worksheet in the same workbook along with the data in column A, I have a list of machine #'s in Column A and the call numbers are in the text of the calls in column D. I need the machine numbers in one column and the call #'s in the other column

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    In your workbook, have a blank sheet sheet2 ready for the output.

    Put the code below into a general module and run on the data sheet.

    Please Login or Register  to view this content.
    HTH

    rylo

  7. #7
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    Hate to say it but that doesn't work

  8. #8
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Example file time. Show your format, some representative data, and a sheet that shows what the output should be for the given example data.

    rylo

  9. #9
    Registered User
    Join Date
    11-09-2008
    Location
    Kansas City, MO
    Posts
    4
    Am I missing something here, or why don't you just use the formula "=right(A1,10)" with A1 being the cell address where the data to be mined is located.

  10. #10
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    From the OP's post

    Please Login or Register  to view this content.
    Have to cover the situation where there is no trailing -1 or -2......

    rylo

  11. #11
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    Machine# Start Time End Time Comment
    ABCDXXXX 11/9/2008 11/10/2008 11/09/08 20:29 XXX Site reports lights in the canopy are not working B4957204-1

    each space is where a cell starts and another ends

  12. #12
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    I appreciate the help on this.

  13. #13
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Where's the example file?????

    rylo

  14. #14
    Registered User
    Join Date
    12-11-2008
    Location
    Lexington, KY
    Posts
    14
    Can you not do a "Reverse Right' lookup for the first space character?

  15. #15
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    Here ya go.... want the machine # start and end times and just the call # out of the comments section B1234567
    Attached Files Attached Files

  16. #16
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    See how the attached goes. Output on sheet2.

    rylo
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    A GODSEND INDEED!

    How do I view the macro itself?

  18. #18
    Registered User
    Join Date
    12-11-2008
    Location
    Festus, Mo
    Posts
    9
    Nevermind, found it..

+ 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