lookup function Doesn't work well

coxixx

New Member
Joined
Dec 31, 2012
Messages
24
ABcde
11020a5=lookup(e1,B1:C6,d1:d6)
22130b30
33140c31
44150d55
55160e80
66170f70

<tbody>
</tbody>












this lookup function doesn't work well ?does anyone can help?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If E1 is 23 your formula returns b:


Excel 2010
ABCDEF
111020a23b
222130b30
333140c31
444150d55
555160e80
666170f70
Sheet4
Cell Formulas
RangeFormula
F1=LOOKUP(E1,B1:B6,D1:D6)
 
Upvote 0
If E1 is 23 your formula returns b:

Excel 2010
ABCDEF
111020a23b
222130b30
333140c31
444150d55
555160e80
666170f70

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet4

Worksheet Formulas
CellFormula
F1=LOOKUP(E1,B1:B6,D1:D6)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
it doesn't work for 80?
 
Upvote 0
it returns not found for all of them

You need to apply control+shift+enter to the formula at the same time, not just enter.

By the way, if your table is in ascending order in A1:A6, perhaps just:

E1, just enter and copy down:

=LOOKUP(IF(D1 < MIN($A$1:$A$6), MIN($A$1:$A$6), D1), $A$1:$A$6, $C$1:$C$6)
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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