I am trying to match the value in B1 to a value in B3:B12 to return a value from column C. Everything is working fine and my match is correctly finding the lowest value in the list that is less than or equal to my entered data.
However, if the data entered is lower than the value in B3, I get #N/A.
My formula is:
Can anyone help? When this is correct, any value in B1 that is less than value B3 should return C3. I could do it with a simple IF but this seems inelegant, and I can’t understand why I need to.
=iferror(INDEX(c3:C12, MATCH(B1, B3:B12, 1)), c3) 'alternate =INDEX(c3:C12, iferror(MATCH(B1, B3:B12, 1), 1))