Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi,
I have two spreadsheets with same field called IDs. I want to know whether the IDs in the ID column of the first sheet is in the ID column of the second. I want to create a new column on the first sheet to return Yes/No depending on the result. I think I could use vlookup formula but have no idea how. Can anyone help me? Thank you! -- Message posted via http://www.officekb.com |
#2
![]() |
|||
|
|||
![]()
Janice
One way: =IF(ISNA(VLOOKUP(A1,Sheet2!A:A,1,FALSE)),"no","yes ") and drag down. Assumes your ID column is column A on both sheets. Regards Trevor "Janice Lee via OfficeKB.com" wrote in message ... Hi, I have two spreadsheets with same field called IDs. I want to know whether the IDs in the ID column of the first sheet is in the ID column of the second. I want to create a new column on the first sheet to return Yes/No depending on the result. I think I could use vlookup formula but have no idea how. Can anyone help me? Thank you! -- Message posted via http://www.officekb.com |
#3
![]() |
|||
|
|||
![]()
For the given formula,
=IF(ISNA(VLOOKUP(A1,Sheet2!A:A,1,FALSE)),"no","yes ") What is "ISNA" and what does each value separated with comma represent? Thanks in advance! -- Message posted via http://www.officekb.com |
#4
![]() |
|||
|
|||
![]()
Janice Lee via OfficeKB.com wrote:
Hi, I have two spreadsheets with same field called IDs. I want to know whether the IDs in the ID column of the first sheet is in the ID column of the second. I want to create a new column on the first sheet to return Yes/No depending on the result. I think I could use vlookup formula but have no idea how. Can anyone help me? Thank you! Without a lookup formula =IF(COUNTIF(Sheet2!A:A,A1)0,"yes","no") filled down as far as required. Alan Beban |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Look up data in colum a and find match in colum b | Excel Discussion (Misc queries) | |||
Look up data in colum a and find match in colum b | Excel Discussion (Misc queries) | |||
using vlookup - how do I match 2 spreadsheets w/o same exact numb. | Excel Worksheet Functions | |||
Find a match that;s not exact | Excel Worksheet Functions | |||
Vlookup, Index & Match | Excel Worksheet Functions |