Concatenate a VLoopup Table Arra

crburke92

Board Regular
Joined
Feb 5, 2019
Messages
71
Having issues once it comes time to reference another sheet.

So each device I am trying to find (~300 over 15000 rows) has a specific serial number always in column B. These are on Sheet1. Once that cell is found, there is a set table size I am trying to make, 150 rows long, and extent from B to J.

On sheet2, you enter the Serial Number in C3. Cell C4 has the formula =MATCH(C3,Sheet1!A1:A99999,0) to return what will be the start point of my array.

Below I have the formula =VLOOKUP("(H2)",INDIRECT(CONCATENATE("B",C4,":J",(C4+150))),3,)

When I evaluate the formula,
INDIRECT(CONCATENATE("B",C4,":J",(C4+150))) returns exactly what I want

INDIRECT("B2:J152")
$B$2:$J$152

The issue is this range needs to be on Sheet1 so:

=VLOOKUP("(H2)",Sheet1!INDIRECT(CONCATENATE("B",C4,":J",(C4+150))),3,)

I've tried a few different ways of doing this:

=VLOOKUP("(H2)",Sheet1!"INDIRECT(CONCATENATE("B",C4,":J",(C4+150)))",3,)
=VLOOKUP("(H2)",INDIRECT(Sheet1!CONCATENATE("B",C4,":J",(C4+150))),3,)

and so on, but keep getting a "There's a problem with the formula".

I should also note that the initial formula I mentioned returns an #N/A as opposed to a formula error.

Is building a table array like this even possible or am I referencing something incorrectly?

Thanks!
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,888
Messages
6,175,215
Members
452,618
Latest member
Tam84

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