Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 15th 06, 11:33 AM posted to microsoft.public.excel.worksheet.functions
Mark
 
Posts: n/a
Default How do I collate (match-up) one column's data with another?

EG: Column A has 100 cells of numeric codes, column B has 200 cells of codes,
each code in column B having associated data in columns C, D, E and F.

How do i collate the data so that the when a code in column A matches that
in column B, the data row from columns B,C,D,E and F are moved to be in line
with the cell in column A?

Thus leaving the 1st 100 rows of data ordered by column A, and subsequent
ancillary data in the second 100 rows.

  #2   Report Post  
Old March 15th 06, 03:35 PM posted to microsoft.public.excel.worksheet.functions
Tom Ogilvy
 
Posts: n/a
Default How do I collate (match-up) one column's data with another?

Insert a column C. In C1 put the formula

=countif(A:A,B1)=0

then drag fill down the column.

this will put False in the rows where there is a match

Now select all the data, in A to G and sort. Primary key on column C,
secondary key on column B. (sort ascending for column C, column B is your
choice)

Now delete column C.

--
Regards,
Tom Ogilvy


"Mark" wrote:

EG: Column A has 100 cells of numeric codes, column B has 200 cells of codes,
each code in column B having associated data in columns C, D, E and F.

How do i collate the data so that the when a code in column A matches that
in column B, the data row from columns B,C,D,E and F are moved to be in line
with the cell in column A?

Thus leaving the 1st 100 rows of data ordered by column A, and subsequent
ancillary data in the second 100 rows.

  #3   Report Post  
Old March 16th 06, 05:21 PM posted to microsoft.public.excel.worksheet.functions
Mark
 
Posts: n/a
Default How do I collate (match-up) one column's data with another?

THanks Tom! Next time I get an invoice spreadsheet to process, I will try it
out!

"Tom Ogilvy" wrote:

Insert a column C. In C1 put the formula

=countif(A:A,B1)=0

then drag fill down the column.

this will put False in the rows where there is a match

Now select all the data, in A to G and sort. Primary key on column C,
secondary key on column B. (sort ascending for column C, column B is your
choice)

Now delete column C.

--
Regards,
Tom Ogilvy


"Mark" wrote:

EG: Column A has 100 cells of numeric codes, column B has 200 cells of codes,
each code in column B having associated data in columns C, D, E and F.

How do i collate the data so that the when a code in column A matches that
in column B, the data row from columns B,C,D,E and F are moved to be in line
with the cell in column A?

Thus leaving the 1st 100 rows of data ordered by column A, and subsequent
ancillary data in the second 100 rows.



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
Want to compare two columns and then fill with data from the match Needy C Excel Worksheet Functions 1 January 11th 06 05:52 AM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 09:03 AM
Data in table, may need to convert to columns with OFFSET? Ron H Excel Discussion (Misc queries) 5 July 31st 05 06:44 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
How do i copy columns of data in notepad into microsoft excel? Jason Excel Discussion (Misc queries) 3 February 12th 05 03:04 AM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017