COPY DATA IN SHEET ROWS TO ANOTHER SHEET IF CRITERIA IS YES

DonHarmse

New Member
Joined
May 28, 2021
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Good day, I am new to VBA. I need help to copy cells, column B and C from one sheet to another sheet if criteria in column D is YES. Basically it means that on the name list of May 2021 if I have seen said person I mark column D next to each name with “YES” and then their registration number and surname & initials must be automatically copied to sheet “NOV 2021” (6 months onwards) in the workbook. Same will apply in the sheet “JUNE 2021” onwards

If sheet “MAY 2021” column “D” (different rows) are “yes” the data in column B and C, rows 2 and downwards must copy automatically to sheet “NOV 2021” (6 sheet onwards) in the first open rows in column B and C.

It would be highly appreciated if someone can assist in this regard.


1622184283910.png
1622184308701.png


1622184283910.png
1622184308701.png


1622184283910.png
1622184308701.png
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,213,565
Messages
6,114,337
Members
448,568
Latest member
Honeymonster123

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