Hi,
I have an INDEX & MATCH problem I'm having trouble solving. The first part works ok, shown below; return a value from B4:B49 where J4 is greater than or equal to C4:C49, J4 is less that or equal to D4:D49, J3 is greater than or equal to E4:E49, J3 is less that or equal to G4:G49.
I'd like to add in another criteria where J3 is closest to F3:F49. It doesn't matter whether it's greater or less than, just that it's the closest.
=INDEX(B4:B49,MATCH(1,(J4>=C4:C49)*(J4<=D4:D49)*(J3>=E4:E49)*(J3<=G4:G49),0))
Can anyone help me which formula to use/add into my existing formula?
I have an INDEX & MATCH problem I'm having trouble solving. The first part works ok, shown below; return a value from B4:B49 where J4 is greater than or equal to C4:C49, J4 is less that or equal to D4:D49, J3 is greater than or equal to E4:E49, J3 is less that or equal to G4:G49.
I'd like to add in another criteria where J3 is closest to F3:F49. It doesn't matter whether it's greater or less than, just that it's the closest.
=INDEX(B4:B49,MATCH(1,(J4>=C4:C49)*(J4<=D4:D49)*(J3>=E4:E49)*(J3<=G4:G49),0))
Can anyone help me which formula to use/add into my existing formula?