VBA to copy/paste from Sheet1 to Sheet2 if criteria is met

Status
Not open for further replies.

casper_01

New Member
Joined
May 20, 2020
Messages
10
Office Version
  1. 2016
Hello, I am doing a project where I want some values that are already set up in 1 sheet to be copied and pasted in another sheet provided the Criteria from Columns B & C from Sheet2 (both simultaneously) are met. Sheet2 looks already as attach image (Sheet2).

In Sheet1 I have pre-added the content I would like to be copied and pasted in Sheet2 if Criteria is met. See attachment (Sheet1). As you can see in in Sheet1 I already have the content that I need to copy on Sheet2. I would like to create an Excel Macro that would do this automatically.

The outcome should look like the attachment (Sheet2 – Outcome).
 

Attachments

  • Sheet1.jpg
    Sheet1.jpg
    125.3 KB · Views: 6
  • Sheet2 - Outcome.JPG
    Sheet2 - Outcome.JPG
    44.3 KB · Views: 5
  • Sheet2.JPG
    Sheet2.JPG
    34.1 KB · Views: 5

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Status
Not open for further replies.

Forum statistics

Threads
1,214,784
Messages
6,121,535
Members
449,037
Latest member
tmmotairi

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