Hello Friends,
I have a complex problem that I need to solve.
I would like to have the following results:
Column A has 5 digit numbers.
Of all the numbers that are consecutive in column A, I would like to have all of the digits that are consecutive deleted and print only unique non-consecutive 5 digit numbers in Column B.
Example:
1) Column A: 12345 Column B: (empty)
2) Column A: 13579 Column B: 13579
3) Column A: 12845 Column B (empty)
4) Column A: 13579 Column B: 13579
Previously I had received a formula to delete consecutive numbers but somehow it gets confused with the example below:
In Column B, no number must be consecutive to each other meaning any number added or subtracted by one would not be acceptable even if that combination is at the middle of the 5 digits, here is an example (EG: 14579, 13569 and 13578)
Your kind help and consideration dear MVP's is highly appreciated in advance.
Im new to the group hence sometimes I violate the code, my dear and sincere apologies for that.
Looking forward to your help, if this is not clear enough I'm available for further commentary.
Thank you.
Lukhanyo
I have a complex problem that I need to solve.
I would like to have the following results:
Column A has 5 digit numbers.
Of all the numbers that are consecutive in column A, I would like to have all of the digits that are consecutive deleted and print only unique non-consecutive 5 digit numbers in Column B.
Example:
1) Column A: 12345 Column B: (empty)
2) Column A: 13579 Column B: 13579
3) Column A: 12845 Column B (empty)
4) Column A: 13579 Column B: 13579
Previously I had received a formula to delete consecutive numbers but somehow it gets confused with the example below:
In Column B, no number must be consecutive to each other meaning any number added or subtracted by one would not be acceptable even if that combination is at the middle of the 5 digits, here is an example (EG: 14579, 13569 and 13578)
Your kind help and consideration dear MVP's is highly appreciated in advance.
Im new to the group hence sometimes I violate the code, my dear and sincere apologies for that.
Looking forward to your help, if this is not clear enough I'm available for further commentary.
Thank you.
Lukhanyo