Index match using sheet name in array

MinerExcel

New Member
Joined
Apr 18, 2016
Messages
17
I couldn't find anything that seemed like it could help me.

This is my problem if you choose to accept. I have a workbook of my products inventory. On the Cover sheet I have an array named Products first column is product code and the second is product description.
AAAB
11001/4" Washed Chips
2
101State D
31051" CCR
42003/8" Clean
52051" Clean

<tbody>
</tbody>
I have a sheet for each product with the product code for the tab name.
I am trying to make a formula that I can use on all sheets that will read the tab name, lookup the description from the array.

For example on sheet 105 I would like the cell value to read 105 - 1" CCR. This is the formula I tried however it returned #N/A

=MID(CELL("filename",AG3),FIND("]",CELL("filename",AG3))+1,256)&" - "&VLOOKUP(INDIRECT(MID(CELL("filename",AG3),FIND("]",CELL("filename",AG3))+1,256)),West!AA1:AB78,2,FALSE)

If anyone has any ideas for me it would be greatly appreciated.

Thank you,
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try:
Code:
=MID(CELL("filename",AG3),SEARCH("]",CELL("filename",AG3),1)+1,256)+0&" - "&VLOOKUP(MID(CELL("filename",AG3),SEARCH("]",CELL("filename",AG3),1)+1,256)+0,West!$AA$1:$AB$78,2,0)
 
Upvote 0
Are you kidding me I just needed to make that FALSE a zero.
That Works! That AG3 really doesn't matter does it? It has no value on my sheet.

Thank you
 
Upvote 0
Are you kidding me I just needed to make that FALSE a zero.
That Works! That AG3 really doesn't matter does it? It has no value on my sheet.

Thank you
If you look closely there's a +0 that makes all the difference. You can swap the 0 in the lookup for FALSE, they are equivalent, and yes you can use any cell address on the sheet with the CELL function.
 
Upvote 0

Forum statistics

Threads
1,214,626
Messages
6,120,602
Members
448,974
Latest member
ChristineC

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