Values in a list

dave8

Active Member
Joined
Jul 8, 2007
Messages
275
I have some values in a column, 30, 50, 80, 10, and so forth and they are not necessarily in consecutive order. Is there a way to search this column for particular values? In other words, I want to search this column to see if values 200, 90, and/or 50 exist in this column. Is there a way to do this? If I am going to use a vLookup, how to do this? Is there a lookup routine to search the column if it contains these values?

Your help is greatly appreciated. Thank you.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
You could use =match

So if the values are in col B, and you have a "Value to find" in A1 and this formula in A2
=MATCH(A1,B:B,0)
 
Last edited:
Upvote 0
I'm not sure I understand the Match function. How is this different from using a vLookup?

I want to seach the column, in this case column 'B', for any values containing, say, '200', '99' or '5', for example.

So, =MATCH(A1, B:B, 0) ? I have a list of values in Column B1..B10. I want to be able to search the values in Column B to see if any contain '200', '99' or '5'. What is in A1??
 
Upvote 0
A1 is where you can type in the value you want to match... if it find a value it give you the row it appears on.

If you don't want to be able to change it, and always look for say 20 then its =match(20,B:B,0)
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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