Hello,
I need help with a makro in excel. I have got table1 in worksheet1 and on worksheet2 there is table2. Now, I want to select a certain value in table1, search for that value in table two and then copy the content below the found value and insert it under the selected value in table 1. Sometimes there is only one row that should be copied, then other times there are between 2 and 4 rows to be copied.
I need help with a makro in excel. I have got table1 in worksheet1 and on worksheet2 there is table2. Now, I want to select a certain value in table1, search for that value in table two and then copy the content below the found value and insert it under the selected value in table 1. Sometimes there is only one row that should be copied, then other times there are between 2 and 4 rows to be copied.
Table1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
Sth. | Sth. | Sth. | Sth. | Value of interest | Sth. | etc. | etc | etc | etc |
Insert here | Insert here | Insert here | Insert here | Insert here | Insert here |
Table2 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
nothing | nothing | nothing | nothing | Value of interest |
| nothing | nothing | nothing | nothing | |
nothing | nothing | nothing | nothing | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | |
nothing | nothing | nothing | nothing | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | |
nothing | nothing | nothing | nothing | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | Value to copy over | |
nothing | nothing | nothing | nothing | nothing | nothing | nothing | nothing | nothing | nothing | |
Value that could be of interest | nothing | nothing | nothing | nothing | nothing | |||||
Value that could be to copy | etc. | etc. | ... | ... | ... |
Last edited: