Deleting Duplicate values

PGD15

Board Regular
Joined
Aug 5, 2016
Messages
137
Hi there,

Im working with a data base which has so many duplicate entries. I need to the duplicates based on a condition.

the condition is if the account (column b) is appears twice on the same day (column g) remove the record.

I tried the data - delete duplicate records but it removed my records from 2900ish to 70 sooo didnt quite work :(
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Does your value in column G only have the date, or does it also include a time component?

If only the date, the "Remove Duplicates" functionality should work, just be sure to only include columns B and G in determining the duplicates (when that menu shows up after clicking "Remove Duplicates).

If the date also has the time, you can create a helper column to remove the time component, and use this in the "Remove Duplicates" functionality (instead of column G).
One way to remove the time component is to use the INT function, i.e.
=INT(G2)
 
Upvote 0
oh, i did do this right i just removed the wrong field 5 times in a row :) hahaha! i did have time with date but created the text (a1,dd etc) to bypass that issue but it helps if is use my new column to delete them :')

thanks nonetheless!
 
Upvote 0

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

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