Hi,
I have a list of number string and I would like to remove the one with consecutive numbers onlyand paste it to next column.I don’t mind if its excel formula or UDF.Any suggestion or help would be much appreciated in advance.
Here is an example.
Thanks again
I have a list of number string and I would like to remove the one with consecutive numbers onlyand paste it to next column.I don’t mind if its excel formula or UDF.Any suggestion or help would be much appreciated in advance.
Here is an example.
Code:
[TABLE="width: 316"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]LIST[/TD]
[TD="colspan: 2"]EXPECTED RESULT[/TD]
[/TR]
[TR]
[TD]16 27 33 37[/TD]
[TD]16 27 33 37[/TD]
[TD]18 19 20 21[/TD]
[/TR]
[TR]
[TD]18 19 20 21[/TD]
[TD]01 19 20 32[/TD]
[TD]36 37 38 39[/TD]
[/TR]
[TR]
[TD]01 19 20 32[/TD]
[TD]08 26 32 39[/TD]
[TD]01 02 03 04[/TD]
[/TR]
[TR]
[TD]08 26 32 39[/TD]
[TD]13 14 24 25[/TD]
[TD]34 35 36 37[/TD]
[/TR]
[TR]
[TD]36 37 38 39[/TD]
[TD]03 04 30 31[/TD]
[TD]18 19 20 21[/TD]
[/TR]
[TR]
[TD]13 14 24 25[/TD]
[TD]05 20 30 32[/TD]
[TD]33 34 35 36[/TD]
[/TR]
[TR]
[TD]03 04 30 31[/TD]
[TD]06 25 36 38[/TD]
[TD]10 11 12 13[/TD]
[/TR]
[TR]
[TD]01 02 03 04[/TD]
[TD]12 13 28 31[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]34 35 36 37[/TD]
[TD]01 04 17 19[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]05 20 30 32[/TD]
[TD]09 31 36 38[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]18 19 20 21[/TD]
[TD]27 28 33 34[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]06 25 36 38[/TD]
[TD]08 09 19 33[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]12 13 28 31[/TD]
[TD]02 06 24 33[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]01 04 17 19[/TD]
[TD]13 30 33 35[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]09 31 36 38[/TD]
[TD]19 21 27 35[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]33 34 35 36[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]27 28 33 34[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]08 09 19 33[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10 11 12 13[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]02 06 24 33[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]13 30 33 35[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]19 21 27 35[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]