Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default New to VBA: Compare workbook ranges, merge data and do additions

Hi,
Can you please help me out with this.
I'm new to VBA and I've looked at postings
in the group and I haven't been able to find
anything that quite fits what I'm doing.

I have a workbook (Book1) with descriptions in Col A
and numberic values in Col B,C,D and E starting in A14.
It will be generated every month. A division code and
cost code are in Cell A9 as part of a string.

Book1 needs to be compared to a second workbook(Book2)
which is a data table. ColA is Division, ColB is Cost code,
Col C is description and Col D,E,F and G are numeric values.

Book2 range with the same division and cost centre as Book1
neeed to be compared. If the description is the same the
numeric values in Book2 Col F and G need to be added to
Book1 Col D and E. If Book2 has a description that doesn't
match the entire row needs to be added to Book1. Book1 rows
that have no Book2 matches remain in Book1 unchanged.

Any ideas or help in how I should approach this will be
greatly appreciated.

Thanks, Sue

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 and Merge Workbook Shagv Excel Discussion (Misc queries) 1 January 6th 12 12:52 PM
Compare 2 reports and merge data to third report Raj Excel Discussion (Misc queries) 0 December 29th 08 06:18 PM
Compare lists for additions and subtractions John Michl Excel Worksheet Functions 2 June 2nd 06 04:30 PM
compare and merge data tourmaline Excel Worksheet Functions 0 March 13th 06 05:27 PM
compare two ranges in different workbooks and copy data to a new workbook Kaza Sriram Excel Programming 7 August 2nd 04 05:04 PM


All times are GMT +1. The time now is 12:22 AM.

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"