excelNewbie22
Well-known Member
- Joined
- Aug 4, 2021
- Messages
- 510
- Office Version
- 365
- Platform
- Windows
i have a file of thousands of lines with numbers, let's say:
5 11 25 26 28 40
2 20 22 23 30 31
6 7 10 11 19 20
10 12 15 17 20 22
and i want, by formula, to check for example if there is a pattern of differential of 2 (between 2 following numbers) then 3 then 2 then 3 and so on,
and like i say this is just an example, cause i want to check lot's of patterns like that,
so i want to be able to modify the formula each time to my needs, like to 3 and then 4 then 3 and so on....
and if possible for the formula to check the entire file at once (like c2:h2000) but to check only horizontal lines (c2:h2 then c3:h3 and etc)
and return how many matched, like 10 or 20...
thank u all for your time and expertise!
5 11 25 26 28 40
2 20 22 23 30 31
6 7 10 11 19 20
10 12 15 17 20 22
and i want, by formula, to check for example if there is a pattern of differential of 2 (between 2 following numbers) then 3 then 2 then 3 and so on,
and like i say this is just an example, cause i want to check lot's of patterns like that,
so i want to be able to modify the formula each time to my needs, like to 3 and then 4 then 3 and so on....
and if possible for the formula to check the entire file at once (like c2:h2000) but to check only horizontal lines (c2:h2 then c3:h3 and etc)
and return how many matched, like 10 or 20...
thank u all for your time and expertise!