If Value X exists, say yes or no

oliviar

Board Regular
Joined
Sep 12, 2010
Messages
184
Hi guys,
I need to create a method of going down column b, and looking at the value in column A, and seeing if it exists in a table I have on another sheet. If Value A exists, then I want ColB to say yes or no.

It seems like it should be so simple, but its killing me!

:eek:
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
what column is the table on the second sheet in
 
Upvote 0
Code:
=IF(ISNA(MATCH(A1,$F$1:$F$100,0)),"No","Yes")
fill down

you will need to change the F1:F100 reference to your new sheet
 
Upvote 0
Thank you Diddi,
You da man!
I was trying so many combinations of match, find, index, vlookup... i was just in circles...
:ROFLMAO:
 
Upvote 0
Code:
=IF(ISNA(MATCH(A1,$F$1:$F$100,0)),"No","Yes")
fill down

you will need to change the F1:F100 reference to your new sheet

Bumping an old post because this worked for me.

I edited the result to <bold> =IF(ISNA(MATCH(E2,E:E,0)),"Not Found","Value found on row " & MATCH(E2,E:E,0)) </bold>to match my range

I then added traditional CF (I'm using Excel 2003) to E:E column with FormulaIs =E3=E4 and chose a light yellow for the cell colour; which highlights any duplicates of the above rows.


Many thanks, your gift keeps on giving...
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,042
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top