Forum Discussion

Greg_M's avatar
Greg_M
Copper Contributor
Aug 05, 2025
Solved

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...
  • Patrick2788's avatar
    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
    )

     

Resources