V
V
vovashaplin2021-05-20 17:14:22
excel
vovashaplin, 2021-05-20 17:14:22

How to selectively transfer column values ​​from one file to another?

# First Excel document (1):
60a66e63a84a9957995512.png

# Second Excel document (2):
60a66e6ccd008092172977.png

The task is to match the names of each product and move the three rightmost digits for each row from (2) to (1). If the line in the file (2) is empty, then do not transfer it. The example also shows that products in different documents have different cell indentation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2021-05-20
@saboteur_kiev

1. Copy by hand
2. Remove all unnecessary indents, make sure that the number of products matches and match and copy everything at once
3. Use the VLOOKUP function
4. Write a macro that will run in a cycle, match products. It's just not clear in your example how to compare. Just by the value 1000=1000? Well, it's easy.

I
idShura, 2021-05-20
@idShura

If you don't know how to use VBA, then try power query

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question