Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,124
- Office Version
- 365
- Platform
- Windows
In using Excell 2013 ->
Here is my Data:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column1
[/TD]
[TD]C2
[/TD]
[TD]C3
[/TD]
[TD]C4
[/TD]
[TD]C5
[/TD]
[TD]C6
[/TD]
[TD]C7
[/TD]
[TD]C8
[/TD]
[TD]C9
[/TD]
[TD]C10
[/TD]
[TD]C11
[/TD]
[TD]C12
[/TD]
[TD]C13
[/TD]
[TD]C14
[/TD]
[TD]C15
[/TD]
[TD]C16
[/TD]
[TD]C17
[/TD]
[TD]C18
[/TD]
[TD]C19
[/TD]
[TD]C20
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD]ABC
[/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1559
[/TD]
[TD]ABC
[/TD]
[TD]159
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]8
[/TD]
[TD]9
[/TD]
[TD]10
[/TD]
[TD]11
[/TD]
[TD]12
[/TD]
[TD]13
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD][/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1645
[/TD]
[TD]ABC
[/TD]
[TD]250
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD][/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1559
[/TD]
[TD]ABC
[/TD]
[TD]159
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I want by VBA Code is to 'Delete Duplicates' in using the 'Common Qualifier' in Column 1 in keeping the 'Maximum & Numerical Values' of its predecessor’s deleted rows with the same 'Qualifier'.
So then the Data after Macro execution; will result in the following table:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column1
[/TD]
[TD]C2
[/TD]
[TD]C3
[/TD]
[TD]C4
[/TD]
[TD]C5
[/TD]
[TD]C6
[/TD]
[TD]C7
[/TD]
[TD]C8
[/TD]
[TD]C9
[/TD]
[TD]C10
[/TD]
[TD]C11
[/TD]
[TD]C12
[/TD]
[TD]C13
[/TD]
[TD]C14
[/TD]
[TD]C15
[/TD]
[TD]C16
[/TD]
[TD]C17
[/TD]
[TD]C18
[/TD]
[TD]C19
[/TD]
[TD]C20
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD]ABC
[/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1645
[/TD]
[TD]ABC
[/TD]
[TD]250
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]8
[/TD]
[TD]9
[/TD]
[TD]10
[/TD]
[TD]11
[/TD]
[TD]12
[/TD]
[TD]13
[/TD]
[/TR]
</tbody>[/TABLE]
If it seems like such a simple concept for you, I'll really appreciate your wisdom on this one.
Please Help!
R/
-Pin
Here is my Data:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column1
[/TD]
[TD]C2
[/TD]
[TD]C3
[/TD]
[TD]C4
[/TD]
[TD]C5
[/TD]
[TD]C6
[/TD]
[TD]C7
[/TD]
[TD]C8
[/TD]
[TD]C9
[/TD]
[TD]C10
[/TD]
[TD]C11
[/TD]
[TD]C12
[/TD]
[TD]C13
[/TD]
[TD]C14
[/TD]
[TD]C15
[/TD]
[TD]C16
[/TD]
[TD]C17
[/TD]
[TD]C18
[/TD]
[TD]C19
[/TD]
[TD]C20
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD]ABC
[/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1559
[/TD]
[TD]ABC
[/TD]
[TD]159
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]8
[/TD]
[TD]9
[/TD]
[TD]10
[/TD]
[TD]11
[/TD]
[TD]12
[/TD]
[TD]13
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD][/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1645
[/TD]
[TD]ABC
[/TD]
[TD]250
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD][/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1559
[/TD]
[TD]ABC
[/TD]
[TD]159
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I want by VBA Code is to 'Delete Duplicates' in using the 'Common Qualifier' in Column 1 in keeping the 'Maximum & Numerical Values' of its predecessor’s deleted rows with the same 'Qualifier'.
So then the Data after Macro execution; will result in the following table:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Column1
[/TD]
[TD]C2
[/TD]
[TD]C3
[/TD]
[TD]C4
[/TD]
[TD]C5
[/TD]
[TD]C6
[/TD]
[TD]C7
[/TD]
[TD]C8
[/TD]
[TD]C9
[/TD]
[TD]C10
[/TD]
[TD]C11
[/TD]
[TD]C12
[/TD]
[TD]C13
[/TD]
[TD]C14
[/TD]
[TD]C15
[/TD]
[TD]C16
[/TD]
[TD]C17
[/TD]
[TD]C18
[/TD]
[TD]C19
[/TD]
[TD]C20
[/TD]
[/TR]
[TR]
[TD]XY1559
[/TD]
[TD]ABC
[/TD]
[TD]XY
[/TD]
[TD]1559
[/TD]
[TD]1645
[/TD]
[TD]ABC
[/TD]
[TD]250
[/TD]
[TD]1
[/TD]
[TD]2
[/TD]
[TD]3
[/TD]
[TD]4
[/TD]
[TD]5
[/TD]
[TD]6
[/TD]
[TD]7
[/TD]
[TD]8
[/TD]
[TD]9
[/TD]
[TD]10
[/TD]
[TD]11
[/TD]
[TD]12
[/TD]
[TD]13
[/TD]
[/TR]
</tbody>[/TABLE]
If it seems like such a simple concept for you, I'll really appreciate your wisdom on this one.
Please Help!
R/
-Pin