Index Match Match from a named table to a range

szita2000

Board Regular
Joined
Apr 25, 2012
Messages
101
Office Version
  1. 365
Platform
  1. Windows
Hi Lads.

New year new challenge.

TLDR: Converted range to a named table and all Index Match Match formulas stopped working from the new table

Back story: I need to make queries to numerous excel file in a folder, where we did put some tables (Not formatted as tables) but the same structure in case we will need to query them later.
Offcourse our end users messed up the tables so I have to resort to put named tables in to a sheet in the back somewhere that is very hidden and I am planning to pull the fresh "linked" tables with my query.
(Those will be the same structure throughout)
So I went in created the data, pulled in all rows, columns I wanted with good old fashioned INDEX MATCH MATCH and when I converted the range to a table all of my values bring back a N/A error.
Since the Named Table is now a structured data.
So I went ahead and changed my old INDEX MATCH MATCH lookup values so it points to the column names, but I am unable to lock the lookup values to column or row as you would with your Match formulas in an Index Match Match.
What is the syntax to lock the [@[Measures (ENG)]] column in this formula?
And the [@[03/07/2023]] to the first row (That's where my headers are in freshly converted named table)


So my formula in E2 is this:
=INDEX('RTT Scorecard'!$H$4:$BS$51, MATCH([@[Measures (ENG)]], 'RTT Scorecard'!$D$4:$D$51, 0), MATCH([@[03/07/2023]], 'RTT Scorecard'!$H$1:$BS$1, 0))

If I drag it to F2 it drags the lookup value in the first match to the column header next to it:
=INDEX('RTT Scorecard'!$H$4:$BS$51, MATCH([@[03/07/2023]], 'RTT Scorecard'!$D$4:$D$51, 0), MATCH([@[10/07/2023]], 'RTT Scorecard'!$H$1:$BS$1, 0))

How is it working when we want to make lookups from Named Tables? Am I missing something new and fancy that does this?

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Don't use the mouse to Drag it. Either user copy paste or highlight both column and use Ctrl+R (right fill)
Just make sure you do the whole column inside the table or the formula won't become part of the table properties and won't fill down.
 
Upvote 0

Forum statistics

Threads
1,224,974
Messages
6,182,106
Members
453,088
Latest member
Chaoxite

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