Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default compare values between workbooks and copy values

Hello,

I download a file called datamanager.csv that I need to update with
information from combined.csv on a weekly basis.

I compare the cells in column E (System Name) in combined.csv with the
cells in column V (serial) in datamanager.csv and when I find a match,
I copy that row of information. So if E2 in combined.csv = V6 in
datamanager then I would copy
combined.csv!A2 (city) to datamanager.csv!J6 (city),
combined.csv!B2 (state) to datamanager.csv!K6 (state),
combined.csv!C2 (location) to datamanager.csv!L6 (location),
combined.csv!F2 (code) to datamanager.csv!M6 (code),
combined.csv!G2 (type) to datamanager.csv!N6 (type),
and
combined.csv!I2 (num) to datamanager.csv!O6 (num)

When a match is found I always want the cell in datamanager.csv to be
overwritten with the information from combined.csv.

If a match isn't found then I want the fields in datamanager.csv to be
left alone.

What are your suggestions?

Thank you for your help.
Brad
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
Compare Values in A and Copy to B ConfusedNHouston Excel Discussion (Misc queries) 1 June 27th 08 09:57 PM
how do you use vlookup to compare values between two workbooks sharie palmer Excel Worksheet Functions 0 November 30th 07 01:15 AM
Compare and copy unique values sa02000 Excel Worksheet Functions 1 June 12th 06 09:42 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


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