clear
input byte (id year)
1 1
1 .
1 .
1 4
2 1
2 2
2 .
2 .
2 5
3 1
3 2
3 .
3 .
3 .
end
I want to fill the missing values with the consecutive integers. For example,
for id==1, the values to be added should be 2,3.
for id==2, the values to be added should be 3,4.
for id==3, the values to be added should be 3,4,5.
Thanks for your code.
input byte (id year)
1 1
1 .
1 .
1 4
2 1
2 2
2 .
2 .
2 5
3 1
3 2
3 .
3 .
3 .
end
I want to fill the missing values with the consecutive integers. For example,
for id==1, the values to be added should be 2,3.
for id==2, the values to be added should be 3,4.
for id==3, the values to be added should be 3,4,5.
Thanks for your code.

Comment