look up doest not work

hellosajjad

Board Regular
Joined
Jun 19, 2007
Messages
83
I want to search "DC200807 00333 02" from list in Column "B" and then tell me figure in same row of Column F. what formula ca i use, lookup and match does not work becouse "DC200807 00333 02" this contain text & number both.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

WinteE

Well-known Member
Joined
Apr 8, 2007
Messages
605
What do you mean with "... this contain text & number both", is it a combination of contents of different cells ?
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
I want to search "DC200807 00333 02" from list in Column "B" and then tell me figure in same row of Column F. what formula ca i use, lookup and match does not work becouse "DC200807 00333 02" this contain text & number both.

X2: DC200807 00333 02

If columns B and F are sorted in ascending order on B...

=IF(LOOKUP(X2,$B$2:$B$1000)=X2,LOOKUP(X2,$B$2:$B$1000,$F$2:$F$1000),"Not Found")

Otherwise:

=INDEX($F$2:$F$1000,MATCH(X2,$B$2:$B$1000,0))

Adjust the ranges to suit.
 

Forum statistics

Threads
1,181,648
Messages
5,931,213
Members
436,784
Latest member
amuljono

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
Top