taffyviking
New Member
- Joined
- May 19, 2011
- Messages
- 1
Hallo!
My programming skills are non-existent, I wonder if anybody out there can help me? I have about 15000 lines of data that looks like this:
&&
1 8 91.118
1 10 2249.754
1 12 5.889
1 14 29.608
1 16 6.073
1 18 0
1 20 0
1 21 -1.77
1 22 0.165
1 23 0
1 24 0
1 25 0
1 29 5.519
1 31 -0.752
1 32 -0.752
1 33 73.472
1 34 -29.88
1 40 -25.04
1 41 -103.585
1 42 -103.419
1 43 -1.158
!!
&&
11 15 30.5
11 16 10.85
11 17 10.628
11 18 24.914
11 19 15.411
11 20 14.958
11 21 3.54
11 22 1.751
11 23 1.813
11 24 0.799
!!
&&
1 8 91.118
1 10 2249.754
1 12 5.889
1 14 29.595
1 16 6.086
1 18 0
1 20 0
1 21 -1.746
1 22 0.165
1 23 0
1 24 0
1 25 0
1 29 5.559
1 31 -0.752
1 32 -0.752
1 33 73.472
1 34 -29.88
1 40 -25.08
1 41 -103.585
1 42 -103.585
1 43 -1.323
!!
&&
11 15 30.513
11 16 10.85
11 17 10.641
11 18 24.914
11 19 15.422
11 20 14.979
11 21 3.54
11 22 1.751
11 23 1.811
11 24 0.826
!!
As you can see the first two columns are pretty much repeated over and over, the interesting column is the third one which I need to QC and it's proving a real pain. I thought they'd be easier to work with if they were arranged in columns, with two header rows, one with a single instance of the contents of column 1, the next similarly for column two and all subsequent rows containg the values. I suppose a simple loop to repeatedly select and transpose the repeating blocks of data would do it, but even that's beyond me.
Something like this:
1 1 1 etc. etc. 11 11 11
8 10 12 etc. etc. 22 23 24
91.12 2249.75 5.89 etc. etc. 1.75 1.81 0.80
91.12 2249.75 5.89 etc. etc. 1.75 1.81 0.83
91.12 2249.74 5.89 etc. etc. 1.74 1.82 0.82
91.11 2249.73 5.90 etc. etc. 1.75 1.83 0.84
and so forth, except of course it's diffcult to get the columns to play in this GUI. Grateful for any help.
My programming skills are non-existent, I wonder if anybody out there can help me? I have about 15000 lines of data that looks like this:
&&
1 8 91.118
1 10 2249.754
1 12 5.889
1 14 29.608
1 16 6.073
1 18 0
1 20 0
1 21 -1.77
1 22 0.165
1 23 0
1 24 0
1 25 0
1 29 5.519
1 31 -0.752
1 32 -0.752
1 33 73.472
1 34 -29.88
1 40 -25.04
1 41 -103.585
1 42 -103.419
1 43 -1.158
!!
&&
11 15 30.5
11 16 10.85
11 17 10.628
11 18 24.914
11 19 15.411
11 20 14.958
11 21 3.54
11 22 1.751
11 23 1.813
11 24 0.799
!!
&&
1 8 91.118
1 10 2249.754
1 12 5.889
1 14 29.595
1 16 6.086
1 18 0
1 20 0
1 21 -1.746
1 22 0.165
1 23 0
1 24 0
1 25 0
1 29 5.559
1 31 -0.752
1 32 -0.752
1 33 73.472
1 34 -29.88
1 40 -25.08
1 41 -103.585
1 42 -103.585
1 43 -1.323
!!
&&
11 15 30.513
11 16 10.85
11 17 10.641
11 18 24.914
11 19 15.422
11 20 14.979
11 21 3.54
11 22 1.751
11 23 1.811
11 24 0.826
!!
As you can see the first two columns are pretty much repeated over and over, the interesting column is the third one which I need to QC and it's proving a real pain. I thought they'd be easier to work with if they were arranged in columns, with two header rows, one with a single instance of the contents of column 1, the next similarly for column two and all subsequent rows containg the values. I suppose a simple loop to repeatedly select and transpose the repeating blocks of data would do it, but even that's beyond me.
Something like this:
1 1 1 etc. etc. 11 11 11
8 10 12 etc. etc. 22 23 24
91.12 2249.75 5.89 etc. etc. 1.75 1.81 0.80
91.12 2249.75 5.89 etc. etc. 1.75 1.81 0.83
91.12 2249.74 5.89 etc. etc. 1.74 1.82 0.82
91.11 2249.73 5.90 etc. etc. 1.75 1.83 0.84
and so forth, except of course it's diffcult to get the columns to play in this GUI. Grateful for any help.