I am working with some follow-up data in the wide format and trying to recode the value 'No Change = 6' to the value imputed at the previous time point (for the same patient ID) using SPSS.
I've tried to show an example below
PID Partnership.1 Partnership.2 Partnership.3
1 1 6 4
2 3 3 5
3 4 6 4
4 2 2 6