+ Reply to Thread
Results 1 to 2 of 2

Match & index to lookup data from multiple worksheets and summarize on one worhsheet

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    Nairobi, Kenya
    MS-Off Ver
    Excel 2007
    Posts
    5

    Question Match & index to lookup data from multiple worksheets and summarize on one worhsheet

    I have daily stock data for about two years.

    The stock data is in 556 files but is arranged in the same way (note that about 5 additional stocks have been listed over this period). I want to summarize the movements in stock prices on one worksheet by picking them from the 556 files using match and index with my list of stock codes (named "MatchRange"). I've put the file names of the 556 files on row 2 of the summary worksheet.

    I've used the code below but isn't working as it should. It just opens the files and closes them. I've gone through it and run it line by line and the main issue is the match function which doesn't seem to work when the MatchRange contains non-numeric characters. Does anyone have a work around? I'd also appreciate tips on making the code more efficient and less error prone.


    Please Login or Register  to view this content.
    I'm new to VBA and just learning my way around it. I pieced together code collected from different websites to come up with the code above.

    I've attached three Excel files, the Master (SummaryWB) and two sample workbooks from which to copy the required data.
    Master.xlsm
    2013Apr22.xls
    2013Apr23.xls
    Last edited by Excellentafrican; 06-12-2015 at 12:33 AM. Reason: To make it clearer

  2. #2
    Registered User
    Join Date
    03-21-2013
    Location
    Nairobi, Kenya
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Match & index to lookup data from multiple worksheets and summarize on one worhsheet

    Bump no response.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. INDEX MATCH and INDIRECT to pull in data from multiple worksheets
    By nebshaver123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-16-2015, 03:58 PM
  2. Finding Max value using Index and Match data across Multiple Worksheets
    By Btray90 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-21-2013, 02:27 PM
  3. Replies: 2
    Last Post: 12-10-2010, 11:39 AM
  4. Summarize data from multiple worksheets
    By jarssonn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2010, 12:47 PM
  5. Index Match vs D Function to summarize Data
    By ChromeDome in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-02-2008, 05:24 AM

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