LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default Compare 2 sets of data

Hi Rodrick,

Thanks for the response. It certainly is going in the right direction.
In the result as, for ID 2, its returns TRUE, But for ID 5, It returns false.
My problem would me solved, its ID 2 also returned a FALSE. Is there a way.

Bcos my actual data is quiet large.

regards
Rajula

"Rodrick" wrote:

I have considered list 1 to be in Column A:B and List2 in Column D:E
Column A Column B Column D Column E
List1.ID List1.Name List2.ID List2.Name

Formuls used in cell F2:
=IF(ISERROR(VLOOKUP(D2,A:B,2,0)),"False",IF(VLOOKU P(D2,A:B,2,0)=E2,"True","False"))

My Result:

ID Name
1 RPS False
2 CPM False
2 ROP True (Different from one which you mentioned)
3 RW True
4 DCE False
5 EPR False
5 RW False

--
Cheers

Rodrick


"Rajula" wrote:

Compare 2 sets of data and return a true or false in a third column.
Can i use Pivots or lookups or any functions

I need list 2 to look at list 1 and compare and let me know that ID 1 is
mapped to the same Name & return true/false.
What makes it complicated is that Some IDs have 2 names mapped to it & the
names can be different. But even if 1 of the name
is different, if it returns a false, it will be sufficient.

List 1 List 2

ID Name ID Name
1 RW 1 RPS
2 ROP 2 CPM
3 RW 2 ROP
4 EPR 3 RW
5 DCE 4 DCE
5 RW 5 EPR
5 RW

This is what the result should look like.

ID Name
1 RPS False
2 CPM False
2 ROP False
3 RW True
4 DCE False
5 EPR False
5 RW False

 
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
show 3 sets of data per data point in a scatter plot Marie Charts and Charting in Excel 6 May 19th 08 09:38 PM
how do i link up 2 sets of data into 1 set of data in excel Mike Excel Worksheet Functions 2 October 21st 06 01:52 AM
help comparing two sets od data to find the odd data matsgullis Excel Worksheet Functions 2 January 12th 06 01:52 AM
How do I compare 2 sets of data and highlight differences? Perplexed1 Excel Worksheet Functions 1 July 9th 05 01:15 AM
How can I compare 2 sets of Social Security #'s and Identify dupes vwwolfe Excel Discussion (Misc queries) 1 February 3rd 05 10:08 PM


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