I have a table of data, and want to retrieve the value specified for a specific row and column header. I've tried to use a nested HLOOKUP and VLOOKUP, but the only examples I've found rely on a helper column that introduce new challenges.
I have a feeling this is possible using INDEX(MATCH), but can't quite seem to work it out.
I have a screenshot of what I'm looking for.
Update: I'm looking for a formula that will work as I had more Beers across the columns (it could be 2, it could be 100). And also needs to work where I would add more rows of ingredients.


XLOOKUP()in O365, lot of queries on this in SO, have you tried searching them ?=INDEX(B2:C4,MATCH(A10,A2:A4,0),MATCH(B9,B1:C1,0))=SUMPRODUCT(B2:C4*(A2:A4=A10)*(B1:C1=B9))would work in both GS and Excel. Both apps have their own unique functions that could make it work. As @BigBen mentioned, choose one and stick with it.