Search code examples
excelexcel-formula

Excel - Return value based in two conditions


I need to get the cross values beetween 2 columns: EXCEL

i only can with auxiliary column, is possible to get in one cell formula?

Thks in advance


Solution

  • The INDEX-function is just about tailor-made for this. Your horizontal array seem to be an index already, and if that holds for the actual data you can simply use this one.

    enter image description here

    However if the horizontal array is not a sequence of 1, 2, 3 and so then use MATCH for both arrays, like this:

    enter image description here

    I didn't use "$" in the example for better readability, but you want to apply that for the formula to function to work when you copy it downwards.