On this page
Exporting data from Salesforce to Excel is a handy way to change a lot of records at once. Start by building a report that shows the records you want to change and the fields you plan to edit, then export it as a spreadsheet. Make your edits there, changing only the cells you need to and keeping the columns that identify each record. When you’re done, import the file back as an update, so each row changes the record it came from instead of creating a new one.
Exporting is usually the easy part. Importing the changes back takes a little more care, and that’s where this guide will help most.
This guide is for the person who owns the spreadsheet, not the admin. It shows what to do at each step and what to ask your admin for.
How do you export data from Salesforce to Excel?
Build a report that shows the records and fields you want to change, then export it. Salesforce’s help on exporting a report explains the options. Only include the columns you plan to edit, plus the ones that identify each record.
- Create or open a report on the object you want to change, such as contacts, cases or a custom object.
- Filter it down to the records you want to update, so you do not edit more than you need.
- Add the record ID column, or the columns your admin tells you to match on.
- Export the report and open it in Excel.
If you cannot export, or the object you need is not available, ask your admin. They can also run an export for you.
Tip: Before you edit anything, save a second copy of the export and leave it untouched. If an import goes wrong, that copy holds the original values, so you can import them back.
Which columns identify each record?
An update has to find the record each row should change, so every row needs something that identifies exactly one record. The record ID is the surest choice: no two records share one, and it is the identifier Salesforce’s own import tools rely on.
Some tools can also match on a combination of columns. First name, last name and email together is a common way to identify a contact, even though any one of them alone could match several people. Impowr, an app for importing spreadsheets into Salesforce, lets your admin set matching conditions that use several columns at once like this, and a row is updated only when all of them point to a single record. Whichever you use, keep those columns in the file and do not edit them.
How do you edit the file without breaking it?
Change only the cells you mean to change, and leave every other column exactly as exported. Do not rename headers, reorder rows with a partial selection, or delete the ID column. Before you save, look at dates, long numbers and codes that start with zeros and check they look the same as they did in the export.
A few habits keep a round trip clean:
- Edit values in place. Do not paste over whole columns from another file unless the rows are in the same order.
- Filter and sort the whole sheet at once, never one column on its own.
- Delete the rows you are not changing. A smaller file is easier to check.
How do you import the changes back as an update?
The import has to run as an update, matched on the identifying columns you kept, so each row finds its record. An update changes existing records only, and that is all this job needs: every row in your file came out of Salesforce, so every row already has a record to find.
An upsert would also load the file, but it creates a new record for any row it cannot match. If the matching goes wrong, you are left with duplicates to find and delete. An update cannot create records, so a row that finds no match changes nothing. The insert, update and upsert guide explains when to use each.
Salesforce’s own Data Import Wizard can run an update too, but it finds records using one preset option for each object, such as the record ID, a name or an email. You cannot set your own rule that combines several columns, and Salesforce warns that when two records share a name, the wrong one may be updated. It also reads CSV files only. The Data Import Wizard guide and the guide to saving an Excel file as CSV cover that route.
What do you do when rows fail?
Open the error results file from the import, fix the rows in it and import that file. Typical causes are a blank cell in a matching column, a row that matches no record, or a row that matches more than one.
Impowr gives you clear error files straight after the import, listing each failed row with the reason. A row that matches several records fails and is reported; no record is picked for you.
Who gets to run the import?
In many organisations, not the person who edited the file. Salesforce’s own import tools need permissions that many business users don’t have, so the edited spreadsheet is usually emailed to an admin to load.
Take a sales team. Reps and managers export their open opportunities and update close dates, stages and amounts in Excel, because that is quicker than opening each record. Every one of those files then goes to the same admin. They tend to arrive together, often just before a forecast or the end of a quarter, and each waits its turn. Until a file is loaded, the pipeline in Salesforce is out of date.
The obvious fix is to give each person the access to load their own file, but that can mean permissions much wider than one update needs.
How does Impowr let you run it yourself?
Impowr lets you upload the edited Excel file yourself, as it is, without converting it to CSV first, through a mapping your admin has approved. For an update, the admin sets matching conditions that pair one or more columns in your file with Salesforce fields. A row is updated only when exactly one existing record matches, as the import type documentation describes.
The mapping also sets the limits of what your file can change. It covers only the objects and fields your admin approved, so your file cannot change anything else. The import also runs with your own Salesforce permissions, so you can only change records you could already edit.
The University of East Anglia faced that choice with about 25 power users. Its story says native import tools needed elevated permissions, so letting people import meant near-admin rights. UEA reported admin access reduced from 25 users to 4 and about 8 hours a week saved for its Data and Systems team. Myles Smith, Head of Data, Systems and Applicant Engagement, said: “My Systems team controls import templates, and Impowr does the rest”.
So ask yourself: if you could upload this file today, which mapping would your admin need to set up once for it? The guide to importing without being an administrator shows what that conversation involves.
Export, edit, upload: keeping Salesforce updates in your own hands
Exporting a report, editing the right cells and keeping the ID column is the part you already control. The update back is the part that usually needs an admin. Impowr, an app that integrates directly with Salesforce, takes that part: you upload the Excel file as it is, the admin’s matching conditions find each record, and you see which rows need fixing straight away. The admin sets up the mapping and decides which objects and fields you can update. You keep the spreadsheet and make the change.
For most people the Free plan, which covers an admin plus one internal user, is the place to start. Team and Enterprise add undo from snapshots and all-or-nothing imports. See the pricing page for the plans.
Frequently asked questions
Not always, but every row needs something that identifies exactly one record, and the record ID is the surest choice. A combination such as first name, last name and email can also work. With Impowr, an admin sets matching conditions that pair file columns with Salesforce fields, and a row that matches more than one record is reported as an error rather than guessed.
The Data Import Wizard reads CSV only, so you save the sheet as CSV first. Impowr works from real Excel files, including multi-sheet workbooks, so you upload the file as it is. The admin chooses which sheet is read when they set up the mapping.
That depends on the tool, but in every case you want to see which rows failed and why. Impowr gives you clear in-app error files so you can fix just those rows. On Team and Enterprise, an admin can also choose all-or-nothing imports, where one failed row rejects the whole import.
Save the untouched export under a different name before you edit anything. Salesforce has no undo for an import, so that copy is your record of the old values. On Team and Enterprise, Impowr can also undo an import from a point-in-time snapshot.
