Forum Discussion
nickyshfs
Dec 16, 2022Copper Contributor
multiple lines of text within text output of formula
I would like it so that if someone keys "SO P" into cell B1, then the output is the following text within the selected cell (note, I'D LIKE MULTIPLE LINES OF TEXT WITHIN THE ONE CELL: Full value ...
HansVogelaar
Dec 16, 2022MVP
Use
=IF(B1="SO P", "Full value =" & CHAR(10) & "Share value =","")
Entering a line break in a formula only changes the way the formula is displayed. To enter a line break in the result, concatenate with CHAR(10), the line break character.
nickyshfs
Dec 16, 2022Copper Contributor
thank you so much! But I've tried this and am still getting the same result...?
- nickyshfsDec 16, 2022Copper ContributorI can't see how I can add an image into a reply so have put it in my main post....
- HansVogelaarDec 16, 2022MVP
- nickyshfsDec 16, 2022Copper Contributoryou're a superstar - thank you so much!