#1   Report Post  
Darren
 
Posts: n/a
Default Sorting?

I have two columns one has a list of names; the second also has the same list
of names. Column one is not in ascending or descending order and the order
may not be changed. How can I get the names in the second column to match up
with it corresponding name in the first column.
  #2   Report Post  
bj
 
Posts: n/a
Default

if the first column is column A and the second column column D
in Add column E and enter in E1
=match(D1,A:A,0)
this column will indicate the row that the Column A name is in
depending on what you want to do, you can sort if there is a one to one
cooerelation in the column data.

"Darren" wrote:

I have two columns one has a list of names; the second also has the same list
of names. Column one is not in ascending or descending order and the order
may not be changed. How can I get the names in the second column to match up
with it corresponding name in the first column.

  #3   Report Post  
Darren
 
Posts: n/a
Default

Thanks bj,

The match shows what line the matching word is on. some of the words dont
have matches so I get a #N/A which is fine.

Any ideas on how to get the matching words on the the corresponding line?

"bj" wrote:

if the first column is column A and the second column column D
in Add column E and enter in E1
=match(D1,A:A,0)
this column will indicate the row that the Column A name is in
depending on what you want to do, you can sort if there is a one to one
cooerelation in the column data.

"Darren" wrote:

I have two columns one has a list of names; the second also has the same list
of names. Column one is not in ascending or descending order and the order
may not be changed. How can I get the names in the second column to match up
with it corresponding name in the first column.

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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Sorting 1, 1A, 2, 2A, 3, 4, 4A, 4B . . . agc1234 Excel Discussion (Misc queries) 6 May 26th 05 08:02 PM
sorting number in ascending order Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 2 April 8th 05 10:31 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM
Adding a KeyID column for sorting Rebecca New Users to Excel 3 February 20th 05 07:09 PM


All times are GMT +1. The time now is 09:25 PM.

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

About Us

"It's about Microsoft Excel"