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

  1. a contains name
  2. b contains email address
  3. c contains type
  4. d contains latest updated date time

but conditions :-

  1. if b contain 2 or 3 cells having same email address go next column i.e c
  2. in column c check type
  3. if people contain type lead/contact go column c , check latest update , row.
  4. if people matching emails contain type 1 lead , contact row have type contact
  5. 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 enter image description here

sort data in following order:

  1. email - ascending
  2. updated @ - descending
  3. type - ascending

then in column e write following formula: =if(b1<>b2,"keep","")

then filter data blanks in column d, delete filtered rows.

picture sample data based on data below. enter image description here


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -