Index and Match Variable Assistance

Olivejuicecreative

New Member
Joined
Jan 16, 2014
Messages
1
Using the index and match functionality in Excel, I am trying to append a text string to the front of the index reference.

Currently, I am manually inserting this "variable" in the file name manually. What I would like it to do is in the Table Name referenced below, replace the BK portion of the table name with the value listed in another column in the sheet.

I tried to create this dynamic table name with both "&" as well as a concantenate function but was unable to get it to function properly.

This is the syntax that is working WITHOUT a string being passed:

=INDEX(Table_BK_Solar_3_Pipeline[[#All],[Current Stage]],MATCH($A4,Table_BK_Solar_3_Pipeline[[#All],[LID]],0))

This is the way I would like the table name to be created:

=CONCATENATE("Table_",PMStatusRollup[[#This Row],[PM]],"_Solar_3_Pipeline")
Table_BK_Solar_3_Pipeline

<colgroup><col width="578"></colgroup><tbody>
</tbody>

or
="Table_"&PMStatusRollup[[#This Row],[PM]]&"_Solar_3_Pipeline"
Table_BK_Solar_3_Pipeline

<colgroup><col width="578"></colgroup><tbody>
</tbody>


Any help you can provide, would be greatly appreciated.

Cordially,

Amy Goldstein
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,214,537
Messages
6,120,096
Members
448,944
Latest member
SarahSomethingExcel100

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