Martin Coates
New Member
- Joined
- Nov 8, 2004
- Messages
- 31
Hi All
I'm trying to work out a formula to count the number of consecutive numbers in a row of numbers e.g if I have a series of numbers, say 1, 3, 4 ,5 12, 15, 16 I want to know how many numbers are consecutive, in this example 3,4 +5 =3 consecutive numbers and 15 + 16 = 2 consecutive numbers. I've tried Frequency and Countif but can't seem to get the right result.
Any thoughts anyone?
Martin
I'm trying to work out a formula to count the number of consecutive numbers in a row of numbers e.g if I have a series of numbers, say 1, 3, 4 ,5 12, 15, 16 I want to know how many numbers are consecutive, in this example 3,4 +5 =3 consecutive numbers and 15 + 16 = 2 consecutive numbers. I've tried Frequency and Countif but can't seem to get the right result.
Any thoughts anyone?
Martin