Sub topic 4
Choosing Where the Data Goes: New, Replace, or Append
Assume you already know how to use cells, sheets, and Google Drive. You also know the difference between a CSV file and an Excel workbook. This chapter focuses on the Import location setting in Google Sheets and how it affects existing spreadsheet data.
When you choose File > Import, Google Sheets uploads the file and then asks where to place the imported data. Choose this setting based on whether you want to preserve, add to, or discard the current contents.
The import locations
After selecting a file, open the Import location menu. The available choices can vary slightly by file type, but these are the main behaviors:
| Import location | What happens | Best use |
|---|---|---|
| Create new spreadsheet | Creates a separate Google Sheets file for the import | You want to inspect the file without changing the current workbook |
| Insert new sheet(s) | Adds the imported data as one or more new tabs in the current workbook | You want to keep existing tabs and compare the import |
| Replace spreadsheet | Replaces the contents of the current spreadsheet with the imported file | You are converting the workbook and no longer need the current contents |
| Replace current sheet | Clears the active tab and places the imported data there | You are refreshing one existing tab |
| Append to current sheet | Adds imported rows after the existing data in the active tab | The imported file has the same columns and belongs below current records |
| Replace data at selected cell | Starts the import at the selected cell and overwrites the occupied range | You need to update one area without replacing the whole tab |
The wording for the first option may refer to creating a new spreadsheet rather than a new sheet. A spreadsheet is the complete Google Sheets file. A sheet is one tab inside that file.
Choosing a safe location
Use Create new spreadsheet when you are unsure about the file structure or data quality. This option gives you a separate copy to inspect. It is the safest choice when the current workbook contains formulas, charts, or carefully arranged tabs.
Use Insert new sheet(s) when the imported file should become another tab in the existing workbook. For example, you might import January.csv into a workbook that already contains tabs for reports and calculations. You can then compare the new tab with existing formulas before connecting anything to it.
Use Replace current sheet for a controlled refresh. Suppose the Raw data tab contains last week's export and your formulas refer to that tab. Replacing the tab's contents keeps the tab name in place while updating its data. Check whether the imported columns still have the same order and headers.
Use Append to current sheet only when the column layout matches. Google Sheets generally places the imported rows after the existing data. It does not know whether a row is a duplicate, whether the header should be skipped, or whether the columns mean the same thing. Review the first appended row before relying on the result.
Use Replace data at selected cell when the import belongs in a particular region. Select the starting cell before opening the import dialog. The imported range overwrites cells in that area, but it may leave old values outside the new range. This can create stale data below or beside the import.
Replace versus append
The most common mistake is using Append to current sheet for a file that already includes a header row. If the current sheet has a header and the imported CSV has another header, the result contains two header rows. If the import is repeated, the records may also be duplicated.
Before appending, confirm these points:
- The imported columns have the same order and meaning.
- The first row is data, or you have a plan to remove a repeated header.
- The imported file does not already contain rows from an earlier import.
- The target sheet has no formulas or notes in the rows where data will be added.
- A unique identifier, such as an order ID, can help you detect duplicates.
For a refresh, Replace current sheet is usually more predictable than append. For a historical log, append can be appropriate, but record the source file and import date so that later corrections are traceable.
A repeatable import workflow
- Open the destination spreadsheet.
- Select File > Import and upload the Excel or CSV file.
- Review the separator and other import settings before choosing the location.
- Select the least destructive location that meets your goal.
- Confirm the imported headers, row count, and a few representative values.
- Check formulas, charts, filters, and references that depend on the destination sheet.
- Rename the new tab or record the import date if the workbook will receive future files.
The least destructive choice is usually Create new spreadsheet or Insert new sheet(s). Use replace options only when you understand which existing range will be cleared.
Exercise
You have a workbook with formulas on a Report tab and want to inspect a CSV before connecting it to those formulas. Which import location should you choose, and why?
Show answer
Choose Insert new sheet(s), or Create new spreadsheet if you want complete isolation. Both preserve the existing Report tab, allowing you to check the imported headers and values before changing the workbook.