LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Comparing cells in workbooks

I would like to learn how to compare a row in Workbook1 against a range of
rows in Workbook2. If one of the rows in Workbook2 is the same as the row in
Workbook1, data from a cell in Workbook2 is then copied into an empty cell in
Workbook1. For example:

Workbook1 Columns
A=Name, B=Part, C=2005_Price

Workbook2 Columns
A=Name, B=Part, C=2004_Price

If a row in Workbook1 with columns A & B being exactly the same as ONE of
the many rows in Workbook2 (columns A & B), I would like to copy the info in
Workbook 2, 2004_Price, into column D of workbook1. Thus, when formula is
completed, Workbook1 should look like this:

Workbook1 Columns
A=Name, B=Part, C=2005_Price, D=2004_Price

I've tried VLookup and If, but can't get it to work. Your expert advice
please.

 
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
Comparing Workbooks JS Excel Discussion (Misc queries) 2 October 21st 05 01:20 PM
comparing workbooks glenn Excel Discussion (Misc queries) 1 August 2nd 05 01:13 PM
Comparing Cells in Workbooks Carlton Patterson Excel Programming 9 July 24th 05 01:29 AM
Comparing two workbooks DavidC[_2_] Excel Programming 1 October 1st 04 06:20 AM
comparing cells in different workbooks - open a certain sheet Walt[_2_] Excel Programming 0 July 28th 03 06:46 PM


All times are GMT +1. The time now is 05:30 PM.

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"