+ Reply to Thread
Results 1 to 1 of 1

Vlookup across multiple workbooks

  1. #1
    Forum Contributor
    Join Date
    11-15-2008
    Location
    Arizona
    MS-Off Ver
    Excel 2013
    Posts
    179

    Vlookup across multiple workbooks

    I found a vba code for vlookup across multiple worksheets, but I can't find one across workbooks.

    I am creating a tracking system for teachers to view the behavior points each student earns in his or her other periods.

    Math is on one workbook (for the math teacher to enter)

    English on one, science on one, social studies on one, sped on one, and specials on the last.

    So I am working with 6 workbooks.

    Let's say I want to find what the person in cell M6 got in 2nd period.

    I need a formula like this: =vlookallworkbooks(M6, "D2:E40", 2, False, "Math 8.xls", "Reading 8.xls", "Science 8.xls.....")

    Where the arguments are crieria, table range, col number, range lookup, array of workbooks.

    All the workbooks are set up the same way, so period one is the same table range: A2:B40 and period two is in the same table range: D2:E40 etc.


    Currently right now, I just set up a master workbook that has regular vlookup functions finding what all students received in math period one, reading period one, etc and then it goes to period two ect. Then on the teacher's last period roster, it has vlookup functions referencing the master workbook. And this work; the only thing is a teacher has to remember to open the master workbook for the changes to upload, so I want to get rid of the master workbook and instead use a VBA code across workbooks.

    I have attached the 8th grade folder which shows you all the workbooks I am working with.
    Attached Files Attached Files

+ 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