Hi all,
I've got a huge document at the moment, and I need to automate the formatting of data into a spreadsheet as easily and automatically as possible at the moment.
It's a specification sheet, with a heap of requirements listed with the prefix P1, P2, P3....P564......P1023 etc. These requirements may be a line long, a paragraph, may even have dot points.
I've stripped out the data and got it into excel at the moment (originally word) with almost all formatting etc removed. Each break in a paragraph or dot point however has been inputted into a new cell. So now I have as an example ....
(Each line is a new cell, A1, A2, etc)
P1 <Text>
a) <Text>
a. <Text>
i. <Text>
ii. <Text>
b. <Text>
b) <Text>
c) <Text>
P2 <Text>
P3 <Text>
P4 <Text>
So instead of spanning from A1 – A11, I need it to span from A1 – A4, with each cell being a unique P<x>.
I'm thinking a macro with CONCATENATE(A1,char(10),A2) looping would be the way to go, however I've got no idea how to make the macro go through and only merge together cells between the specific escape characters starting at P1, and sequentually going up.
Any help would be greatly appreciated.
Bookmarks