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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,134
Messages
6,123,237
Members
449,093
Latest member
Vincent Khandagale

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