Export Companies and related Contacts

I’m struggling with this.

I have filtered the companies we need to extract contacts from. There are around 50 of these and I have a spreadsheet with the company data, including the unique Hubspot ID.

I’ve got a second sheet with all 14,000 contacts, including their Hubspot company ID. I need to get the 800 or so contacts that are in the 50 companies I’ve filtered.

I’ve tried to work out how VLook can match the data, but cannot see how it can do this. Does anyone have a simple solution for VLook or an Excel plug-in that can do this task?