Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find duplicate values in column K then compare cells range of dups
I have this code to identify differences of cells within specified rows:
Sub Macro2() Dim rng As Range, cell As Range Range("9:9,12:12").Interior.ColorIndex = xlNone Set rng = Range(Cells(9, 1), Cells(9, Columns.Count).End(xlToLeft)) For Each cell In rng If cell < cell.Offset(3, 0) Then cell.Interior.ColorIndex = 3 cell.Offset(3, 0).Interior.ColorIndex = 3 End If Next End Sub However I would like to add to this a routine to find duplicate values in column K and then run the above code to highlight the differences between the cells in each duplicate row. Can this be done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to find duplicate cells in Column a & retrieve column B | Excel Discussion (Misc queries) | |||
how to find duplicate values in a column during enter the value? | Excel Discussion (Misc queries) | |||
Find Dups in a column, validate all dup rows are identical. | Excel Programming | |||
how do i prevent duplicate values in a range of validated cells? | Excel Discussion (Misc queries) | |||
Compare List - Get Duplicate Values | Excel Programming |