I’m not an expert and this might not be right so take it with a grain of salt, but give this a shot and let me know.
From what information I was able to gather about this (I faced this same issue a while back), HubSpots program associates companys and contacts automatically by domain name. What this means is, if you do an import with both companies and contacts in the same file, and you create multiple lines of the same company so you can include each contact, HubSpot thinks you are creating X amount of new companies for X contacts (the issue you are currently running in to).
The solution to this is to do the company and contact imports seperately. So, you would have a companies import that creates all the companies first. What you have to make sure is in place is the website you associate the company with. Next, you do your contacts import, listing each contact on a separate row. The key here is their email. HubSpot’s program will look at the email domain of each of the contacts and associate that to a company that has the same domain name. For example:
Import company ABC Company with dominan https://www.abccompany.com.
Import contacts of ABC Company as so:
person1@abccompany.com
person2@abccompany.com
person3@abccompany.com
With this setup, HubSpots program will associate person1, person2, and person3 with ABC Company automatically, even though you did not provide the company information in the contacts upload. Because the contacts upload does not have company names itself anywhere in it, no companies can be created. Inherently, you dodge the issue of creating multiple companies. This is HubSpots solution to being able to import companies and contacts separately, without having to include company information for each contact.
This takes a little extra effort and is restricted to a caveat of the contact has to have an email of the same domain as the company for no unwanted side-effects to occur. This limits the program because, if a contact uses a regular email (person1@gmail.com) and does not use a company related email, you will have to manually add them to the company in HubSpots interface OR create a fake email for them if you include them in an email.
If anyone reads this and I am wrong, please let me know. It’s been a while since I’ve addressed this challenge myself and this is purely off of my memory.