V
V
Vlad Dyukov2013-12-20 22:11:17
excel
Vlad Dyukov, 2013-12-20 22:11:17

How to split an Excel cell?

In an excel table, cells contain numbers with words without spaces:
dcd693842fc7.jpg.
How to split into 2 different cells without losing value?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PCHELA_MATKA, 2013-12-20
@Vl88

Good afternoon!
As you can see from your example, the left side is the numbers, which are always five. You can use the formula Levsymv (Your line, 5) - get the numbers. To get the last name - RIGHT (Your string; DLSTR (Your string) -5)

Y
Yuri Lobanov, 2013-12-20
@iiil

You can also write a macro in vba if you allow the use of macros in a document. The logic is simple: if it’s really the first 5 characters of a digit, then cut off the first and insert it into column B, the rest into column C. If the number of digits is always different, then you can first take only numbers with regular expressions, then only letters, or determine which character is the first not digit, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question