Dear Azimullah, Choose any of the below formual and paste it in third column i.e, column C Row 2 onwards and you are done.
=IF(SUMPRODUCT(($B$1:B2=B3)*($A$1:A2<A3))>0,"Duplicate","Unique") OR, =IF(COUNTIF($B$1:B1,B2)=0,"Unique","Duplicate") solved workbook is also attached. Best Regards, -- DILIP KUMAR PANDEY MBA-HR,B COM(Hons.),BCA Mobile: +91 9810929744 [email protected] [email protected] New Delhi - 110062 On 12/10/09, [email protected] <[email protected]> wrote: > > Hi i have market research data that i need to clean in terms of > finding out duplicate surveys. there are two criteria for this. > firstly telephone number from which it was done. if it is repeated > more han once then it means its duplicate, its the first criteria. > second criteria is date. so if there is a single phone number repeated > twice, then the earlier date/time should be original survey and later > date/time to be counted as duplicate. > > example > > Date Phone number > 11/1/09 123456 > 12/1/09 123456 > 11/1/09 456789 > 12/1/09 456789 > > > > Thanks in advance! > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at > http://www.excelitems.com > 2. Excel tutorials at http://www.excel-macros.blogspot.com > 3. Learn VBA Macros at http://www.vbamacros.blogspot.com > 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > > To post to this group, send email to [email protected] > If you find any spam message in the group, please send an email to: > Ayush Jain @ [email protected] or > Ashish Jain @ [email protected] > <><><><><><><><><><><><><><><><><><><><><><> > HELP US GROW !! > > We reach over 6,500 subscribers worldwide and receive many nice notes about > the learning and support from the group. Our goal is to have 10,000 > subscribers by the end of 2009. Let friends and co-workers know they can > subscribe to group at > http://groups.google.com/group/excel-macros/subscribe -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to [email protected] If you find any spam message in the group, please send an email to: Ayush Jain @ [email protected] or Ashish Jain @ [email protected] <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe
Identifying repeated survey - By DILipandey.xls
Description: MS-Excel spreadsheet
