FrankenBob
New Member
- Joined
- Aug 5, 2015
- Messages
- 2
Morning,
Apologies if this has already been asked, but I couldn't find anything related.
I am trying to replace instances of double line breaks with a single line break.
So far I am trying the following:
However, I get the results below (in 'B1'). I am looking for my formula to remove the additional carriage return in Cell 'A1' (so the result should look like 'A2') or if there are no double carriage returns return the cell unaltered.
Any help would be greatly appreciated.
Cheers
Apologies if this has already been asked, but I couldn't find anything related.
I am trying to replace instances of double line breaks with a single line break.
So far I am trying the following:
Code:
=IFERROR(SUBSTITUTE(A1,CHAR(10)&CHAR(10),CHAR(10)),A1)
However, I get the results below (in 'B1'). I am looking for my formula to remove the additional carriage return in Cell 'A1' (so the result should look like 'A2') or if there are no double carriage returns return the cell unaltered.
Any help would be greatly appreciated.
Cheers