vLookup a Concat of a Concat

robocop1906

Board Regular
Joined
Jan 15, 2003
Messages
143
I get a #Value! error with the below formula. Trying to vlookup a concat of a concat.

=VLOOKUP(CONCATENATE(B:B,AI:AI),CONCATENATE('CIL Forecast'!E:E,'CIL Forecast'!L:L),1,FALSE)
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I get a #Value! error with the below formula. Trying to vlookup a concat of a concat.

=VLOOKUP(CONCATENATE(B:B,AI:AI),CONCATENATE('CIL Forecast'!E:E,'CIL Forecast'!L:L),1,FALSE)


try entering it as an array formula: click into the formula bar as if you're going to edit it, and press ctrl+shift+enter

i think that will solve your problem...
 
Upvote 0
I get a #Value! error with the below formula. Trying to vlookup a concat of a concat.

=VLOOKUP(CONCATENATE(B:B,AI:AI),CONCATENATE('CIL Forecast'!E:E,'CIL Forecast'!L:L),1,FALSE)
CONCATENATE doesn't work on arrays.

You're attempting to concatenate the entire columns and it won't work like that.

Typically, you'd concatenate just 2 cells, 1 from each column like this:

=VLOOKUP(B1&AI1...

Or something like this...

=VLOOKUP(B1&"_"&AI1...

I'm not sure I understand what you're trying to do.

Why are you using VLOOKUP with the column number set to 1?

All that will do is return the lookup value (or an error if it's not found).

Are you just wanting to know if the lookup value can be found?

What version of Excel are you using?
 
Upvote 0
CONCATENATE doesn't work on arrays.

You're attempting to concatenate the entire columns and it won't work like that.

good point, it should be something like this:

=VLOOKUP(CONCATENATE(B1,AI1),CONCATENATE('CIL Forecast'!E:E,'CIL Forecast'!L:L),1,FALSE)
 
Upvote 0
Excel 2007, yes just trying to see if it can be found.

then either one of these should work (using ctrl+shift+enter):

VLOOKUP(CONCATENATE(B1,AI1),CONCATENATE('CIL Forecast'!E:E,'CIL Forecast'!L:L),1,FALSE)

VLOOKUP(B1&AI1,'CIL Forecast'!E:E&'CIL Forecast'!L:L,1,FALSE)

where b1+ai1 is the thing you're trying to find
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,445
Members
452,915
Latest member
hannnahheileen

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