REPOST - Detecting missing values in a sequential list of numbers

  • Thread starter Thread starter Chris Strug
  • Start date Start date
C

Chris Strug

Hi,

A few weeks ago I made a post asking how to detect missing values in a
sequential number sequence.

For example, given a column of numbers containing

1,2,3,5,7,8,9,12,13,14,15,17,20

I would like

4,6,10,11,16,18,19.

Someone posted a code sample that analyzed the column and returned a text
box containing all the missing values.

However, my workstation went banana's recently and unfortunately I lost the
code sample.

Would it be possible for the gentleman in question to repost the sample?

Sorry to a pest. Kind thanks

Chris Strug
 
Back
Top