I had used the original version, but the edited version was perfect. Thanks! Sorry to ask you to walk me through all this, but I've tried to get this on my own and couldn't do it. Now that I have one dataset with actual targets and their 5 closest matches, and another for actual acquirers and their closest matches, I want to merge those. I basically want 11 observations for every merger, where one is the actual acquirer and target, 5 are the close matches for the target paired with the actual acquirer, and 5 are the matches for the acquirer paired with the actual target. I have fewer targets than acquirers, so I'll need to make sure that I'm using only mergers where I have matches for both the actual target and actual acquirer. I hope this makes sense. I can't wrap my head around how to merge these datasets of matches with the actual mergers. I will really appreciate any help you can give!
... View more