0
0
0l0l02016-01-18 18:37:09
excel
0l0l0, 2016-01-18 18:37:09

How to format data for counting?

There are lines like:
2.00 ABC | 1000.00 USD | 2000.00 RUB | 01/18/2016 05:12:20 PM
How to:
2.00 | ABC | 1000.00 | RUB | 2000.00 | RUB | 01/18/2016 | 17:12:20

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-01-18
@0l0l0

First, remove the signs "|" so that only a space is the delimiter, then replace the spaces with "|".
=REGEXREPLACE(REGEXREPLACE(A1;"\ ?\|\ ?";" ");" ";"|")
Checked in Google docs, although the new Excel should also support. If it does not support, you will have to write a more complex formula.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question