how do I change CONCATENATE result to a formula

Mecha04

New Member
Joined
Apr 15, 2011
Messages
1
This is my first phone so I hope this is clear for you

I created the following result using CONCATENATE;


=vlookup(316692,'[40603.xlsx]extract!$C$2:$H$1000,2,FALSE)

(FYI, the formula works when I enter it as a vlookup formula)

but I want to link to it from a different cell and run it as a formula. Any ideas? Thanks

I used CONCATENATE because the first two numbers in the VLOOKUP will change on each line and I do not want to enter the VLOOKUP everytime.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Instead of concatenating the first two numbers, is it possible to just refer to the cells themselves?

If not, can you post the formula you're using to concatenate? More details might help to better assist you :)
 
Upvote 0
Welcome to the Board!

This is my first phone so I hope this is clear for you
Thanks for leaving a message!

Seriously though, I'm not sure what you mean by creating a vlookup from concatenate - Is the 316692 the result of your concatenation?

If you want the 316692 to be a cell reference instead of a hard value, just refer to that cell:

=VLOOKUP(A1,'[40603.xlsx]extract!$C$2:$H$1000,2,FALSE)

Where A1 holds the concatenated reference.

Note with concatenated references you can also skip the middle man and just go direct:

=VLOOKUP(A1&B1,'[40603.xlsx]extract!$C$2:$H$1000,2,FALSE)

HTH,
 
Last edited:
Upvote 0
By 'First two numbers do you mean'

=vlookup(316692,'[40603.xlsx]extract!$C$2:$H$1000,2,FALSE)

If so something like

=VLOOKUP(A1,INDIRECT("'["&B1&".xlsx]extract'!$C$2:$H$1000"),2,FALSE)

will be what you need.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,544
Members
452,925
Latest member
duyvmex

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