Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

Macro to copy rows based on value in 2 different sheets

$
0
0
HI I have below test example.
In sheet "Match". I have names and customer numbers. In below example 49 rows with names and customer numbers.

In sheet "Brio Result". I have Values in column A to H. 55 rows with values in these columns. (Invoice amount, date etc)

The only thing which you can compare in these 2 sheets are the customer numbers.

I need a macro which can compare these customer numbers in the 2 sheets. And display the match in sheet "Final Match"

I have shown how i need the output to come out in below test example. You can see in the headers in that sheet.

From Sheet "Match" I need the customer names and the customer numbers to be in sheet "FInal Match"
And from Sheet "Brio Result" i need all other values to be copied over to Sheet "Final Match". But its easier to see in below test xls.

The match have to be runned by a command button in sheet1

Please have a look, i need this one for a specific thing, so quite important. So hope for some help

Thanks in advance

Sincerely
Abjac
Attached Files

Viewing all articles
Browse latest Browse all 50070

Trending Articles