VBA check the date if matched then copy and paste the data into their group

rockyhawkky

New Member
Joined
Jul 18, 2022
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi there, i need a hand to help me with a simple VBA code, i got my sheet1 here
My Sheet.xlsx
ABC
1DateTeamName
205/10/2022ALupin
322/10/2022AFox
405/10/2022BRuby
522/10/2022BSusan
605/10/2022BGarland
705/10/2022AAnthony
Sheet1

and here is sheet 2, i simply want to list their name in sheet2 here which matched their date, paste them to their group as yellow is the sample result
My Sheet.xlsx
ABC
105/10/202222/10/2022
2AA
3LupinFox
4Anthony
5
6
7BB
8RubySusan
9Garland
10
11
Sheet2

any help would very much appreciate.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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