I imported a large spreadsheet with all the data about customers and their contracts. All the customer data and the related contract data resided in one big spreadsheet, so I have one big table with all the data. I have some customers with more than one contract, so I have duplicate customer info in some rows. I have completed alot of customization on field types already, and now realize I want to break this large master table into a customer table and a contract table so I only have to update customer info in one place. Is there a way to do this so it works - I want to bring over all the customer data to a new table . I have last name, first name, address, town, state, zip, phone fields that would need to be moved to new table for customers. The contract table would remain with contract number, instrument assigned, start date, bill week, status, etc…
Solved
Split large table into smaller one and link
Best answer by Kamille_Parks11
The table you currently have will be your Contract Table. To separate your info out, do the following:
- Create a “Full Name” field which concatenates the “First” and “Last” name fields. If you have more than one “John Smith”, for instance, also concatenate the “Address” field to give you a more unique name ensuring separate contacts aren’t accidentally merged together in the next step.
- Convert that ^ formula field into a Link to Another Record field pointing to a new table for “Contacts”. This will create a single Contact record for each person, and link that contact to as many Contracts as they have been listed.
- In your new “Contacts” table, add Rollup fields (use the
ARRAYUNIQUE(values)aggregation) for all the contact details still in the “Contracts” table. - Convert all of ^those Rollup fields into SingleLineText fields (or whatever field type you feel appropriate).
- Go back into the “Contracts” table and turn the Name, Address, etc. fields into Lookup fields to pull the information from the “Contacts” table (or delete those fields if you don’t need them shown on each Contract record).
- Adjust the primary field the “Contacts” field if necessary.
Login to the community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
