SOLVED

Issues with Text to Column

Copper Contributor

Hello All,

 

The issue I am having is figuring out which setting I need to change in order to prevent the following scenario from happening. Please keep in mind this report has approx 18K rows and 65 Columns, and I never encountered this issue with my previous laptop which was a Dell vs a Lenovo(current). 

 

So what happens is that I pull the raw file that is produced in a CSV format, select column A, click text to column, Choose "Delimited", select other and use | as the delimiter, and then complete it with finish.

 

The error that is then prompted is "There's already data here. Do you want to replace it?"

- This error never populates when using the Dell (same office suite as the lenovo)

If I select "OK" then the report then moves it to column format however the data gets changed as it appears that a few of the rows were moved over by 2 columns and other data has been plugged in the first 2 columns from a different row. 

 

Has anyone else ever experienced this, How do I fix this?

 

*I cannot share images as the data holds sensitive data *

 

4 Replies
best response confirmed by Vaterraz (Copper Contributor)
Solution

@Vaterraz 

Does it make a difference if you tick the check box 'Treat consecutive delimiters as one'?

 

S0504.png

You are awesome, that worked!! I can't believe I kept overlooking this box.
Thank You

@Hans Vogelaar Actually upon further testing of the file it appears that the text to column deletes the header when selecting that box and shifts the data into the incorrect columns, such as cash now reporting in the date field and dates reporting in the unique identifier column

@Vaterraz 

In that case, the data file now has a different structure.

Insert enough columns to the right of the data column.

Then untick the 'Treat consecutive delimiters as one' check box in the Text to Columns wizard.

1 best response

Accepted Solutions
best response confirmed by Vaterraz (Copper Contributor)
Solution

@Vaterraz 

Does it make a difference if you tick the check box 'Treat consecutive delimiters as one'?

 

S0504.png

View solution in original post