+ Reply to Thread
Results 1 to 4 of 4

Lookup and pull data from all workbooks of a folder; transfer to a target workbook

  1. #1
    Registered User
    Join Date
    04-02-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Lookup and pull data from all workbooks of a folder; transfer to a target workbook

    Dear All,

    I am so happy to have found this cool place,

    I am new to macros, and I am struggling to implement the below:

    I will need to vlookup and pull data from standard workbooks that will be saved in the same folder monthly; (attachment in my third post, sample Sales_Stats_201105) to a target workbook. The data will be pulled from a vertical table {Pears, Apples, Olives} with n columns

    The target workbook contains a column of text data (eg {Pears, Apples, Olives})

    I have implemented a vlookup formula, returning the value of a single cell (e.g =VLOOKUP($A25,'[Sales_201105.xls]Grocery'!$A29:$J46,COLUMN(B$25),FALSE))

    I would like to be able to run a macro instead, that will vlookup and populate the relevant cells of the target spreadsheet;


    I thank you very much in advance and very much appreciate your efforts

    Greets
    Silverblue
    Last edited by Silver.blue; 04-05-2011 at 05:32 PM. Reason: clarity

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Lookup in all workbooks of a folder and transfer to a worksheet

    Maybe a upload sample of a source and target book would be a good idea. Upload to the thread can be done through the "Go Advanced" button.

  3. #3
    Registered User
    Join Date
    04-02-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Lookup in all workbooks of a folder and transfer to a worksheet

    Hello and many thank,

    The target book should be KPI Sales; The source book is Sales_stats_201105 - the source books will be saved in the same folder, each month, these will be standard;
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-02-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Lookup in all workbooks of a folder and transfer to a worksheet

    Please help

+ 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