+ Reply to Thread
Results 1 to 3 of 3

Multi-Spreadsheet text and data extraction

  1. #1
    taiwansmith
    Guest

    Multi-Spreadsheet text and data extraction

    I'm having trouble figuring out how to code a macro that will perform this
    function:

    -Extract text in a column of spreadsheet #1
    -Look up that same text in a column of spreadsheet #2
    -Either highlight it for later use and/or
    -Copy data within the same row of spreadsheet #2, but a different column
    associated with the extracted text from spreadsheet #1
    -Return to spreadsheet #1 and paste the data extracted from #2 into the same
    row, but a new column.

    This is apart of a data mining exercise in a cancer research lab. It falls
    under the realm s of bioinformatics, but since so many people here appear to
    be expert, I figured I ought to start here.

    Cheers,
    taiwansmith

  2. #2
    Dave Patrick
    Guest

    Re: Multi-Spreadsheet text and data extraction

    I think I would bring the data into Access as separate tables (either import
    or linked tables). Then build a query joining the two tables on the column
    you speak of.

    --

    Regards,

    Dave Patrick ....Please no email replies - reply in newsgroup.
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    http://www.microsoft.com/protect

    "taiwansmith" wrote:
    | I'm having trouble figuring out how to code a macro that will perform this
    | function:
    |
    | -Extract text in a column of spreadsheet #1
    | -Look up that same text in a column of spreadsheet #2
    | -Either highlight it for later use and/or
    | -Copy data within the same row of spreadsheet #2, but a different column
    | associated with the extracted text from spreadsheet #1
    | -Return to spreadsheet #1 and paste the data extracted from #2 into the
    same
    | row, but a new column.
    |
    | This is apart of a data mining exercise in a cancer research lab. It
    falls
    | under the realm s of bioinformatics, but since so many people here appear
    to
    | be expert, I figured I ought to start here.
    |
    | Cheers,
    | taiwansmith



  3. #3
    Tom Ogilvy
    Guest

    Re: Multi-Spreadsheet text and data extraction

    If you are going to keep your data in excel rather than moving it to access,
    then
    This is tailor made for the Vlookup function. (no programming required)

    Look at the examples in excel help for the lookup functions: vlookup,
    hlookup, lookup, combination of Index and Match.

    --
    Regards,
    Tom Ogilvy



    "taiwansmith" <taiwansmith@discussions.microsoft.com> wrote in message
    news:E7230FE5-68A0-493B-987B-A9AE22894608@microsoft.com...
    > I'm having trouble figuring out how to code a macro that will perform this
    > function:
    >
    > -Extract text in a column of spreadsheet #1
    > -Look up that same text in a column of spreadsheet #2
    > -Either highlight it for later use and/or
    > -Copy data within the same row of spreadsheet #2, but a different column
    > associated with the extracted text from spreadsheet #1
    > -Return to spreadsheet #1 and paste the data extracted from #2 into the
    > same
    > row, but a new column.
    >
    > This is apart of a data mining exercise in a cancer research lab. It
    > falls
    > under the realm s of bioinformatics, but since so many people here appear
    > to
    > be expert, I figured I ought to start here.
    >
    > Cheers,
    > taiwansmith




+ 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