Skip to main content

Please excuse the long explanation..

I have a spreadsheet showing some factories producing a number of products. For the sake of the example, let’s assume that the factories are the primary records and the products that they produce need to be split out in to a linked table.

So the source spreadsheet looks like this:

Factory City Country Product
Acme Tools Denver USA Spanners
Acme Tools Denver USA Screwdrivers
Western Hardware Paris France Spanners
China Supply Shanghai China Hammers
China Supply Shanghai China Screwdrivers

 

I can create and import this spreadsheet in as a new table called Factory.

But I don’t want duplicates in the Factory table. I want to have a Products table that would look like this.

Product Factory (linked)
Spanners Acme Tools
Western Hardware
Screwdrivers

Acme Tools

China Supply

Spanners Western Hardware
Hammers China Supply

 

This obviously works fine, and the Factory table would only have 1 row per factory

Factory City Country Product (linked)
Acme Tools Denver USA

Spanners

Screwdrivers

Western Hardware Paris France Spanners
China Supply Shanghai China

Hammers

Screwdrivers

 

All of that I can do. But how do I create that structure for the first and subsequent imports? I will have several thousand lines of data and I don’t want to have to match the linked fields manually as part of the import process. 

 

Hey ​@bitstreams_red!

As long as your products are typed exactly the same (meaning Spanners is always Spanners and never Spanner for instance), you can always use the CSV Import extension for the migration as it adequately handle linked records. (this is for migration itself, not for AFTER migration/import)

If by any chance there are still some duplicates or typo issues left after migration you can manually find and solve those by using Airtable’s Dedupe extension to merge these duplicates.

Hope this helps!

Mike, Consultant @ Automatic Nation


Thanks Mike,

 

I had forgotten about the CSV import extension - I knew I’d seen a way to do this before and that was it.

Thanks

Simon


I’m glad to hear that. Feel free to reach out if you face any other challenge, I’d be happy to help!!

Mike, Consultant @ Automatic Nation