Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CompuCat
 
Posts: n/a
Default How do I create a macro that will compare columns and place data

I need to create a macro that will compare two spreadsheets (two separate
documents); looking at two columns for matching numbers. When the number is
identical, the macro will copy the cells from that row in the first document
to the end of the row of matching data in the 2nd spreadsheet, then continue
through the remainder of the file.

Example: File 1 has column C = File Number. File 2 has column E = File
Number. Macro reads File 1 first file number, looks at File 2 and locates a
row with that information. It then grabs the cells from the row in File 1 and
pastes them into empty cells after the data in File 2. It goes through that
for every row in File 1 and reports back that it has completed xxx rows.

Any and all assistance will be greatly appreciated.
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
Finding and compiling list of cells containing data... Richard Walker Excel Worksheet Functions 6 March 18th 06 02:17 PM
compare and merge data tourmaline Excel Worksheet Functions 0 March 13th 06 05:27 PM
Retreive data from another worksheet based on multiple columns hgopp99 New Users to Excel 1 January 20th 06 08:48 PM
Find data in columns, then place in rows couriced Excel Worksheet Functions 2 September 29th 05 05:44 PM
End of data JC Excel Discussion (Misc queries) 2 February 20th 05 06:45 AM


All times are GMT +1. The time now is 04:04 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"