J
jacqui
I have a datafile where
column 6 contains balances and column 1 contains a
reference to each of those balances. The reference is a
four digit code but is prefixed with a number and sorted
in numeric order, ie 1AFL, 2BPB, 3PLB, 4ABM etc. There
are several rows (of balances) that relate to each
reference.
(There are other details in columns 2 to 5 but these are
not relevant in this example).
Can anyone kindly provide some syntax that will:
for each group of balances ie all those that begin with
ref 1 in column 1, grab column 6 and move it to the next
available column, then repeat for all those with ref 2 in
column 1, grab column 6 and copy to the next available
column.
What I'm essentially trying to do is transpose a file
where all the data is held in rows (3000 in total) and I'm
wanting to sort sections of it and paste it to the next
available column.
Does this make any sense?
Many thanks
Jacqui
column 6 contains balances and column 1 contains a
reference to each of those balances. The reference is a
four digit code but is prefixed with a number and sorted
in numeric order, ie 1AFL, 2BPB, 3PLB, 4ABM etc. There
are several rows (of balances) that relate to each
reference.
(There are other details in columns 2 to 5 but these are
not relevant in this example).
Can anyone kindly provide some syntax that will:
for each group of balances ie all those that begin with
ref 1 in column 1, grab column 6 and move it to the next
available column, then repeat for all those with ref 2 in
column 1, grab column 6 and copy to the next available
column.
What I'm essentially trying to do is transpose a file
where all the data is held in rows (3000 in total) and I'm
wanting to sort sections of it and paste it to the next
available column.
Does this make any sense?
Many thanks
Jacqui