Fix shifted or combined columns in a CSV import

Set one header row and a consistent separator, quote text that contains the separator, then verify the corrected preview.

Check the CSV structure if Preview shows a whole row in one column, part of a description in the next column, or the wrong column names. Correct the file before mapping its columns.

Check the header and separators

  1. Put the column headings in the first row and use a distinct name for each. Remove any report title or notes above that row.

  2. Use one separator between columns throughout the file. If it uses commas as separators, wrap a value containing a comma in double quotes. Write two double quotes in a row for a literal quote inside a quoted value.

    Title,Location,Notes
    Entrance check,"North wing, level 2","Read the ""Open"" sign"
    Hallway check,East wing,Clear

In this example, North wing, level 2 stays in Location. The quotation marks around Open appear within the Notes value.

Verify the corrected file in Mainbase

  1. Add the corrected CSV in the existing-table import. In Preview, confirm the column count, headings, and values. Check a row that previously appeared shifted.
  2. In Mapping, make sure each column points to its intended field. In the example, Notes goes to the notes field and Location goes to the location field.
  3. After importing, open a known record and compare the text with the source file. If later rows have the same issue, check those rows in the CSV for a different separator or unbalanced quotes.

Keep multiline notes together in a CSV import

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?