Update rejoin dates in master sheet

gssachin

Board Regular
Joined
Nov 14, 2013
Messages
155
Hi,
I need a macro to update values from input sheet to master sheet.
Input sheet having three columns emp no, vacation date and rejoin date.

Macro has to find emp no from master sheet and then find vacation date as per once it found macro should update rejoin date next to vacation date column and it should do upto last row in input sheet
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
We need specific details.

Are the two sheets named:
"Input" and "Master"

You said:
Input sheet having three columns emp no, vacation date and rejoin date.

What columns are these?

Are these columns "A" "B" and "C" ??

You said:
Macro has to find emp no

Where is emp number?

What column ?

See we need details like this.
 
Upvote 0
Hi,

Sorry for Inconvenience

Input Sheet
Emp No Vacation Date Rejoin Date
A B C
9523 18-11-2011 17-12-2011
9524 05-01-2018 05-02-2018

Master Sheet (Before Macro)
Emp No Vac 1 Rejoin 1 Vac 2 Rejoin 2
A B C D E
9522 01-01-16 03-03-16
9523 05-05-11 06-06-11 18-11-2011
9524 05-01-18

Required Result

Master Sheet (After Macro)
Emp No Vac 1 Rejoin 1 Vac 2 Rejoin 2
A B C D E
9522 01-01-16 03-03-16
9523 05-05-11 06-06-11 18-11-2011 17-12-11
9524 05-01-18 05-02-18
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top