Hi all
You may advice how to solve the following question:
I have several columns that contain sequences of numbers (marks). These numbers consist of 1, 2 and 3; each sequence always starts with 1, whereas the rest is not fixed. In between sequences there can occasionally occur 0, but not necessarily.
I now would want to have for each of this column an additional column that counts these numbers as follows: each sequence (always starting with 1) should be counted as one `trial` continuously.
I attached an example with an INPUT and an OUTPUT file. This illustrated how the results should look like.
Many thanks in advance,
Lisa
Bookmarks