Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Evaluate duplicate rows and delete information in specified columns
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="S Himmelrich, post: 6343412"] The following code works for only Column A: 'Removed Duplicates in Column A Dim rng As Range Dim i As Integer Set rng = Range(Cells(1, 1), Cells(1, 1).End(xlDown)) For i = rng.Rows(rng.Rows.Count).Row To rng.Row + 1 Step -1 If Cells(i, 1).Value = Cells(i - 1, 1) Then Cells(i, 1).ClearContents End If Next End Sub I need similar results, but evaluating four columns for duplicate rows: Columns A, C, F & G, and deleting values in Column F, G, H & I if condition is true. Can anyone help? [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Evaluate duplicate rows and delete information in specified columns
Top