LOOKUP not working

shaw600

New Member
Joined
Dec 2, 2016
Messages
9
Hi,

I have a LOOKUP function on one sheet, it's aim is to look for a previous reference and then display the new reference from a database on a different sheet. However, it displays the wrong value for most of them. See the pictures below.

Database:
Capture2.png


Formula:
Capture1.png


Example (it should be BUILD-16):
Capture3.png


I have tried using a VLOOKUP instead but that yielded similar results.

Please help.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

AliGW

Banned
Joined
Mar 9, 2014
Messages
3,628
I don't see any 14 December entry in the top screenshot, so it's hard to judge. You need to make it clear what outcome you are expecting and why.
 
Upvote 0

arthurbr

Well-known Member
Joined
Dec 8, 2006
Messages
2,596
Office Version
  1. 365
  2. 2010
From MS:
The values in lookup_vector must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise, LOOKUP might not return the correct value. Uppercase and lowercase text are equivalent.

Try
=VLOOKUP(B8,CHOOSE({1,2},'Job Database'!E:E,'Job Database'!A:A),2,0)
 
Upvote 0

Forum statistics

Threads
1,195,743
Messages
6,011,395
Members
441,612
Latest member
npasha1

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