Referring to names within Tables in index/match formula

AnnaPoj

New Member
Joined
Nov 18, 2018
Messages
2
Hi all

my first time here with a question I'm hoping you can help with.

I'm using index/match to pull data from Tables ... I'm comfortable with index/match .. it's the naming of the tables that I'm struggling with, and utilising those in formulae (I'm new to Tables)

This formula is working ... A37 contains a Header in the Table CCU, and concatenated with the Table Name of CCU it seems to work. B42 is the Part Number



=INDEX(INDIRECT("CCU["&A37&"]"),MATCH($B$42,CCU[Part],0))



What I'm trying to do is not code in CCU, but rather refer to another cell (A36) which has this CCU text in it. I've tried various combinations of Indirect, "" and & to no avail

Hope this question is clear, any help greatly appreciated.

AnnaPoj
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hello,

Have you tested following :

Code:
=INDEX(INDIRECT(A36&"["&A37&"]"),MATCH($B$42,Indirect(A36&"[Part]"),0))

Hope this will help
 
Upvote 0
Try...

Code:
=INDEX(INDIRECT(A36&"["&A37&"]"),MATCH($B$42,INDIRECT(A36&"[Part]"),0))

Hope this helps!
 
Upvote 0
Thanks so much team, I'd tried something similar but had obviously forgotten a couple of ""

Work perfectly, much appreciated

A
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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