DaScientist
New Member
- Joined
- May 17, 2018
- Messages
- 5
Hello,
I'm trying to find a way to count triads of 1, 2, 3 in columns.
For example I have:
1
2
3
2
3
1
2
1
3
In this example I have 123, 231, 312, 213. So a total sum of 4 triads. A triad must have all 3 different numbers to count(1, 2, 3). So a triad of 323 doesn't count.
Is there any way to do that?
I would really appreciate your help. I have a lot of data and it will take ages to process them manually.
I'm trying to find a way to count triads of 1, 2, 3 in columns.
For example I have:
1
2
3
2
3
1
2
1
3
In this example I have 123, 231, 312, 213. So a total sum of 4 triads. A triad must have all 3 different numbers to count(1, 2, 3). So a triad of 323 doesn't count.
Is there any way to do that?
I would really appreciate your help. I have a lot of data and it will take ages to process them manually.