Hi,
Have been working on a project requiring mathematical manipulation of data using R/SAS. For some functions the data need to be formatted correctly first, which I was hoping to achieve through a macro.
Wanted to count the number of rows for each 'datekey' (column A) and if <14, then add additional rows with the same datekey until all are 14. Columns C:J on the inserted rows can remain blank (such that the mathematical procedures will omit these as corrupt data).
Limited programming experience - any help pointing in the right direction greatly appreciated!
Cheers
sampledata.xls
Bookmarks