FIND

Duritz

Board Regular
Joined
Apr 28, 2005
Messages
226
Not sure if FIND is the right way to do this, but say I have a list of of things not sorted into order (and won't be sorted), like so -

A B
3 A
1 G
7 D
5 E
9 P
6 L
5 W


In cell C1 is a variable, and I want D1 to FIND that variable in the list in column A, and return the value corresponding in Column B.... but the list in A can't be sorted and won't be in order.... any ideas?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
A VLOOKUP will do exactly what you're looking for.

= VLOOKUP(what you want to find, where you want to find it, column to return, FALSE)

The FALSE on the end makes the vlookup keep searching until it finds EXACTLY what you're looking for, regardless of the order of the list. If it doesn't find anything it will return an error (#N/A).

Just be sure that 'what you want to find' is in the first column of the range you put in as 'where you want to find it'.
 
Upvote 0
Good thanks cmhoz.... I guess if I didn't just use "lookup" all the time I'd know that....
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,304
Members
448,886
Latest member
GBCTeacher

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