Check if cell values is in one range

loopoo

New Member
Joined
Nov 10, 2005
Messages
43
Hello!

I want to know if it's possible to direct check if the value from a cell can be found in the cell of a range, or do I have to compare the value with all the values from the cell in the range???


Thanks in advance,
Chris
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
There are numerous ways this could be done. See Excel Help "lookup functions"

Here is one which looks for value in cell A1 in range B1:B15 :-
=IF(ISERROR(VLOOKUP(A1,$B$1:$B$15,1,FALSE)),"Not found","Found")
 
Upvote 0
Here is another one:
=IF(ISNUMBER(MATCH(A1,$B$1:$B$15,0)),"Found","Not found")
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

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