Hello,
I have been stuck on this one for a while, any help would be greatly appreciated. Here is my data:
ID Name Test Test date Test score
223 Mike Test 1 05/01/2016 67
223 Mike Test 1 22/01/2016 92
223 Mike Test 1 07/01/2016 93
223 Mike Test 2 23/01/2016 91
223 Mike Test 2 17/01/2016 97
My aim is to compare scores between Test 1 and 2, to do this I want to look at the date of Test 1 and find Test 2 with the closet date, and return the date and score.
I did some research online and found a way to do this with an Index Match array formula. I have used this formula to look at Test 1, find the closet Test 2 date and return the date and score of Test 2.
This gives me...
ID Name Test Test date Test score Test 2 date Test 2 score
223 Mike Test 1 05/01/2016 67 17/01/2016 97
223 Mike Test 1 22/01/2016 92 23/01/2016 91
223 Mike Test 1 07/01/2016 93 17/01/2016 97
223 Mike Test 2 23/01/2016 91
223 Mike Test 2 17/01/2016 97
This works how I want it to, the problem is the data I am working with has thousands of individuals, all with a varying amounts of Test 1 and 2. Is there a way to get Excel to find the required range?
I have included an attachment which may make it clearer what I am trying to do. On the attachment I have adjusted the formula manually for the first two individuals.
Thanks
Bookmarks