Sorting columns with multiple rows

  • Thread starter Thread starter scain2004
  • Start date Start date
S

scain2004

I have a range consisting of three rows.
Basically a data group of one column with three rows.
The first row of the column is a date, the second a job type, the thir
a department.
Each column/row group corresponds with a job number at row 1, column
of the range

I would like to sort the range starting with column B according to th
date value.

Any suggestions as to how to do this (keeping the other two row
carried with)?

Any further explanation, I'll to do if needed.

Thanks.
 
scain2004 > said:
I have a range consisting of three rows.
Basically a data group of one column with three rows.
The first row of the column is a date, the second a job type, the third
a department.
Each column/row group corresponds with a job number at row 1, column 1
of the range

I would like to sort the range starting with column B according to the
date value.

Any suggestions as to how to do this (keeping the other two rows
carried with)?

Any further explanation, I'll to do if needed.

Thanks.

Insert two helper columns. Populate one with a repeating triplet of numbers
that gives a serial number to each member within each three row range
(1,2,3,1,2,3,1,2,3,etc.) . Populate the second column with the sort key so
that all members of the three row range have the same sort key. Sort the lot
with the key column as primary, and the serial column as secondary. Remove
the helper columns.
 
Bob Kilmer said:
Insert two helper columns. Populate one with a repeating triplet of numbers
that gives a serial number to each member within each three row range
(1,2,3,1,2,3,1,2,3,etc.) . Populate the second column with the sort key so
that all members of the three row range have the same sort key. Sort the lot
with the key column as primary, and the serial column as secondary. Remove
the helper columns.

Previous post assumes the sort keys are unique. If they are not, add a third
helper that gives that effect. Populate this column 111,222,333,444,etc.
Sort by key column, the 111 column, and the 123 column.
 
Transpose the three rows into a single row. Sort on your key. Untranspose
the single row into three.
 
It's not perfectly clear what you want to do but if you want to sor
from left to right (or visa versa) based on the date while keeping eac
column coherent then you can use the sort function on the data menu.

Data>sort>options>sort left to right>

select the row you want to sort then

press "okay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top