Hello everybody
I hope you are doing well.

I want to repeat observations for one group into other groups, the attached example simplify what I mean, how can I repeat the observations of id (1) in var1 to the var2 only for id(2) and id(4)

id var1 var2
1 100
1 200
1 300
2 1000 100
2 2000 200
2 2000 300
3 3000
3 3500
3 3700
4 4000 100
4 4500 200
4 4700 300
Thanks in advance