+ Reply to Thread
Results 1 to 2 of 2

Find specific value from one document and copy it to another document

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    Prilep, Macedonia
    MS-Off Ver
    Excel 2010
    Posts
    15

    Find specific value from one document and copy it to another document

    Hi,
    I am trying to find specific value from a specific column, and then copy the row with that value to another file. I have huge database that i want to filter in excel with VBA. So basically I want to split the file into different files, based on the specific values from specific column from the big file. For example:

    big_file.xls:
    NAME SURNAME GROUP
    Josh Joshy AB
    Nick Nickey AB
    John Johney BC
    Mark Markey CD

    RESULT:
    find the group: AB, BC and CD and copy the rows into those files:

    AB.xls:
    NAME SURNAME GROUP
    Josh Joshy AB
    Nick Nickey AB

    BC.xls
    NAME SURNAME GROUP
    John Johney BC

    CD.xls
    NAME SURNAME GROUP
    Mark Markey CD

    Thanks for your help.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Find specific value from one document and copy it to another document

    The easiest way to do this is to import your table into Access. Run queries based upon your criteria and export the queries back to Excel if that is where you need them. If that is not an option for you, then I would recommend using MS Query which is part of Excel. Here is a tutorial on how to use MS Query.

    http://www.exceluser.com/explore/msquery1_1.htm
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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