S
S
Stepan Kuksenko2015-10-10 11:25:35
excel
Stepan Kuksenko, 2015-10-10 11:25:35

How to implement search and selection of values ​​by pattern in Excel?

Good afternoon.
There is a line like (individual columns are marked with | ):
| Ivanov Ivan | 04.10.2012 birthday | Ivanov | Ivan | 9221112211 | Ivan |
You need to do an automatic search in this line for a value that looks like "04.10.2012" (2 digits dot 2 digits dot 4 digits) and write this value in a separate column in the same line.
Tell me in which direction to dig, maybe there are functions or several functions with which you can implement this, or you still have to write a macro in VBA.
If possible, I would like some example.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Fedoryan, 2015-10-12
@stxtasy

If you pervert specifically with formulas without VBA, then this: searches in the first 3 cells, then change by analogy.
=ПСТР(A1&B1&C1;ПОИСК("??.??.????";A1&B1&C1;1);10)

A
Alexander Golubev, 2015-10-17
@Piocan-Alex

The advanced filter www.planetaexcel.ru/techniques/2/197 will help you . You need to carefully look at the criteria table and, based on it, write =*??.??.????* in the cell, then it will search for any values ​​in this format, try it. The main thing is that it automatically copies the data to a new table.
I managed to solve similar problems with his help, I hope it will help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question