Dear all,
Although somewhat of a VBA novice, I am not completely inexperienced with coding. Using online examples I am usually capable to reconstruct whatever I need. However, it's the combination of things I need to do now, which has left me banging my head on the keyboard for days now
Here's the data I am working with:
Sheet 1:
Sheet 2:
And here's what I need to get done:
So the result should look as following on sheet 1:
The major issue I am having is the combination of step 3 and 5. Because it probably means something like moving through an array that's within an array through which one is moving. And I am just missing that bit of experience that allows me to make that thinking step. I just keep falling off if you know what I mean...
I'd really appreciate any help!
Although somewhat of a VBA novice, I am not completely inexperienced with coding. Using online examples I am usually capable to reconstruct whatever I need. However, it's the combination of things I need to do now, which has left me banging my head on the keyboard for days now
Here's the data I am working with:
Sheet 1:
Sheet 2:
And here's what I need to get done:
- From sheet 1, select first ID entry from Column A.
- Find matching ID in Column A of sheet 2
- On match, find in Column B the earliest date belonging to the concerned ID
- Copy that earliest date next to the corressponding ID in Column B back on sheet 1
- Return to step 1 and repeat for next ID entry. Do until end of list (sheet1)
So the result should look as following on sheet 1:
The major issue I am having is the combination of step 3 and 5. Because it probably means something like moving through an array that's within an array through which one is moving. And I am just missing that bit of experience that allows me to make that thinking step. I just keep falling off if you know what I mean...
I'd really appreciate any help!
Last edited: