Check IF value is present in a list

salomar

New Member
Joined
May 9, 2010
Messages
7
Hi,

I need a formula that checks whether a value is present in a list. And if so, it needs to give points for that.

For example, this is the list:
James
Julia
Adam
Michael
John
Miranda

Now in another calculation it shows another set of names. Lessay, in one of them it shows:
Peter. What I want to do is that Excel checks whether Peter is present in this list above. If so, it should give points for that.

I've tried to work with vlookup and with match, but both of them didn't really work. What can I do? If you want I can upload the Excel file I'm working on (it's for the footbal world cup).

Thanks in advance!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Something like this perhaps

Excel Workbook
ABC
1JamesPeter1
2Julia
3Adam
4Michael
5John
6Miranda
7Peter
Sheet2
 
Upvote 0
Thanks! That works. Now to figure out how to put this into a really big formula :).

Thanks for the quick reply too!
 
Upvote 0
Just out of curiosity, what does the ISNUMBER function do here? I haven't used this before, so I'm curious! When I leave it out, it results into #N/A, so I clearly need it, I just don't understand why.

Thanks again!
 
Upvote 0
ISNUMBER checks whether the MATCH returned a number. If it did, then a match was found.
 
Upvote 0

Forum statistics

Threads
1,215,301
Messages
6,124,146
Members
449,144
Latest member
Rayudo125

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