• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula to separate text from number

Alternatively
Data - Text to columns - Check Fixec width - Next - Place break lines where required - Next - Change data format if required - Finish
 
Separating on the first space
Code:
= HSTACK(
    TEXTBEFORE(data, " "),
    TEXTAFTER(data, " ")
  )
or dressing it up to allow for lines without any number
Code:
= LET(
      firstString, TEXTBEFORE(data," "),
      remainder,   TEXTAFTER(data, " "),
      left,        IF(ISNUMBER(--firstString), firstString, ""),
      right,       IF(ISNUMBER(--firstString), remainder, data),
      HSTACK(left, right)
  )
 
Back
Top