Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Compare worksheets in two workbooks

I have 2 worksheets. Column A in both is SSN. I want to compare the data in
column L of worksheet 1 to column H of worksheet 2. I basically need a
formula that will compare the data in worksheet 1 column L to worksheet 2
column H, and correspond to the correct SSN. The values of the 2 columns
should be the same, but I need to know when they're not.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Compare worksheets in two workbooks

Data assumed in row2 down

In Sheet1,
Put in say, M2:
=IF(A2="","",IF(ISNA(MATCH(A2,Sheet2!A:A,0)),"SSN not found in
Sheet2",IF(L2=INDEX(Sheet2!H:H,MATCH(A2,Sheet2!A:A ,0)),"OK","Check")))
Copy down as far as required

Then you could autofilter on col M as desired,
eg choosing: Check
will filter the lines where col L (in Sht1) < col H (in Sht2)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"edn hello" wrote:
I have 2 worksheets. Column A in both is SSN. I want to compare the data in
column L of worksheet 1 to column H of worksheet 2. I basically need a
formula that will compare the data in worksheet 1 column L to worksheet 2
column H, and correspond to the correct SSN. The values of the 2 columns
should be the same, but I need to know when they're not.

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
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
Compare workbooks Scafidel Excel Discussion (Misc queries) 2 May 28th 07 09:15 PM
Compare And Merge Workbooks Tezza Excel Worksheet Functions 2 November 8th 06 03:23 PM
compare different workbooks kjstec Excel Worksheet Functions 1 October 17th 06 06:34 PM
How do I compare FORMULAS in two workbooks Doug Gault Excel Discussion (Misc queries) 2 May 6th 05 04:36 PM


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