Forum Discussion
Replace intro into a Excel cell
Thank you for your help.
It seems unlikely that a csv file would contain line breaks in cells.
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
- JoseICondeAug 03, 2023Copper Contributor
HansVogelaar , https://idice-my.sharepoint.com/:x:/g/personal/jiconde_idice_es/EdNLkkVIWDZMtC8U5tj95KcBrTdU89vDy8FDNLHVqV4wcA?e=mDrblW you have the sample. The problem is located in column C.
Thank you so much for your help.
KR
José
- HansVogelaarAug 03, 2023MVP
Thank you!
When I search for a line feed (Ctrl+J), Excel finds 34 cells.
If I then replace them with a space, Excel replaces 37 instances - some cells must have contained more than one line break.
After that, no line breaks are found, as expected.
I have attached the result.
- JoseICondeAug 04, 2023Copper ContributorThank you, Hans. I think we have done something when "sanitizing" the data, because it doesn't work with the original data. Let me review it and see what we have done.