Pikkewnytjie
New Member
- Joined
- Apr 1, 2015
- Messages
- 1
So, I am fairly competent with excel formula but no nothing about macros. I have just received 35 separate pdfs which I think will convert to around 15000 rows of data in excel. I think it will take me hours (if not days) to formulate the data in to a usable table without some kind of excel magic!
Having pasted from the pdfs, the data has all gone in to column A with some cells including a single piece of data and others including several pieces of data. An example is below.
Each set of data that needs to be transposed to a single row, runs from rows 1 to 5 and then 6 to 10 and this is consistent throughout all the data in column A up to row 15000 (that is approximate number of rows I've not finished pasting it all in yet!).You will see each row has an individual piece of data except rows 3 and 8, which need to be split out in to 5 separate columns (text, date, date, number, number)
<tbody>
</tbody>
There will be a row of column headings at the top spanning column A to I to accommodate each piece of data. See how I would like it to look:
<tbody>
</tbody>
I would like to run a macro for rows 1 to 5 to put all the data in the table above in to the table under a new tab. I have no idea how to make this and then repeat it down the whole column, to first, move text to columns on rows 3 and 8 (and so on) and then transpose/cut and paste the rest of the data in to the right columns.
Because what I am dealing with is personal data I can't provide you with the actual spreadsheet I am working on.
I really hope someone can help me.
Having pasted from the pdfs, the data has all gone in to column A with some cells including a single piece of data and others including several pieces of data. An example is below.
Each set of data that needs to be transposed to a single row, runs from rows 1 to 5 and then 6 to 10 and this is consistent throughout all the data in column A up to row 15000 (that is approximate number of rows I've not finished pasting it all in yet!).You will see each row has an individual piece of data except rows 3 and 8, which need to be split out in to 5 separate columns (text, date, date, number, number)
Column A | |
1 | Smith, John |
2 | 123456789 |
3 | Couple 01/10/2010 30/09/2011 1,600.00 68.00 |
4 | 1,668.00 |
5 | Active |
6 | Page, Michael |
7 | 987654321 |
8 | Family 01/01/2011 30/09/2011 2,400.25 75.50 |
9 | 2,475.75 |
10 | Active |
<tbody>
</tbody>
There will be a row of column headings at the top spanning column A to I to accommodate each piece of data. See how I would like it to look:
Name | Member Number | Cover | From | To | Net Cost | Tax | Total Cost | Current Status |
Smith, John | 123456789 | Couple | 01/10/2010 | 30/09/2011 | 1,600.00 | 68.00 | 1,688.00 | Active |
Page, Michael | 987654321 | Family | 01/01/2011 | 30/09/2011 | 2,400.25 | 75.50 | 2,475.75 | Active |
<tbody>
</tbody>
I would like to run a macro for rows 1 to 5 to put all the data in the table above in to the table under a new tab. I have no idea how to make this and then repeat it down the whole column, to first, move text to columns on rows 3 and 8 (and so on) and then transpose/cut and paste the rest of the data in to the right columns.
Because what I am dealing with is personal data I can't provide you with the actual spreadsheet I am working on.
I really hope someone can help me.