# How to Separate text and numbers (with decimal point) from one cell into two columns

121 Reputation points
2020-10-20T08:38:43.207+00:00

Good day!

How to separate text and numbers (with decimal point) from one cell into two columns;

Variant

METANTHR38
METCOPR41
STUDSLVR42
BLKLH10
NAVY43
SDDL9
GRY5
SDDL6.5
BLU6.5
WHT10.5
BLK11.5

Output

Text

METANTHR
METCOPR
STUDSLVR
BLKLH
NAVY
SDDL
GRY
SDDL
BLU
WHT
BLK

Numbers

38
41
42
10
43
9
5
6.5
6.5
10.5
11.5

Thank you!

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,611 questions

1. 4,456 Reputation points
2020-10-21T06:23:04.867+00:00

To separate text and numbers, you can use a formula based on the FIND function, the MIN function, and the LEN function with the LEFT or RIGHT function, depending on whether you want to extract the text or the number.

Take Excel 2016 on my computer as an example.

1. Enter the ‘variant’ in cell A2:A12.
2. To extract just the text to cell C2, use the formula =LEFT(A2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789"))-1) in cell C2.
Where the formula =MIN(FIND({0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9} ,A2＆“0123456789”)) means the starting position of the number. In this case, the starting position of the number in cell A2 is ‘9’.
3. To extract just the number to cell D2, use the formula =RIGHT(A2,LEN(A2)-MIN(FIND({0,1,2,3,4,5,6,7,8,9},A2&"0123456789"))+1) in cell D2.
4. Drag the lower right corner of cell B2 to B12 and of C2 to C12.
This step is to quickly copy the formula to other cells.

Result:

Regards,
Erin