Hi,
This should hopefully be a quick one - if I knew how to do it.
I have a dataset that needds to be cleaned up by inserting a blank row when the ID number in the first column changes. There is no consistent row count for each ID.
Looks like
ID date attribute1 attribute2 etc
123 20060624 abc
123 20060624 def
123 20060714 abc
123 20060714 def
156 20060624 abc
156 20060624 def
189 20060714 abc
189 20060714 def
etc
Each tme there is a change in the ID field only, need a blank row inserted to split the records.
Result should look like:
123 20060624 abc
123 20060624 def
123 20060714 abc
123 20060714 def
156 20060624 abc
156 20060624 def
189 20060714 abc
189 20060714 def
Thanks in advance
This should hopefully be a quick one - if I knew how to do it.
I have a dataset that needds to be cleaned up by inserting a blank row when the ID number in the first column changes. There is no consistent row count for each ID.
Looks like
ID date attribute1 attribute2 etc
123 20060624 abc
123 20060624 def
123 20060714 abc
123 20060714 def
156 20060624 abc
156 20060624 def
189 20060714 abc
189 20060714 def
etc
Each tme there is a change in the ID field only, need a blank row inserted to split the records.
Result should look like:
123 20060624 abc
123 20060624 def
123 20060714 abc
123 20060714 def
156 20060624 abc
156 20060624 def
189 20060714 abc
189 20060714 def
Thanks in advance