matching and pasting adjuscent values in 2 sheets

kshitij_dch

Active Member
Joined
Apr 1, 2012
Messages
349
Office Version
  1. 365
  2. 2016
  3. 2007
Platform
  1. Windows
hii all

2 excel workbooks one Is wb1 and other is wb2, wb1 has 4 columns , column "A" has date , "B" has ID'S ," C" has names , "D" has Duration
Wb 2 has 4 columns . Column "C" contain Date , "D" contains names , "E" contain ID"S , "I" contain Time Duration .

macro to look into wb1 column "A" filter dates wise like 1 , 2 , 3.... filter suppose 5/2/2012(mm.dd.yy), go in Wb2 and check according to date sheets are made , if date is "filtered date" in Wb1 than macro will go in Wb2 , sheet 2,


the ID"S of "B" column of wb1 sheet1 , pick values and id's as well adjucent those id's in column "F" , go in wb2 sheet 2 match these ID'S with the ID'd in column "E" , in front of those ID'S paste those picked values adjucent in column J of wb2 sheet 2


please help its important for me
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

pplstuff

Well-known Member
Joined
Mar 9, 2012
Messages
951
You could do this with formulas. Although, if your data is more than 100k records, it might have a slow calc time. Would you prefer a macro?
 

Watch MrExcel Video

Forum statistics

Threads
1,127,301
Messages
5,623,855
Members
415,995
Latest member
SergioCM92

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
Top