Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Comparing two columns in two different worksheet.

I have two worksheets (i.e. abc & def ) in same workbook. Only one column
in the two workbooks (i.e column B in abc worksheet and column C in def
worksheet) containing common data. I want excel to compare each cell in
column B with each cell in column C and if it is identical, Excel should
copy all corresponding data in same raw and past them in the corresponding
raw inr the other sheet.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Comparing two columns in two different worksheet.

You say Sheet1!ColumnB matches Sheet2!ColumnC. Which other data columns are
populated on each of the sheets? Do you want to copy from Sheet2 to Sheet1 AND
from Sheet1 to Sheet2, or only in one direction?

You should be able to do this with VLOOKUP formulas on the destination sheet.
To simplify this, you should rearrange your columns: on Sheet1, move column B
into the left-most position. On Sheet2, do the same with column C, so you are
matching column A with column A.


On Sun, 4 Nov 2007 10:38:02 -0800, Waleed Mahmoud <Waleed
wrote:

I have two worksheets (i.e. abc & def ) in same workbook. Only one column
in the two workbooks (i.e column B in abc worksheet and column C in def
worksheet) containing common data. I want excel to compare each cell in
column B with each cell in column C and if it is identical, Excel should
copy all corresponding data in same raw and past them in the corresponding
raw inr the other sheet.

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
Comparing columns Dave T Excel Worksheet Functions 1 May 23rd 09 10:27 AM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
Comparing 2 columns if they are the same Faio Excel Worksheet Functions 4 November 15th 05 10:18 AM
comparing two columns? steve g via OfficeKB.com Excel Discussion (Misc queries) 1 April 30th 05 04:53 AM
Comparing Two Columns? PattyB Excel Programming 4 October 11th 04 02:36 PM


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