vba - To compare two cells in excel and then return the row -
well scenario excel sheet contain 97k rows similar email address want compare alternate cells in excel sheet , unique email address . suppose 4 columns
- a contains name
- b contains email address
- c contains type
- d contains latest updated date time
but conditions :-
- if b contain 2 or 3 cells having same email address go next column i.e c
- in column c check type
- if people contain type lead/contact go column c , check latest update , row.
- if people matching emails contain type 1 lead , contact row have type contact
- if type blank row contain type either lead or contact.
so can me out , how can done? right manually doing 1 one. short or snippet approach appreciable. thank you.it great
sort data in following order:
- email - ascending
- updated @ - descending
- type - ascending
then in column e write following formula: =if(b1<>b2,"keep","")
then filter data blanks in column d, delete filtered rows.
Comments
Post a Comment