How to Import Dynamics GP CSV Data into Separate Excel Columns
Question details
The user needs to properly format and separate CSV data exported from Microsoft Dynamics GP that currently appears lumped into a single row or column when opened in a spreadsheet.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Importing and organizing a CSV data export from Microsoft Dynamics GP into a readable spreadsheet format.
- Observed behavior
- The spreadsheet fails to recognize the delimiter or spacing correctly, causing all the exported data to be clumped into a single row or column instead of separating into proper headings and fields.
Before proceeding, it is highly recommended to open your raw CSV file in a basic text editor like Notepad to inspect the actual structure and identify whether tabs, commas, or repeated spaces are being used to separate the data fields.
Use Find and Replace with Text to Columns
Replace inconsistent spacing with a unique delimiter character, then use the Text to Columns feature to split the data into separate fields correctly.
Dynamics GP exports often use repeated spaces instead of standard commas or tabs. By converting these spaces into a distinct character, you can force the spreadsheet to recognize where to split the columns.
Select the column containing your imported data. Press Ctrl + H to open Find and Replace. In the 'Find what' box, type the number of spaces separating your data (e.g., three spaces). In the 'Replace with' box, type a unique character not found in your data, such as '@', and click 'Replace All'.
Keep the column selected, navigate to the Data tab on the ribbon, and click on 'Text to Columns'.
Select 'Delimited' as the data type that best describes your data, then click 'Next'.
Under Delimiters, check the box for 'Other' and type the unique character (e.g., '@') you used in the Find and Replace step.
Preview the column breaks in the data preview window, then click 'Finish' to separate the text into multiple distinct columns.

Clean Up Extra Spaces with the TRIM Function
Remove any remaining leading, trailing, or irregular spaces from the newly separated columns to ensure clean data for analysis.
Easily Import and Format CSV Files in WPS Office
WPS Spreadsheet offers powerful built-in tools like Text to Columns, advanced Find and Replace, and text formulas to handle messy CSV exports seamlessly. It provides high compatibility with Microsoft Excel formats, making complex data cleanup quick and easy.
- 1. Import your CSV file: Open WPS Spreadsheet, go to the Data tab, and click 'Import Data' to open your Dynamics GP CSV file.
- 2. Launch Text to Columns: Highlight the clumped data column, go to the Data tab, and select 'Text to Columns'.
- 3. Apply custom delimiters: Use the 'Delimited' option and enter your specific spacing or custom character to split the data instantly.
- 4. Cleanse with built-in functions: Use functions like =TRIM() to tidy up remaining format anomalies and perfectly align your final dataset.

Frequently Asked Questions
Why does my CSV file open in one single column?
This happens when the spreadsheet program doesn't recognize the delimiter (like a comma, tab, or semicolon) used in the file. This is common with exports from specific software like Dynamics GP, which might use irregular spacing or non-standard characters to separate fields.
What is the best way to handle irregular spaces in an exported CSV?
The most effective method is to use the Find and Replace tool to swap multiple consecutive spaces with a specific, unused character (such as '@' or '|'). Once replaced, you can use that specific character as a custom delimiter in the Text to Columns tool to accurately split the data.
Can I automate the cleanup of imported Dynamics GP data?
Yes. If you frequently import this type of data, you can use Power Query (Get & Transform Data) to create a repeatable import process. You can configure it to automatically replace spaces, split columns, and trim text every time you refresh the data connection.




