JTL9161
Well-known Member
- Joined
- Aug 29, 2012
- Messages
- 591
- Office Version
- 365
- Platform
- Windows
I have a column of numbers. I watered them down for this example below.
I am looking for a macro that will search EACH GROUP of numbers and find any dups. If there are none then go on to the next group and so on. I am not trying to find dup numbers in the entire column, just in each group.
After it finds a dupe I need it to note in a previous column.
The group size will be larger and vary in size but there should be at least 1 empty line between each grouping.
I've tried the macro's that look at the entire column but nothing seems to work for what I need.
Thanks for your help
James
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>
[TD="class: xl63, width: 64"] [/TD]
[TD="class: xl63, width: 64"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]26[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]34[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]34[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]42[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]9[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]15[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]17[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]13[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]6[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]21[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]28[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]1[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]1[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]8[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]24
[/TD]
</tbody>
I am looking for a macro that will search EACH GROUP of numbers and find any dups. If there are none then go on to the next group and so on. I am not trying to find dup numbers in the entire column, just in each group.
After it finds a dupe I need it to note in a previous column.
The group size will be larger and vary in size but there should be at least 1 empty line between each grouping.
I've tried the macro's that look at the entire column but nothing seems to work for what I need.
Thanks for your help
James
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>
[TD="class: xl63, width: 64"] [/TD]
[TD="class: xl63, width: 64"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]26[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]34[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]34[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]42[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]9[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]15[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]17[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]13[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]6[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]21[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]28[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]1[/TD]
[TD="class: xl63"]Dupe[/TD]
[TD="class: xl63, align: right"]1[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]8[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63"] [/TD]
[TD="class: xl63, align: right"]24
[/TD]
</tbody>