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

I need help writing an Macro that looks up values and copies and pasts them to an sheet

$
0
0
Hi All,

I have an spreadsheet that currently hold data from the payroll system and it is sorted by Column "J".

I want (reads "need) an macro that will look up values in J for example "Melbourne Cup" and then copy them to an sheet named "Melbourne Splash"... there is 17 different lookups that this will need to do but once I have the first one down I will (reads "should" be fine).

This is an exaple of the first line of the sheet named "Data_dump_master"

Employee Number First Name Surname Address Line One Line 2 Suburb State Postcode Payroll Deduction Name Payment Date Amount
001544 Micky Mouse 1 I am not telling you Lne HARRIS NSW 2150 Daily Melbourne Splash 31-Mar-13 $14.40

The list will vary in size each time we run this report so you will need to take that into consideration as well :)

Thanks for your help in advance

Viewing all articles
Browse latest Browse all 50112