This doesn't sound that complex, but to recommend a base macro I'd need to see your actual workbook layout and a mockup of "results" from some sample fake data.

Click on GO ADVANCED and use the paperclip icon to open the upload window.

View Pic