Copy and paste data from one sheet to another, check if data is dupliacte. if it is ask user if they want to continue

seansta13

New Member
Joined
Feb 7, 2021
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
Hi

I have a sheet I am using as a booking form. I want to copy the data from cells D4 to G4 on sheet 1 to sheet 2. when the data is copied onto sheet 2 I want to add it to the next available row and check if the name in column B is a duplicate anywhere is the table. if the data is a duplicate I would like a message box to show the user the duplicate row/rows showing them all the data i.e. Cell B thought to F on the duplicate row. I then want to ask the user if they still want to copy the duplicate data to sheet 2 having viewed the duplicate info.

thanks in advance
 

Attachments

  • sheet 1.JPG
    sheet 1.JPG
    18.7 KB · Views: 3
  • sheet 2.JPG
    sheet 2.JPG
    45.2 KB · Views: 3

Some videos you may like

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.

seansta13

New Member
Joined
Feb 7, 2021
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
Even better if it could only check if the duplicate name is within the last 6 months that would be even better
 

Watch MrExcel Video

Forum statistics

Threads
1,127,861
Messages
5,627,308
Members
416,239
Latest member
Counselor85027

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
Top