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: 6
  • sheet 2.JPG
    sheet 2.JPG
    45.2 KB · Views: 8

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Even better if it could only check if the duplicate name is within the last 6 months that would be even better
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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