Forum Discussion

SteveG53's avatar
SteveG53
Copper Contributor
Sep 27, 2022
Solved

Nested information in 1 cell

I am trying to create a formula that will nest several pieces of information in 1 cell.  I want to add the Alt+Enter command into my formula to start a new line in the cell but not sure how to execute this.  Any help would be appreciated.  Thanks.

  • SteveG53 Insert &CHAR(10)& in your formula to insert a line feed. For example=

     

    ="Line 1"&CHAR(10)&"Line 2"

     

    should return this:

    Don't forget to format the cell to "wrap text".

     

  • JWPGolf's avatar
    JWPGolf
    Copper Contributor
    Sorry I replied to your post accidently. I thought I was posting a question
  • JWPGolf's avatar
    JWPGolf
    Copper Contributor
    I wish to include a leading zero and not suppress it. For e example an account number may be 01234567
    • JWPGolf 

      Either set the number format to Text before entering data, or prefix the value with an apostrophe '

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    SteveG53 Insert &CHAR(10)& in your formula to insert a line feed. For example=

     

    ="Line 1"&CHAR(10)&"Line 2"

     

    should return this:

    Don't forget to format the cell to "wrap text".

     

Resources