Can I use the Substitute function to remove a line-break?

Hello!
I'm having success nesting the substitute function to remove multiple things from a field of text in a cell and replace them with a blank space. I would like to remove line-breaks/enter/return and replace them with a semicolon.
I'd like to turn something like this:
Meredith Rhodes, PhD
Meredith Rhodes, PhD
Into this:
Meredith Rhodes, PhD; Meredith Rhodes, PhD
Is there a way to do this?
Thank you!
Meredith
Meredith Rhodes, PhD
ClinicalTrials.gov Specialist
UW School of Medicine & Public Health
UW Clinical Trials Institute
mkrhodes@clinicaltrials.wisc.edu
Best Answer
-
Hello @Meredith Rhodes -
You can try the following formula, however, if you have multiple line-breaks, the formula will return multiple semicolons.
=SUBSTITUTE(Name@row, CHAR(10), "; ")
Linda
Answers
-
Hello @Meredith Rhodes -
You can try the following formula, however, if you have multiple line-breaks, the formula will return multiple semicolons.
=SUBSTITUTE(Name@row, CHAR(10), "; ")
Linda
-
Thank you @Linda Manduchova! I can work with this.
Meredith Rhodes, PhD
ClinicalTrials.gov Specialist
UW School of Medicine & Public Health
UW Clinical Trials Institute
mkrhodes@clinicaltrials.wisc.edu
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 203 Use Cases
- 515 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!