Uma,
Sub UmaMacro()
Dim myR As Long
Dim myC As Range
Dim myR2 As Long
myR = Cells(Rows.Count, 1).End(xlUp).Row
Range("D2").EntireColumn.Insert
With Range("D2

" & myR)
.FormulaR1C1 = _
"=SUMPRODUCT((RC[-3]=R2C1:RC1)*(RC[-2]=R2C2:RC2)*(RC[-1]=R2C3:RC3))"
.Copy
.PasteSpecial Paste:=xlPasteValues
End With
Range("D1").Value = "Sort"
Range("A1

" & myR).Sort Key1:=Range("D2"), _
Order1:=xlAscending, Header:= xlYes
Set myC = Columns("D

").Find(What:="2")
Range(myC, Cells(myR, 4)).EntireRow.Delete
Range("D2").EntireColumn.Delete
myR2 = Cells(Rows.Count, 1).End(xlUp).Row
MsgBox "I deleted " & myR - myR2 & " and there were " _
& myR2 - 1 & " that I did not delete."
End Sub
HTH,
Bernie
MS Excel MVP
"Uma Nandan" <(E-Mail Removed)> wrote in message
news:E5AC0CF3-32C6-49F4-AC7E-(E-Mail Removed)...
> Hi
>
> Would kindly request you to help for the following:
>
> 1) I need a VBA Code to detect the duplicates based on below data. Have
> given my comments in Column D for for more information.
> 2) After checking Column B with Column A & Column C the duplicates should be
> detleted & should pop a message box that these many duplicates deleted. In
> below mentioned Eg. the message box should display " Total Duplicated
> Detected:2 , Unique Records:4"
> __________________________________________________________
>
> EG:
>
> Column A ColumnB ColumnC Column D
> COMPANY NAME PROSPECT NAME TITLE COMMENTS
> Wachovia David Wishon SVP Not a duplicate
> Wachovia David Wishon Associate Not a duplicate
> Bank Of America Uma Nandan Researcher Not a duplicate
> Citigroup Uma Nandan Researcher Not a duplicate
> Wachovia David Wishon Associate Duplicate. Need to
> delete
> Bank Of America Uma Nandan Researcher Duplicate. Need to delete
>
> _____________________________________________________________
> Would appreciate if some one can help me with this. I have a data of 50,000
> to perform this task.
>
> Thanks in advance.
>
> Regards,
> Uma