Hello everyone,
I was searching through the forum for a solution on using Index/Match but I didn't manage to find one solving my problem.
I have two excel documents. The one of them contains information about participants of a quiz. Each week I have to retrieve the participants of the quiz and add them to a new tab of the first document. Each new weekly extract will contain the new users along with the users of the previous weekly extracts but with the possibility of the old users having different scores if they tried the quiz again. Each of the tabs will look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Firstname[/TD]
[TD]LastName[/TD]
[TD]ID[/TD]
[TD]Inst[/TD]
[TD]Dept[/TD]
[TD]Email[/TD]
[TD]Score[/TD]
[TD]Date[/TD]
[/TR]
</tbody>[/TABLE]
In a different tab I will also have a table with all the users who have tried the quiz in order for my VBA code to work(it will always contain the latest data).
On the second excel file I will copy all the users that does not have passed the quiz and do not have an ID. This file will look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Firsname[/TD]
[TD]Lastname[/TD]
[TD]ID[/TD]
[TD]Inst[/TD]
[TD]Dept[/TD]
[TD]Email[/TD]
[TD]Score[/TD]
[TD]Enroll[/TD]
[TD]C.Date[/TD]
[TD]Time[/TD]
[TD]Action[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is to search through all the tabs of the 1st workbook, find a match of a user that is on the second file containing the users that have failed the quiz, determine in which week he was firstly enrolled (based on which tab he was first located) and then copy the date cell of that tab and paste it to the enroll cell column of the second file, in order to subtract it from the current date and find for how long the user is enrolled.
Is it possible to be done with functions or with VBA?
Should VLOOKUP be used or MATCH/INDEX?
Thanks for any help because I am trying to complete this task for 10 days and still no luck
I was searching through the forum for a solution on using Index/Match but I didn't manage to find one solving my problem.
I have two excel documents. The one of them contains information about participants of a quiz. Each week I have to retrieve the participants of the quiz and add them to a new tab of the first document. Each new weekly extract will contain the new users along with the users of the previous weekly extracts but with the possibility of the old users having different scores if they tried the quiz again. Each of the tabs will look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Firstname[/TD]
[TD]LastName[/TD]
[TD]ID[/TD]
[TD]Inst[/TD]
[TD]Dept[/TD]
[TD]Email[/TD]
[TD]Score[/TD]
[TD]Date[/TD]
[/TR]
</tbody>[/TABLE]
In a different tab I will also have a table with all the users who have tried the quiz in order for my VBA code to work(it will always contain the latest data).
On the second excel file I will copy all the users that does not have passed the quiz and do not have an ID. This file will look like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Firsname[/TD]
[TD]Lastname[/TD]
[TD]ID[/TD]
[TD]Inst[/TD]
[TD]Dept[/TD]
[TD]Email[/TD]
[TD]Score[/TD]
[TD]Enroll[/TD]
[TD]C.Date[/TD]
[TD]Time[/TD]
[TD]Action[/TD]
[/TR]
</tbody>[/TABLE]
What I want to do is to search through all the tabs of the 1st workbook, find a match of a user that is on the second file containing the users that have failed the quiz, determine in which week he was firstly enrolled (based on which tab he was first located) and then copy the date cell of that tab and paste it to the enroll cell column of the second file, in order to subtract it from the current date and find for how long the user is enrolled.
Is it possible to be done with functions or with VBA?
Should VLOOKUP be used or MATCH/INDEX?
Thanks for any help because I am trying to complete this task for 10 days and still no luck