Import and export data
- 07 Oct 2024
- 1 Minute to read
- Print
- DarkLight
Import and export data
- Updated on 07 Oct 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Follow the procedures in this topic to:
- Import data from a comma-separated values (CSV) file into a worksheet.
- Export worksheet data to a CSV file. This allows you to share data or work with it in another application.
Note
- By default, import and export functions for a workbook are enabled. If they have been disabled, you can re-enable them.
- To ensure the proper recognition of thousands and decimal separators, make sure regional settings in Windows and Salesforce match each other.
Import data
- Open a worksheet and select Import.
- Select an import type, then select Next.
- Insert—Inserts new records.
- Upsert—Inserts new records and updates existing records.
- Replace—Inserts new records and deletes existing records.
Note
To prevent destructive changes to existing data, the Replace option may be disabled. Learn how to enable the Replace option.
- Select a CSV file to upload.
- In the Settings area, select a column separator, then select Next.
- On the mapping page, review Column from Worksheet mappings and make desired changes.
- Mapping is automatic if:
- The CSV column name exactly matches a worksheet column name.
- The CSV column name doesn't match a worksheet column name, but does match an underlying system name for a field in the worksheet's data source.
- If neither automatic mapping condition is met, you can manually map the CSV column to a worksheet column name.
- Unmapped columns are not imported.
- Mapping is automatic if:
- Select Finalize.
Export data
To export a worksheet as a CSV file:
- Open a worksheet and select Export.
- Enter a name for the exported CSV file.
- Optionally select a column separator.
- Select Save.
- When export completes, click the link in the status message to download the file.
Enable import and export
- Open a workbook and select Properties.
- Select the Enable import and Enable export options.
- Select Save.
Enable the Replace option
- Open a worksheet and select Properties.
- Make sure the Enable import option is selected. (You can't show the Replace option if the Enable import option is not selected.)
- Select the Show Replace option.
Was this article helpful?