#1   Report Post  
Posted to microsoft.public.excel.misc
mtown02
 
Posts: n/a
Default Sorting Question

I have two columns of numbers that I need to sort. The need to be sorted in
thier own column but in respect to the other column. First column contains
employee numbers from one year. Second column contains employee numbers from
another year. I need the two columns to line up perfectly, placing blank
spaces where there is no corrosponding number.

Example:
What I have looks similar to this:
1 2
2 3
4 4
5 6
And I need it to look like this:
1
2 2
3
4 4
5
6

Thanks a bunch,
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Sorting Question

Could you copy the employee numbers into a single column, with an adjacent
column indicating the year?
1 1
1 2
1 4
1 5
2 2
2 3
2 4
2 6
That seems pretty simple and from there, you could create a pivot table,
with year in the columns field, employee number in the forws field AND the
data field. Then you could select the table and copy/paste special values to
lose the pivot table.
Just a thought. --Bruce

"mtown02" wrote:

I have two columns of numbers that I need to sort. The need to be sorted in
thier own column but in respect to the other column. First column contains
employee numbers from one year. Second column contains employee numbers from
another year. I need the two columns to line up perfectly, placing blank
spaces where there is no corrosponding number.

Example:
What I have looks similar to this:
1 2
2 3
4 4
5 6
And I need it to look like this:
1
2 2
3
4 4
5
6

Thanks a bunch,
Mike

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about sorting in protected worksheet SJC Excel Worksheet Functions 6 March 24th 05 10:35 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM
Question on sorting dates Excel heavy user Excel Discussion (Misc queries) 3 January 21st 05 05:12 PM
sorting question Brian Excel Worksheet Functions 5 November 30th 04 05:32 AM
sorting question Brian Excel Discussion (Misc queries) 4 November 28th 04 12:30 PM


All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"