Access Beginner
Active Member
- Joined
- Nov 8, 2010
- Messages
- 311
- Office Version
- 2016
- Platform
- Windows
Hi All,
I have a data set which in Column C has a list of postcodes, there are around 2,600 unique postcodes in this data set.
I was hoping that a macro could be written that would insert 3 rows after each postcode and then in Column D, put the following values CDAP, CRS and Total.
Data as it is now:
Column C
800
810
812
2486 etc
Desired Result:
Column C....... Column D
800 ...............CDAP
.....................CRS
.....................Total
810 ................CDAP
......................CRS
......................Total
And so on until the last postcode is down. Last row in the data set is 2603.
Please ignore the ............, this is the only why I could get it to align
Sorry but I am at work and cannot use any of the tools to paste the actual worksheet.
Any help is greatly appreciated
Using Excel 2007
I have a data set which in Column C has a list of postcodes, there are around 2,600 unique postcodes in this data set.
I was hoping that a macro could be written that would insert 3 rows after each postcode and then in Column D, put the following values CDAP, CRS and Total.
Data as it is now:
Column C
800
810
812
2486 etc
Desired Result:
Column C....... Column D
800 ...............CDAP
.....................CRS
.....................Total
810 ................CDAP
......................CRS
......................Total
And so on until the last postcode is down. Last row in the data set is 2603.
Please ignore the ............, this is the only why I could get it to align
Sorry but I am at work and cannot use any of the tools to paste the actual worksheet.
Any help is greatly appreciated
Using Excel 2007
Last edited: