Relative Content

Tag Archive for loopssasduplicatescopy-paste

Copying data from one row to other rows with the same key value in SAS

I am running into a problem where I would like to duplicate data from one row that contains data to other rows with the same key value, but does not contain any additional data. However, ONLY conditioned if variable 3 or V3 is equal to “Cardio”. For instance. I have a dataset that looks like this.