Forum Discussion
Greg_M
Aug 05, 2025Copper Contributor
Multiple Table Lookup From Multiple Criteria
Trying to figure out Multiple Table Lookup From Multiple Criteria. I've attached an image. I'm looking for M8. If the series changed to 'B', then the value would be 23. So I want the lookup to change...
- Aug 05, 2025
I think any way you approach this task there's going to be some legwork done to make the data whole for lookup purposes. I used INDEX with several named items:
=LET( a, XMATCH(Series & " Class " & Class, tables), i, XMATCH(Row, SeriesAClass150[COL.ROW]), j, XMATCH(Column, SeriesAClass150[#Headers]), return, IFNA( INDEX( ( SeriesAClass150, SeriesAClass300, SeriesAClass400, SeriesBClass150, SeriesBClass300, SeriesBClass400 ), i, j, a ), "" ), return )
Patrick2788
Aug 05, 2025Silver Contributor
I think any way you approach this task there's going to be some legwork done to make the data whole for lookup purposes. I used INDEX with several named items:
=LET(
a, XMATCH(Series & " Class " & Class, tables),
i, XMATCH(Row, SeriesAClass150[COL.ROW]),
j, XMATCH(Column, SeriesAClass150[#Headers]),
return, IFNA(
INDEX(
(
SeriesAClass150, SeriesAClass300, SeriesAClass400, SeriesBClass150,
SeriesBClass300,
SeriesBClass400
),
i,
j,
a
),
""
),
return
)
Greg_M
Aug 05, 2025Copper Contributor
Hi Patrick2788,
This is what I was looking for, but I am a little confused on the usage of a, i, j and return in your formula? I've never seen that before. Do they have to be in there?