Importing Contacts: Split and Combine Fields
Applies to: All ONTRAPORT accounts. ONTRAPORT may have a different field structure than your old system. A common example is a single name field with both first and last names, that you need to import into ONTRAPORT's separate First Name and Last Name fields. This video includes information on splitting the field in the first chapter. More detail is provided below. This article explains the basics of editing your CSV file to combine or split fields prior to import into ONTRAPORT. The normal tool used is Excel, but we include instructions for the free and open source OpenOffice and LibreOffice. Upon import, each field will occupy one cell of the spreadsheet. These are the basic, default fields for the Contacts collection in ONTRAPORT. You can create custom fields during import for information not found in this list, but in cases where you have a single name field for both and first names, or multiple contact tags in separate fields, we strongly recommend changing your data in the CSV file before import. Microsoft Excel's online help has an excellent article on this. The process is the same in Excel, LibreOffice and OpenOffice. All three use a function called "text to columns" Click the icon to the right of the Convert Text to Columns Wizard. Click Finish. You may have data in several fields that you want to combine into one field in ONTRAPORT. A common example of this are Contact Tags. If your CSV file has multiple Tags in separate columns you must format them into a single column, separated by either "," or "*/*" for import into ONTRAPORT. This can be done using either the & symbol or the "CONCATENATE" function. This silent 2 minute video shows how to combine fields.
Note: ONTRAPORT accepts either the standard CSV comma separated list enclosed in quotes as multiple values for a single field, or the proprietary "*/*" format to separate the values. These work exactly the same during the import process. In this example we have six columns, I through N, that may contain a Tag. Some cells are blank. We add a column next to N and name it Combined Tags. Using CONCATENATE Some prefer to use the CONCATENATE formula. It uses the same format as the simple ampersand format used above. Instead of typing the equals sign and then clicking on the first cell containing a Tag, you type =CONCATENATE(, click the first cell and a comma, then */*, a comma, then click the second cell and so on. The completed formula would look like this: ONTRAPORT saves your uploaded CSV in Contacts > Settings > Import Contacts. These files are stored for 60 days and then deleted. If you want to save the original upload CSV file be sure to archive it on your local computer. Additional Knowledge Base articles: ONTRAPORT / Projects are step-by-step in-app instructions with a checklist to track your progress. You can stop and resume the Project at any time. Log into ONTRAPORT in another tab and click Importing Contacts to start the Project. About
Recommended Fields for Your First Import
First Name
Zip Code
Last Name
Country
Email
Fax
Title
SMS Number
Company
Office Phone
Address
Birthday
Address 2
Website
City
Referring Page
State
Contact Tags
Split a Field into Two Fields
Combine Multiple Fields into One Field
Using the & Symbol
- for a standard comma separated list, use &","&
- for a standard comma separated list use &","&
=I2&"*/*"&J2&"*/*"&K2&"*/*"&L2&"*/*"&M2&"*/*"&N2
- a standard comma separated list will look like:
=I2&","&J2&","&K2&","&L2&","&M2&","&N2
Here's a color coded example to explain it further. The cell references are in red:
=I2&"*/*"&J2&"*/*"&K2&"*/*"&L2&"*/*"&M2&"*/*"&N2
This image shows LibreOffice (similar to OpenOffice). Accept the default choices after selecting Paste Special in LibreOffice:
ignored so you do not need to manually edit this list.
=CONCATENATE(I2,"*/*",J2,"*/*",K2,"*/*",L2,"*/*",M2,"*/*",N2
- for a comma separated list, it looks like:
=CONCATENATE(I2,",",J2,",",K2,",",L2,",",M2,",",N2
In the formula the comma replaces each instance of the ampersand (&) character. There is no functional difference between the two methods and you are free to choose the one you feel most comfortable with. CONCATENATE is slightly more efficient when you do not need any characters between the values being combined. Other Resources
Articles in this section
- Contact Management Overview
- Importing Contacts
- Best Practices for Preparing a CSV File for Import
- Contact Management Segmentation (Groups)
- Contact Tags
- Add Custom Fields & Sections
- Card View for Contacts and Custom Objects
- Card View - Using the Color Field
- Converting to Card View
- Card View Quick Reference
Comments