Is there a function/formula to return only the first string proceeding the first carriage return using Google Sheets?
Example Text:
Bob & Mary Smith
bob@email.com
555-111-1234
Assuming the above text is in cell A1, I would like the formula to return the following to Cell B1 "Bob & Mary Smith"
Best Answer
Generally speaking, this would do it:
=REGEXEXTRACT(A1,"(.+)\n")