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
- 66.6K Get Help
- 435 Global Discussions
- 152 Industry Talk
- 495 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 508 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!