Z zeldy New Member Dec 17, 2022 #1 what is the formula to sepate number and text to two rows see file Attachments Trial Balance 11.30.2022.xlsx Trial Balance 11.30.2022.xlsx 10.8 KB · Views: 19
V vletm Excel Ninja Dec 17, 2022 #2 zeldy to two columns ... to cell C7 =LEFT(A2,5) to cell D7 =MID(A2,7,255) and copy both down
pecoflyer Well-Known Member Dec 18, 2022 #3 Alternatively Data - Text to columns - Check Fixec width - Next - Place break lines where required - Next - Change data format if required - Finish
Alternatively Data - Text to columns - Check Fixec width - Next - Place break lines where required - Next - Change data format if required - Finish
P Peter Bartholomew Well-Known Member Dec 18, 2022 #4 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) )
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) )