Hi there, rather than being wordy and confusing I'll just present what I have and what I want; What I have: Date Time Data Jan 1, 2014 7:30 123 Jan 1, 2014 7:31 345 Jan 1, 2014 7:33 567 Jan 2, 2014 7:30 456 Jan 2, 2014 7:32 234 What I want: Date Time Data Jan 1, 2014 7:30 123 Jan 1, 2014 7:31 345 Jan 1, 2014 7:32 345 Jan 1, 2014 7:33 567 Jan 2, 2014 7:30 456 Jan 2, 2014 7:31 456 Jan 2, 2014 7:32 234 The code I have proc expand data = last out = addmissobs to = minute method=step; by date; id time; run; What I got: Date Time Data Jan 1, 2014 7:30 123 Jan 1, 2014 7:31 123 Jan 1, 2014 7:32 345 Jan 1, 2014 7:33 567 Jan 2, 2014 7:30 456 Jan 2, 2014 7:31 234 Jan 2, 2014 7:32 234 When I rerun the code using method=none, I noticed that after inserting the missing minutes, all existing data got lead to the next period. Ie Jan 1 7:30 data became Jan 1 7:31 data. Then it replaces the missing data with the next period data. When it was supposed to replace the missing data with the previous period data. Please help. Thank you in advance.
... View more