Hi friends,
I have a list of data (names, employee IDs, work location, etc) in a single column in a tab that I would like to bring into a particular format. Each record is separated by a blank row. Essentially I'm trying to capture only 3 fields for each record- name, employee ID and location. However as in the following screenshot, I sometimes have less than 3 fields or sometimes more than 3 fields available for each record.
Picture1.jpg
I would like to write a macro whereby each record has exactly 3 fields even if they are blank. This would mean inserting any blank rows as needed to make each record have 3 fields; or deleting any extra fields after the 3rd row in a record.
I also want to bring this into a 3-columnar format until the list is finished (when there are no more records). I would appreciate any help with this. I have attached a sample worksheet.
The data exists in the 'Staging' tab, and the 3-columnar format exists in the 'Output' tab, where I would like to have the final output.
Thanks!
Bookmarks