Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Google Sheets columns shifted after inserting a column: fix

DLV-130Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many lead tools append each new lead as a row in a Google Sheet. Some connectors match values to columns by column letter or position (A, B, C). Others match by header name. If a teammate inserts a column in the middle, the position-based connectors keep writing to the old letters. Everything to the right of the new column is now under the wrong heading.

Why it costs you leads or sales

The lead is captured, but nobody can use it properly. Follow-up lists, mail merges, CRM imports and reports that read specific columns will pull the wrong values. Sales may email a phone number field or skip a lead because the email cell looks empty. Ad-platform offline conversion uploads can also fail or be wrongly attributed if the click ID column has shifted.

How a shifted column hurts follow-up
  1. Form submittedLead fills in the form
  2. Integration writes rowUses old column positions
  3. Columns shiftedEmail lands under Phone
  4. Follow-up listReads wrong values
  5. Sales contactLead never reached properly

The lead arrives, but the data is misread downstream.

Sheet layout before and after the inserted column

After a column was inserted

  • Header: Name, Notes, Email, Phone
  • New rows: Name, email, phone, empty
  • Email sits under Notes, phone under Email

After re-mapping

  • Header: Name, Notes, Email, Phone
  • New rows: Name, empty, email, phone
  • Every value sits under the right heading

How to check if your site has it

Check the sheet for shifted data
  1. Compare headers with recent rows

    Open the sheet and read the last 10 rows. Does each value look like its heading (emails with @ under Email, numbers under Phone)?

  2. Find the date it started

    Use File > Version history > See version history. Look for the edit where a column was added or removed, and note who made it.

  3. Submit a test lead

    Send a test entry with obvious values such as 'Test Name' and 'test@example.com', then see where each lands.

  4. Open the integration mapping

    In Zapier, Make, your form plugin or CRM workflow, open the Google Sheets step and see whether fields map to column letters or header names.

How to fix it

Repair the mapping and the data
  1. Pause the integration

    Turn off the zap, scenario or workflow so no more misaligned rows are written.

  2. Back up the sheet

    Use File > Make a copy before touching any data.

  3. Fix the layout

    Either remove the inserted column, or keep it and update the integration to match the new layout.

  4. Refresh and re-map fields

    In the integration, reload the sheet headers, then map each form field to the correct header again.

  5. Move the misplaced rows

    Find the first shifted row from version history. Cut the affected cells and paste them into the right columns, or re-import those leads from your form tool.

  6. Resume and test

    Turn the integration back on and submit a test lead.

Where to re-map by tool
  1. Not applicable

    GTM does not write to sheets. Fix the mapping in the tool that does the writing, such as Zapier, Make or your form plugin.

Google Apps Script: build a row by header namejavascript
function appendLead(lead) {
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('Leads');
  const headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0];
  const row = headers.map(function (h) {
    return lead[h] !== undefined ? lead[h] : '';
  });
  sheet.appendRow(row);
}

// Example call
// appendLead({ Name: 'Test Name', Email: 'test@example.com', Phone: '555 0100' });

How to confirm it's fixed

Confirmation checks
  • A fresh test lead lands with every value under the right heading
  • Every field on the form is mapped, none left blank by mistake
  • Old shifted rows have been moved or re-imported
  • Any CRM import, mail merge or report reading the sheet shows correct values
  • The integration is switched back on

How to prevent it happening again

Lock the layout
  1. Protect the header row and intake columns

    Select the range, choose Data > Protect sheets and ranges, and limit editing to yourself and the integration account.

  2. Add a warning note

    Put a note in cell A1 or the tab name, such as 'Feed: do not insert columns'.

  3. Add columns at the far right only

    If someone needs a new field, add it after the last mapped column, never in the middle.

  4. Prefer header-based mapping

    Where your tool offers a choice, map by header name instead of column letter.

  5. Tell the team

    Share one line: layout changes need a matching update in the integration.

How FunnelGuard handles this

FunnelGuard does not check this yet. Spotting shifted columns would mean reading your sheet and comparing values with headings, which is a possible future check, not a current one.

Nearby, FunnelGuard runs your real lead journey on a schedule with a robot visitor, submits a marked test lead and checks whether it reaches your inbox and CRM. That confirms leads are arriving, but not that each value sits in the right sheet column.

The Free plan covers 1 site and 2 journeys with daily checks and no card, and every paid plan has a 3-day free trial.

Questions people ask

Why is my Google Sheet data in the wrong columns?

Most likely someone inserted, deleted or moved a column, and your integration still writes by the old column positions. Compare the headers with a recent row, check version history for the change, then re-map the integration.

Will inserting a column in Google Sheets break my Zapier zap?

It can. If the zap maps fields by column letter, new data keeps going to the old positions. Reload the sheet headers in the Google Sheets step and re-map each field, then run a test.

How do I find who inserted a column in Google Sheets?

Open File > Version history > See version history. Browse the edits, find the one where the layout changed, and the editor's name appears next to it. You can restore that earlier version or copy data from it.

How do I stop people changing the columns in my lead sheet?

Use Data > Protect sheets and ranges on the header row and the columns the integration writes to. Restrict editing to specific people, and add a note telling the team not to insert columns.

How do I fix lead data that landed in the wrong columns?

Pause the integration, make a backup copy, then cut and paste the affected cells into the right columns. If there are many rows, re-export the leads from your form tool and re-import them.

Can I add columns to my lead sheet safely?

Yes, add them after the last column the integration uses, or keep the extras on a separate reporting tab that reads from the intake tab with formulas. Avoid inserting columns between mapped ones.

Does FunnelGuard detect shifted columns in Google Sheets?

No. This is a possible future check. FunnelGuard does test that a marked test lead reaches your inbox and CRM, but it does not read your sheet to see whether values sit under the right headings.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.