vlookup issue - should be simple ... but....

cuslyguy

New Member
Joined
Aug 10, 2013
Messages
46
I'm missing something here.... Ive done similar things multiple times, but its not working for me today.

=vlookup(B1,$D$1:$P$26,1,FALSE)

that's my formula

and here is an example of my setup:

B D E F G H I J
11/01/2014 1 27 11/01/2014 11/02/2014 11/03/2014 11/04/2014 11/05/2014
12/03/2014 2 28 12/01/2014 12/02/2014 12/03/2014 12/04/2014 12/05/2014

So I am expecting my vlookup to search the array and when it finds a match to the record that I have listed, to return whatever is in the first column of my array.

But all it returns is the standard #N/A ....

Any thoughts? Thanks guys :)
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
VLOOKUP only searches the left most column for your search value, not the entire array. If you're trying to find a match in the D1:P26 array and return the first column, you would need to use INDEX/MATCH.
 
Upvote 0
Hi

VLOOKUP will only look in column D for the value you in B1

It won't look in all the cells in the range

You need to reorganise your data so all the dates are in one column for that to work :)

You're possibly looking at reorganising your data into two columns or using a MATCH / INDEX combination.

HTH
 
Upvote 0
Ha. No replies when I clicked 'reply' - 3 by the time I'd finished... :/

Sorry about that!
 
Upvote 0

Forum statistics

Threads
1,203,203
Messages
6,054,099
Members
444,702
Latest member
patrickmg17

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