Hi folks, I've got a question concerning conditional links between two workbooks... I'm not a very experienced Excel user (at least beyond the basics), but I'm trying to create a system for data entry.
I have two workbooks: "Site Visits" and "Schedule". In "Site Visits" I record the ID number of the site I visit and the date it was visited on. In "Schedule" I have a list of all site IDs. What I want to do is to have the "Schedule" workbook look up the most recent occurrence of a given site ID, then relay back to the "Schedule" the contents of the cell next to it. Getting the contents of the cell is the easy part, I think, but I don't now how to get the appropriate cell in "Schedule" to find only the last, most recent entry in "Site Visits" that matches the correct cell content.
This is basically what I'm trying to write in, say, cell B5 of "Schedule" (sans syntax): "Access 'Site Visits.xls' and find the cell in Column A that matches the content of cell A5 of this workbook, 'Schedule.xls'. Search from bottom up [so that the last entry is the one recognized. Let's say the last entry is in cell A27 of 'Site visits.xls']. Link to the contents of cell B27 in 'Site visits.xls' and add 7 to that value. Print the result in this cell."
Also, would this be any easier if I just used two worksheets within the same workbook?
Any help would be appreciated! I'm using Excel 2010, by the way.
Bookmarks