Hi Mike,How many possible values for each row? You show a max of 3, can there be more? Is it fixed or does it vary? If it's always 3 then you can use this script.
//Move data from rows to columns C & D
loop(ii, 1, wks.nrows) {
end=list($(ii)+1, Data1_A); end=;
col(C)[$(end)-3]=col(Y)[$(end)-1];
col(D)[$(end)-3]=col(Y)[$(end)];
};
Otherwise it will be a little different.
Craig
[This message has been edited by CStorey (edited 06-15-2000).]