Skip to main content
Solved

Importing data with Line breaks

  • February 7, 2024
  • 2 replies
  • 216 views

sangland
Varsity I
Forum|alt.badge.img

Hi, I have data on spreadsheet to import into Notes field where there should be multiple lines in the note. The data contains \r\n characters which are correct characters to use when importing data. However the characters appear to be stripped during import. The workaround is to alter the data in the spreadsheet replacing \r\n with CrLf (just some other text), then in the Import formulae Replace(<text>,’CrLf’,’\r\n’) which then imports as expected. Does this make sense to have to do this ?

Best answer by KrunalDoshi

Hi ​@sangland,

I think the workaround what you have is the best solution considering the Excel file you have. I believe, instead if you have CSV then I think it will import as per your requirements.

2 replies

Forum|alt.badge.img+1
  • Semi-Pro II
  • May 7, 2026

Hi, I have data on spreadsheet to import into Notes field where there should be multiple lines in the note. The data contains \r\n characters which are correct characters to use when importing data. However the characters appear to be stripped during import. The workaround is to alter the data in the spreadsheet replacing \r\n with CrLf (just some other text), then in the Import formulae Replace(<text>,’CrLf’,’\r\n’) which then imports as expected. Does this make sense to have to do this ?

Hi there

not sure if you found a solution but this works for me:

CStr('\r\n')

[Column1]+CStr('\r\n')+[Column2] etc.


KrunalDoshi
Varsity III
Forum|alt.badge.img+1
  • Varsity III
  • Answer
  • May 11, 2026

Hi ​@sangland,

I think the workaround what you have is the best solution considering the Excel file you have. I believe, instead if you have CSV then I think it will import as per your requirements.