Hello - I hated to post this, especially with all the other great posts out there, but I have been working on this for way too long without getting the end result. I have been using Mofi's "CountUp" macro as a template.
Here is sample Data:
11252544231User1
1210100600900008053400000234800034299
1210100612600000045600000000000000000
1210100613300000024300000000000000000
13
1620
11765365011User2
1210100610200000975000000000000000000
1210100610000002016100000000000000000
1210100606000000100800000000000000000
13
1620
11317778011User3
1210100602100001638300000049200033299
1210100606000000016400000000000000000
1210100612600000038700000000000000000
1210100613300000024300000000000000000
13
1620
11740292174User4
1210110600500000049000000002800017300
17091306 131200 131300 10000
13
1620
11500745174User5
1210110600500000049000000002800017300
17091306 206600 206700 10000
13
1620
I am trying to insert a preceding column that will read the "11" in the first two columns and assign a incremental 4 digit number in that column until the macro reads the "11" again, at which time the number is increased by one so the resulting data would look like:
000111252544231User1
00011210100600900008053400000234800034299
00011210100612600000045600000000000000000
00011210100613300000024300000000000000000
000113
00011620
000211765365011User2
00021210100610200000975000000000000000000
00021210100610000002016100000000000000000
00021210100606000000100800000000000000000
000213
00021620
000311317778011User3
00031210100602100001638300000049200033299
00031210100606000000016400000000000000000
00031210100612600000038700000000000000000
00031210100613300000024300000000000000000
000313
00031620
I am sure Mofi's macro will work, but I can't get it to. Any suggestions?
Thanks in advance.
Here is sample Data:
11252544231User1
1210100600900008053400000234800034299
1210100612600000045600000000000000000
1210100613300000024300000000000000000
13
1620
11765365011User2
1210100610200000975000000000000000000
1210100610000002016100000000000000000
1210100606000000100800000000000000000
13
1620
11317778011User3
1210100602100001638300000049200033299
1210100606000000016400000000000000000
1210100612600000038700000000000000000
1210100613300000024300000000000000000
13
1620
11740292174User4
1210110600500000049000000002800017300
17091306 131200 131300 10000
13
1620
11500745174User5
1210110600500000049000000002800017300
17091306 206600 206700 10000
13
1620
I am trying to insert a preceding column that will read the "11" in the first two columns and assign a incremental 4 digit number in that column until the macro reads the "11" again, at which time the number is increased by one so the resulting data would look like:
000111252544231User1
00011210100600900008053400000234800034299
00011210100612600000045600000000000000000
00011210100613300000024300000000000000000
000113
00011620
000211765365011User2
00021210100610200000975000000000000000000
00021210100610000002016100000000000000000
00021210100606000000100800000000000000000
000213
00021620
000311317778011User3
00031210100602100001638300000049200033299
00031210100606000000016400000000000000000
00031210100612600000038700000000000000000
00031210100613300000024300000000000000000
000313
00031620
I am sure Mofi's macro will work, but I can't get it to. Any suggestions?
Thanks in advance.