look for ID in 2 sheets and map details

kshitij_dch

Active Member
Joined
Apr 1, 2012
Messages
362
Office Version
  1. 365
  2. 2016
  3. 2007
Platform
  1. Windows
Hi,

I have a workbook in which sheet 1 has few ID and name with details and sheet 2 is having list of ID and name with details .

Looking for a macro which will match the ID in sheet1 with sheet2 , if ID matches then look for the amount in column D if amount is same in both the sheets then copy the place and name from sheet 2 to sheet1

Sheet 1
IDNamesPlace Amount
11AntonyTexas231
22RodgerMexico-639
33MarcosUSA-300
44LilyBrazil500

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>


Sheet 2
IDNamesPlace Amount
11AntonyBrazil231
11AntonyUSA-231
44LilyTexas500
33MarcosMexico-300
44LilyHungary-231
22RodgerTexas639
22RodgerHungary-639

<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
hello Folks , is there any way that we get to know after running a macro what changes are made by macro in a sheet
 
Upvote 0
PS.
If you need to know what has changed, maybe have the macro record/show what has changed.
How would you want the changes to be shown?
cheers
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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