VBA script to find and Delete rows with Duplicate data

ira_deorum

New Member
Joined
Mar 28, 2012
Messages
1
Ok guys really need your help for a script here ( VBA ).
6878264872


I have data in four columns and 1000s of rows.

in Col A i have "NE ID" , Col B i have "SITE ID". SITE ID is composed of up to minimum of 2 NEs and a maximum of 6 NEs.Col C has "start date of an event" and Col D has " End date of an Event". I want a script that combines Data in cell for Col B and Col C e.g. E3=B3&C3. Once the script populates this new column ( Col E ) with data. I then want the script to find duplicate Cells in this Column and then highlight them. Once highlighted it can copy them the rows that contain duplicate data from Col E to a new sheet. Once on the new sheet it can then delete the duplicates to only be left with unique values.

sample sheet:

http://www.flickr.com/photos/78459546@N04/6878264872/

Please assist. ideas are also welcome

br
Ira D
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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