Part of the problem is that your raw data is not consistent; different numbers of rows per entry etc. If it was exactly the same format in each entry, transpose or a macro could do it quite easily. I don't see any way to automate it unless there is a discernible pattern in your data- I don't see one.