Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function Help

Status
Not open for further replies.

tlaksh

Programmer
Feb 25, 2001
98
US
Hi,

I have two columns. Column A & Column B. I need to compare each value is column A with the whole column B and find if the value exist in column B.

Is there a function that can do that? Any help will be appreciated.


thxs

Lakshmi.
 
FILL THIS FORMULA DOWN IN COL. "C", TO RETURN AN X IF MATCHED BLANK IF NOT....



=IF(ISERROR(MATCH(A1,$B$1:$B$8,0)),"","X")


HOPE THIS HELPS :)
 
Substitute your last row in $B$8 for your last row....
 
Another alternative, if you want to search all of Column B without limiting your range of searchable cells in column B is this...

In cell c1 enter this equation and fill down:
=IF(ISERROR(VLOOKUP(A1,B:B,1,FALSE)),"","X")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top