I'm trying to use vlookup on two sets of data where my lookup value is in column "A" of the first data set below. My table array is column "A" through "C" in the second data set below, where column index number = 3, which is column "C", the "date" column in the second data set. When I run this vlookup I get the result in column "C", the "Scheduled appt" column in the first data set, which is incorrect. My return is a duplication of the column "C" data of the first row of the second data set "8/19/2010".
What I need is the return to give me each of the two dates from the second data set as in the third data set below which I have faked so you can see what I'm trying to accomplish.
Any help would be GREATLY appreciated as I'm at my wits end on trying to find a solution for this. I'm still too new to figure this one out by myself.
My actual data sets contain over 50 thousand records, some of which will have, as in the examples below, clients with multiple records, of which I need to return each individual date from the second data set that relates to the "ActRecordid" of the first data set.
A B C D
ActRecordid ActionCode Result scheduled appt
019P91KITX INCALL*** APPOINT** 8/19/2010
019P91KITX INCALL*** APPOINT** 8/19/2010
-------------------------------------------------------------------------------------------------------------------
A B C D
recordid act_code Date result_code
019P91KITX APPOINT** 8/19/2010 0:00 SHOWNOSALE
019P91KITX APPOINT** 8/17/2010 0:00 CANCEL***
---------------------------------------------------------------------------------------------------------------------
A B C D
ActRecordid ActionCode Result scheduled appt
019P91KITX INCALL APPOINT 8/19/2010
019P91KITX INCALL APPOINT 8/17/2010
Thank you for your help!
Anthony
*
Bookmarks